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