<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="MSHTML 6.00.2745.2800" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>may i be wrong, but I think you have made two major
mistakes:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>1. the FXS ports, where the call shall be
"landed" must be matched via "incoming called-number", not by
"destination-pattern".</FONT></DIV>
<DIV><FONT face=Arial size=2>2. configure the ports as
direct-inward-dial.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>that article shall put more light on your
issue:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><A
href="http://www.cisco.com/warp/public/788/voip/direct_inward_dial.html">http://www.cisco.com/warp/public/788/voip/direct_inward_dial.html</A></FONT></DIV></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=paulo.gms@netc.pt href="mailto:paulo.gms@netc.pt">Paulo Gomes</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=cisco-voip@puck.nether.net
href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, December 29, 2004 10:13
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [cisco-voip] voip/BRI
problem</DIV>
<DIV><BR></DIV>
<P>Hello world</P>
<P>I've a problem on voip with a cisco 2600 router.</P>
<P>I've a PBX extension connected to a BRI S/T port of the router. The
problem is that I can't redirect the call that come from the PBX for any of
the FXS ports. Is any body out there that can help me?!! I would be
gratefull</P>
<P>Tanks</P>
<P>Paulo</P>
<P>HERE IS THE CONFIGURATION OF MY ROUTER:</P>
<P>Building configuration...</P>
<P>Current configuration : 1506 bytes<BR>!<BR>version 12.2<BR>service
timestamps debug uptime<BR>service timestamps log uptime<BR>no service
password-encryption<BR>!<BR>hostname Leiria<BR>!<BR>!<BR>memory-size iomem
10<BR>ip subnet-zero<BR>!<BR>!<BR>!<BR>isdn switch-type basic-net3<BR>call
rsvp-sync<BR>!<BR>!<BR>!<BR>!<BR>!<BR>!<BR>!<BR>!<BR>interface
Ethernet0/0<BR> ip address 10.0.0.250
255.255.255.0<BR> half-duplex<BR>!<BR>interface Serial0/0<BR> no ip
address<BR> shutdown<BR> no fair-queue<BR>!<BR>interface
Ethernet0/1<BR> no ip
address<BR> shutdown<BR> half-duplex<BR>!<BR>interface
Serial0/1<BR> no ip address<BR> shutdown<BR>!<BR>interface
BRI1/0<BR> no ip address<BR> isdn switch-type
basic-net3<BR> isdn caller 37x<BR> isdn incoming-voice
voice<BR> isdn calling-number 376<BR>!<BR>ip classless<BR>ip route
0.0.0.0 0.0.0.0 Ethernet0/0<BR>ip http server<BR>!<BR>!<BR>voice-port
1/0/0<BR> cptone PT<BR>!<BR>voice-port 1/0/1<BR> cptone
PT<BR>!<BR>voice-port 1/1/0<BR> translate called 1<BR> compand-type
a-law<BR> cptone PT<BR>!<BR>dial-peer cor
custom<BR>!<BR>!<BR>!<BR>dial-peer voice 1 pots<BR> destination-pattern
401<BR> port 1/0/0<BR>!<BR>dial-peer voice 2
pots<BR> destination-pattern 402<BR> port 1/0/1<BR>!<BR>dial-peer
voice 102 pots<BR> destination-pattern 377<BR>!<BR>dial-peer voice 50
pots<BR> destination-pattern 3..<BR> no
digit-strip<BR> direct-inward-dial<BR> port
1/1/0<BR> forward-digits all<BR>!<BR>dial-peer voice 10
voip<BR> destination-pattern 5..<BR> session target
ipv4:10.0.0.249<BR>!<BR>dial-peer voice 101 pots<BR> destination-pattern
376<BR> port 1/0/0<BR>!<BR>dial-peer voice 201
voip<BR> destination-pattern 378<BR> session target
ipv4:10.0.0.249<BR>!<BR>dial-peer voice 202 voip<BR> destination-pattern
379<BR> session target ipv4:10.0.0.249<BR>!<BR>!<BR>line con
0<BR> exec-timeout 0 0<BR>line aux 0<BR>line vty 0 4<BR>!<BR>end</P>
<P> </P>
<P>HERE IS THE DEBUG:</P>
<P>6d10h: ISDN Recvd L1 prim 1 dsl 0 state 3 ctrl_state 0<BR>6d10h: ISDN
BR1/0: L1 is IF_ACTIVE<BR>6d10h: ISDN BR1/0 EVENT: isdn_sw_cstate: State = 4,
Old State = 0<BR>6d10h: ISDN BR1/0: Incoming call id = 0x0137, dsl 0<BR>6d10h:
ISDN Recvd L1 prim 6 dsl 0 state 1 ctrl_state 0<BR>6d10h: ISDN BR1/0: Recvd
MPH_EI2_IND from L1<BR>6d10h: ISDN BR1/0: TX -> IDREQ ri=57118
ai=127<BR>6d10h: ISDN BR1/0: RX <- UI c/r=1 sapi=0 tei=127
i=0x08014C0504038090A31801896C048933363570048033373<BR>67D029181A1<BR>6d10h:
SETUP pd = 8 callref =
0x4C<BR>6d10h: Bearer
Capability i =
0x8090A3<BR>6d10h: Channel ID
i = 0x89<BR>6d10h: Calling
Party Number i = 0x89, '365', Plan:Private,
Type:Unknown<BR>6d10h: Called
Party Number i = 0x80, '376', Plan:Unknown,
Type:Unknown<BR>6d10h: High
Layer Compat i =
0x9181<BR>6d10h: Sending
Complete<BR>6d10h: ISDN BR1/0: RX <- IDASSN ri=57118 ai=64<BR>6d10h:
%LINK-3-UPDOWN: Interface BRI1/0, changed state to up<BR>6d10h: CCBRI_Go Fr L3
pkt (Len=29) :<BR>6d10h: 5 1 CC 90 4 3 80 90 A3 18 1 89 6C 4 89 33 36 35 70 4
80 33 37 36 7D 2 91 81 A1<BR>6d10h:<BR>6d10h: ISDN BR1/0: Incoming call id =
0x0138, dsl 0<BR>6d10h: ISDN BR1/0: LIF_EVENT: ces/callid 1/0x138
HOST_INCOMING_CALL<BR>6d10h: ISDN BR1/0: HOST_INCOMING_CALL: (non-POTS)
VOICE<BR>6d10h: ISDN BR1/0: HOST_INCOMING_CALL: (1) call_type =
VOICE<BR>6d10h: ISDN BR1/0: process_disconnect(): call id 0x138, call type is
VOICE, b_idb 0x81D6F08C, ces 1,<BR> cause Call rejected(0x15)<BR>6d10h:
ISDN: get_isdn_service_state(): idb 0x81D6F08C bchan 2 is_isdn 1 Not a
Pri<BR>6d10h: ISDN BR1/0: Rejecting call. isdn screening failed<BR>6d10h:
CCBRI_Go Fr Host InPkgInfo (Len=13) :<BR>6d10h: 5 0 1 1 38 3 8 1 95 8 2 80
95<BR>6d10h:<BR>6d10h: ISDN BR1/0: LIF_EVENT: ces/callid 1/0x138
HOST_DISCONNECT_ACK<BR>6d10h: ISDN: get_isdn_service_state(): idb 0x81D6F08C
bchan 2 is_isdn 1 Not a Pri<BR>6d10h: ISDN BR1/0: HOST_DISCONNECT_ACK: call
type is VOICE<BR>6d10h: ISDN BR1/0: TX -> SABMEp c/r=0 sapi=0
tei=64<BR>6d10h: ISDN BR1/0: RX <- UAf c/r=0 sapi=0 tei=64<BR>6d10h:
%ISDN-6-LAYER2UP: Layer 2 for Interface BR1/0, TEI 64 changed to up<BR>6d10h:
L3: Multi NLCB DL_EST cid 0x138 cr 0xCC ev 0x300 ces 1 dsl 0<BR>6d10h: ISDN
BR1/0: TX -> INFOc sapi=0 tei=64 ns=0 nr=0
i=0x0801CC5A08028095<BR>6d10h: RELEASE_COMP pd =
8 callref =
0xCC<BR>6d10h: Cause i =
0x8095 - Call rejected<BR>6d10h: ISDN BR1/0: RX <- RRr sapi=0 tei=64
nr=1<BR>6d10h: ISDN BR1/0: RX <- IDCKRQ ri=0 ai=127<BR>6d10h: ISDN BR1/0:
TX -> IDCKRP ri=53503 ai=64<BR>6d10h: ISDN BR1/0: RX <- IDCKRQ ri=0
ai=127<BR>6d10h: ISDN BR1/0: TX -> IDCKRP ri=57584 ai=64<BR>6d10h: ISDN
BR1/0: RX <- IDREM ri=0 ai=65<BR>6d10h: ISDN BR1/0: RX <- IDREM ri=0
ai=65<BR>6d10h: ISDN BR1/0: RX <- RRp sapi=0 tei=64 nr=1<BR>6d10h: ISDN
BR1/0: TX -> RRp sapi=0 tei=64 nr=0<BR>6d10h: ISDN BR1/0: TX -> RRf
sapi=0 tei=64 nr=0<BR>6d10h: ISDN BR1/0: RX <- DISCp c/r=1 sapi=0
tei=64<BR>6d10h: %ISDN-6-LAYER2DOWN: Layer 2 for Interface BR1/0, TEI 64
changed to down<BR>6d10h: ISDN BR1/0: TX -> UAf c/r=1 sapi=0
tei=64<BR>6d10h: ISDN Recvd L1 prim 5 dsl 0 state 1 ctrl_state 0<BR>6d10h:
ISDN BR1/0: Recvd MPH_EI1_IND from L1<BR>6d10h: ISDN Recvd L1 prim 3 dsl 0
state 2 ctrl_state 0<BR>6d10h: ISDN BR1/0 EVENT: isdn_sw_cstate: State = 0,
Old State = 4<BR>6d10h: ISDN BR1/0: Physical layer is IF_DOWN<BR>6d10h: ISDN
BR1/0: Shutting down ME<BR>6d10h: ISDN BR1/0: Shutting down ISDN Layer
3<BR>6d10h: %LINK-3-UPDOWN: Interface BRI1/0, changed state to down</P>
<P> </P><FONT face=Arial
size=2><BR><BR>________________________________________________________________________________<BR>Finalmente
uma Caixa de Correio com todos os Extras: 21 MB + Anti-vírus + Filtro
de<BR>mensagens indesejadas + Attachs 7MB + Bloqueador IOL + Conteúdos IOL +
Ícones dinâmicos…<BR><A
href="http://www.iol.pt/correio/rodape.php?dst=0411151">Crie aqui a
sua</A><BR></FONT>
<P>
<HR>
<P></P>_______________________________________________<BR>cisco-voip mailing
list<BR>cisco-voip@puck.nether.net<BR>https://puck.nether.net/mailman/listinfo/cisco-voip<BR></BLOCKQUOTE></BODY></HTML>