ePyron Felix Deierlein
2004-May-09 09:47 UTC
[Asterisk-Users] No outbound calls at a PRI possible
Hello all, the scenario: Carrier ----S2M------ * -----S2M------Siemens | | SIP Clients and many other features With much help from the list, the PRI links are without alarms and inbound calls are working fine (from both: Carrier and Siemens). But I am not able to dial wether outbound nor to the Siemens PBX. I allways get the message: == Everyone is busy at this time After hours of googling and reading and trying I seek help... Thank you very much. Felix Deierlein My extension.conf (only important parts): [AtInternal] ;exten => 402,1,Macro(stdexten,402,Zap/g2/402) exten => 402,1,Dial(Zap/g2/595402) [ePInternal] include=>system include=>test include=>AtInternal exten => 812,1,Macro(stdexten,812,${ePFfd}) exten => 814,1,Macro(stdexten,814,${ePFjw}) exten => 854,1,Macro(stdexten,854,${ePFch}) exten => 5950,1,Macro(stdexten,812,${ePFfd}) exten => _0.,1,Dial(Zap/g1/${EXTEN:1},60) [zapata.conf] [channels] language=en context=default switchtype=euroisdn ;pridialplan=national usecallerid=yes hidecallerid=no callwaiting=yes usecallingpres=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes cancallforward=yes callreturn=yes echocancel=yes echocancelwhenbridged=yes rxgain=0.0 txgain=0.0 callgroup=1 pickupgroup=1 immediate=no ;pridialplan=national switchtype = euroisdn signalling = pri_cpe group = 1 channel => 1-15 channel => 17-31 immediate=no switchtype = euroisdn signalling = pri_net group = 2 callgroup=2 pickupgroup=2 channel => 32-46 my zaptel.conf #amt (carrier) span=1,1,0,ccs,hdb3,crc4 bchan=1-15 dchan=16 bchan=17-31 #hicom (siemens) span=2,1,0,ccs,hdb3,crc4 bchan=32-46 dchan=47 bchan=48-62 loadzone=uk defaultzone=uk channel => 48-62 PRI Debugging Infos: Call to Carrier: (Destination was 899312) -- Executing Dial("SIP/ePfd-b455", "Zap/1/899312|60") in new stack -- Making new call for cr 32774> Protocol Discriminator: Q.931 (8) len=40 > Call Ref: len= 2 (reference 6/0x6) (Originator) > Message type: SETUP (5) > Bearer Capability (len= 3) [ Ext: 1 Q.931 Std: 0 Info transfercapability: Speech (0)> Ext: 1 Trans mode/rate: 64kbps, circuit-mode(16)> Ext: 1 User information layer 1: A-Law (35) > Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, ExclusiveDchan: 0> ChanSel: Reserved > Ext: 1 Coding: 0 Number Specified Channel Type:3> Ext: 1 Channel: 1 ] > Display (len= 6) [ 1Felix ] > Calling Number (len= 7) [ Ext: 0 TON: National Number (2) NPI:ISDN/Telephony Numbering Plan (E.164/E.163) (1)> Presentation: Presentation permitted, usernumber not screened (0) '812' ]> Called Number (len= 9) [ Ext: 1 TON: National Number (2) NPI:ISDN/Telephony Numbering Plan (E.164/E.163) (1) '899312' ]> Sending Complete (len= 0)-- Called 1/899312 < Protocol Discriminator: Q.931 (8) len=14 < Call Ref: len= 2 (reference 32774/0x8006) (Terminator) < Message type: STATUS (125) < Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the local user (2) < Ext: 1 Cause: Info. element nonexist or not implemented (99), class = Protocol Error (6) ] < Cause data 0: 14 (20) < Cause data 1: 01 (1) < Call State (len= 1) [ Ext: 0 Coding: CCITT (ITU) standard (0) Call state: Call Initiated (1) -- Processing IE 8 (Cause) -- Processing IE 20 (Call State) < Protocol Discriminator: Q.931 (8) len=10 < Call Ref: len= 2 (reference 32774/0x8006) (Terminator) < Message type: CALL PROCEEDING (2) < Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Exclusive Dchan: 0 < ChanSel: Reserved < Ext: 1 Coding: 0 Number Specified Channel Type: 3 < Ext: 1 Channel: 1 ] -- Processing IE 24 (Channel Identification) < Protocol Discriminator: Q.931 (8) len=13 < Call Ref: len= 2 (reference 32774/0x8006) (Terminator) < Message type: DISCONNECT (69) < Cause (len= 2) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the local user (2) < Ext: 1 Cause: Invalid number format (28), class = Normal Event (1) ] < Progress Indicator (len= 2) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the local user (2) < Ext: 1 Progress Description: Inband information or appropriate pattern now available. (8) ] -- Processing IE 8 (Cause) -- Processing IE 30 (Progress Indicator) -- Channel 1, span 1 got hangup NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect Indication, peerstate Disconnect Request> Protocol Discriminator: Q.931 (8) len=9 > Call Ref: len= 2 (reference 6/0x6) (Originator) > Message type: RELEASE (77) > Cause (len= 2) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location:Private network serving the local user (1)> Ext: 1 Cause: Normal Clearing (16), class = Normal Event(1) ] -- Hungup 'Zap/1-1' == No one is available to answer at this time < Protocol Discriminator: Q.931 (8) len=5 < Call Ref: len= 2 (reference 32774/0x8006) (Terminator) < Message type: RELEASE COMPLETE (90) NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null May 9 19:09:50 WARNING[360466]: pbx.c:1836 ast_pbx_run: Timeout, but no rule 't' in context 'ePInternal' And the same for the Siemens Hicom: -- Executing Dial("SIP/ePfd-36d8", "Zap/g2/595402") in new stack -- Making new call for cr 32770> Protocol Discriminator: Q.931 (8) len=29 > Call Ref: len= 2 (reference 2/0x2) (Originator) > Message type: SETUP (5) > Bearer Capability (len= 3) [ Ext: 1 Q.931 Std: 0 Info transfercapability: Speech (0)> Ext: 1 Trans mode/rate: 64kbps, circuit-mode(16)> Ext: 1 User information layer 1: A-Law (35) > Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, PreferredDchan: 0> ChanSel: Reserved > Ext: 1 Coding: 0 Number Specified Channel Type:3> Ext: 1 Channel: 1 ] > Calling Number (len= 4) [ Ext: 0 TON: Unknown Number Type (0) NPI:Unknown Number Plan (0)> Presentation: Unknown (67) '' ] > Called Number (len= 9) [ Ext: 1 TON: National Number (2) NPI:ISDN/Telephony Numbering Plan (E.164/E.163) (1) '595402' ]> Sending Complete (len= 0)-- Called g2/595402 < Protocol Discriminator: Q.931 (8) len=10 < Call Ref: len= 2 (reference 32770/0x8002) (Terminator) < Message type: CALL PROCEEDING (2) < Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Exclusive Dchan: 0 < ChanSel: Reserved < Ext: 1 Coding: 0 Number Specified Channel Type: 3 < Ext: 1 Channel: 1 ] -- Processing IE 24 (Channel Identification) < Protocol Discriminator: Q.931 (8) len=9 < Call Ref: len= 2 (reference 32770/0x8002) (Terminator) < Message type: DISCONNECT (69) < Cause (len= 2) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the remote user (5) < Ext: 1 Cause: Destination out of order (27), class Normal Event (1) ] -- Processing IE 8 (Cause) -- Channel 1, span 2 got hangup -- Zap/32-1 is circuit-busy NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect Indication, peerstate Disconnect Request> Protocol Discriminator: Q.931 (8) len=9 > Call Ref: len= 2 (reference 2/0x2) (Originator) > Message type: RELEASE (77) > Cause (len= 2) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location:Private network serving the local user (1)> Ext: 1 Cause: Normal Clearing (16), class = Normal Event(1) ] -- Hungup 'Zap/32-1' == Everyone is busy at this time < Protocol Discriminator: Q.931 (8) len=5 < Call Ref: len= 2 (reference 32770/0x8002) (Terminator) < Message type: RELEASE COMPLETE (90) NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null == Everyone is busy at this time No such command '==' (type 'help' for help)
ePyron Felix Deierlein
2004-May-09 12:31 UTC
[Asterisk-Users] No outbound calls at a PRI possible
Hello, i guess the problem ist pridialplan from zapata.conf with pridialplan = local it works :-). But I still get the error messages:> Calling Number (len= 4) [ Ext: 0 TON: Unknown Number Type (0) NPI:Unknown Number Plan (0)> Presentation: Unknown (67) '' ] > Called Number (len= 9) [ Ext: 1 TON: Subscriber Number (4) NPI:ISDN/Telephony Numbering Plan (E.164/E.163) (1) '899312' ] What pridialplan should I use with an E1 with Euroisdn from the German Telekom (DTAG or T-Com). Thanks Felix> -----Original Message----- > From: asterisk-users-admin@lists.digium.com > [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of > ePyron Felix Deierlein > Sent: Sunday, May 09, 2004 6:48 PM > To: asterisk-users@lists.digium.com > Subject: [Asterisk-Users] No outbound calls at a PRI possible > > Hello all, > > the scenario: > > Carrier ----S2M------ * -----S2M------Siemens > | > | > SIP Clients > and many other features > > With much help from the list, the PRI links are without > alarms and inbound calls are working fine (from both: Carrier > and Siemens). > > But I am not able to dial wether outbound nor to the Siemens PBX. > I allways get the message: > == Everyone is busy at this time > > > After hours of googling and reading and trying I seek help... > > Thank you very much. > > Felix Deierlein > > > My extension.conf (only important parts): > [AtInternal] > ;exten => 402,1,Macro(stdexten,402,Zap/g2/402) > exten => 402,1,Dial(Zap/g2/595402) > > [ePInternal] > include=>system > include=>test > include=>AtInternal > > exten => 812,1,Macro(stdexten,812,${ePFfd}) > exten => 814,1,Macro(stdexten,814,${ePFjw}) > exten => 854,1,Macro(stdexten,854,${ePFch}) > exten => 5950,1,Macro(stdexten,812,${ePFfd}) > exten => _0.,1,Dial(Zap/g1/${EXTEN:1},60) > > > [zapata.conf] > [channels] > language=en > context=default > switchtype=euroisdn > ;pridialplan=national > usecallerid=yes > hidecallerid=no > callwaiting=yes > usecallingpres=yes > callwaitingcallerid=yes > threewaycalling=yes > transfer=yes > cancallforward=yes > callreturn=yes > echocancel=yes > echocancelwhenbridged=yes > rxgain=0.0 > txgain=0.0 > callgroup=1 > pickupgroup=1 > immediate=no > > ;pridialplan=national > switchtype = euroisdn > signalling = pri_cpe > group = 1 > channel => 1-15 > channel => 17-31 > > > immediate=no > > switchtype = euroisdn > signalling = pri_net > group = 2 > callgroup=2 > pickupgroup=2 > channel => 32-46 > > my zaptel.conf > #amt (carrier) > span=1,1,0,ccs,hdb3,crc4 > bchan=1-15 > dchan=16 > bchan=17-31 > #hicom (siemens) > span=2,1,0,ccs,hdb3,crc4 > bchan=32-46 > dchan=47 > bchan=48-62 > loadzone=uk > defaultzone=uk > channel => 48-62 > > > PRI Debugging Infos: > Call to Carrier: (Destination was 899312) > -- Executing Dial("SIP/ePfd-b455", "Zap/1/899312|60") in new stack > -- Making new call for cr 32774 > > Protocol Discriminator: Q.931 (8) len=40 Call Ref: len= 2 > (reference > > 6/0x6) (Originator) Message type: SETUP (5) Bearer > Capability (len= 3) > > [ Ext: 1 Q.931 Std: 0 Info transfer > capability: Speech (0) > > Ext: 1 Trans mode/rate: 64kbps, > > circuit-mode > (16) > > Ext: 1 User information layer > 1: A-Law > > (35) Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, > > Exclusive > Dchan: 0 > > ChanSel: Reserved > > Ext: 1 Coding: 0 Number Specified > Channel Type: > 3 > > Ext: 1 Channel: 1 ] Display (len= 6) > [ 1Felix ] > > Calling Number (len= 7) [ Ext: 0 TON: National Number (2) NPI: > ISDN/Telephony Numbering Plan (E.164/E.163) (1) > > Presentation: Presentation permitted, user > number not screened (0) '812' ] > > Called Number (len= 9) [ Ext: 1 TON: National Number (2) NPI: > ISDN/Telephony Numbering Plan (E.164/E.163) (1) '899312' ] > > Sending Complete (len= 0) > -- Called 1/899312 > < Protocol Discriminator: Q.931 (8) len=14 < Call Ref: len= > 2 (reference 32774/0x8006) (Terminator) < Message type: STATUS (125) > < Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) > 0: 0 Location: > Public network serving the local user (2) > < Ext: 1 Cause: Info. element nonexist or > not implemented > (99), class = Protocol Error (6) ] > < Cause data 0: 14 (20) > < Cause data 1: 01 (1) > < Call State (len= 1) [ Ext: 0 Coding: CCITT (ITU) standard > (0) Call state: > Call Initiated (1) > -- Processing IE 8 (Cause) > -- Processing IE 20 (Call State) > < Protocol Discriminator: Q.931 (8) len=10 < Call Ref: len= > 2 (reference 32774/0x8006) (Terminator) < Message type: CALL > PROCEEDING (2) < Channel ID (len= 5) [ Ext: 1 IntID: > Implicit, PRI Spare: 0, Exclusive > Dchan: 0 > < ChanSel: Reserved > < Ext: 1 Coding: 0 Number Specified > Channel Type: > 3 > < Ext: 1 Channel: 1 ] > -- Processing IE 24 (Channel Identification) < Protocol > Discriminator: Q.931 (8) len=13 < Call Ref: len= 2 > (reference 32774/0x8006) (Terminator) < Message type: DISCONNECT (69) > < Cause (len= 2) [ Ext: 1 Coding: CCITT (ITU) standard (0) > 0: 0 Location: > Public network serving the local user (2) > < Ext: 1 Cause: Invalid number format (28), > class = Normal > Event (1) ] > < Progress Indicator (len= 2) [ Ext: 1 Coding: CCITT (ITU) > standard (0) 0: > 0 Location: Public network serving the local user (2) > < Ext: 1 Progress Description: Inband > information or appropriate pattern now available. (8) ] > -- Processing IE 8 (Cause) > -- Processing IE 30 (Progress Indicator) > -- Channel 1, span 1 got hangup > NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect > Indication, peerstate Disconnect Request > > Protocol Discriminator: Q.931 (8) len=9 Call Ref: len= 2 > (reference > > 6/0x6) (Originator) Message type: RELEASE (77) > > Cause (len= 2) [ Ext: 1 Coding: CCITT (ITU) standard (0) > 0: 0 Location: > Private network serving the local user (1) > > Ext: 1 Cause: Normal Clearing (16), class > = Normal > > Event > (1) ] > -- Hungup 'Zap/1-1' > == No one is available to answer at this time < Protocol > Discriminator: Q.931 (8) len=5 < Call Ref: len= 2 (reference > 32774/0x8006) (Terminator) < Message type: RELEASE COMPLETE > (90) NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, > peerstate Null NEW_HANGUP DEBUG: Destroying the call, > ourstate Null, peerstate Null May 9 19:09:50 > WARNING[360466]: pbx.c:1836 ast_pbx_run: Timeout, but no rule > 't' in context 'ePInternal' > > > And the same for the Siemens Hicom: > > -- Executing Dial("SIP/ePfd-36d8", "Zap/g2/595402") in new stack > -- Making new call for cr 32770 > > Protocol Discriminator: Q.931 (8) len=29 Call Ref: len= 2 > (reference > > 2/0x2) (Originator) Message type: SETUP (5) Bearer > Capability (len= 3) > > [ Ext: 1 Q.931 Std: 0 Info transfer > capability: Speech (0) > > Ext: 1 Trans mode/rate: 64kbps, > > circuit-mode > (16) > > Ext: 1 User information layer > 1: A-Law > > (35) Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, > > Preferred > Dchan: 0 > > ChanSel: Reserved > > Ext: 1 Coding: 0 Number Specified > Channel Type: > 3 > > Ext: 1 Channel: 1 ] Calling Number > (len= 4) [ > > Ext: 0 TON: Unknown Number Type (0) NPI: > Unknown Number Plan (0) > > Presentation: Unknown (67) '' ] Called > > Number (len= 9) [ Ext: 1 TON: National Number (2) NPI: > ISDN/Telephony Numbering Plan (E.164/E.163) (1) '595402' ] > > Sending Complete (len= 0) > -- Called g2/595402 > < Protocol Discriminator: Q.931 (8) len=10 < Call Ref: len= > 2 (reference 32770/0x8002) (Terminator) < Message type: CALL > PROCEEDING (2) < Channel ID (len= 5) [ Ext: 1 IntID: > Implicit, PRI Spare: 0, Exclusive > Dchan: 0 > < ChanSel: Reserved > < Ext: 1 Coding: 0 Number Specified > Channel Type: > 3 > < Ext: 1 Channel: 1 ] > -- Processing IE 24 (Channel Identification) < Protocol > Discriminator: Q.931 (8) len=9 < Call Ref: len= 2 (reference > 32770/0x8002) (Terminator) < Message type: DISCONNECT (69) > < Cause (len= 2) [ Ext: 1 Coding: CCITT (ITU) standard (0) > 0: 0 Location: > Private network serving the remote user (5) > < Ext: 1 Cause: Destination out of order > (27), class > Normal Event (1) ] > -- Processing IE 8 (Cause) > -- Channel 1, span 2 got hangup > -- Zap/32-1 is circuit-busy > NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect > Indication, peerstate Disconnect Request > > Protocol Discriminator: Q.931 (8) len=9 Call Ref: len= 2 > (reference > > 2/0x2) (Originator) Message type: RELEASE (77) > > Cause (len= 2) [ Ext: 1 Coding: CCITT (ITU) standard (0) > 0: 0 Location: > Private network serving the local user (1) > > Ext: 1 Cause: Normal Clearing (16), class > = Normal > > Event > (1) ] > -- Hungup 'Zap/32-1' > == Everyone is busy at this time > < Protocol Discriminator: Q.931 (8) len=5 < Call Ref: len= 2 > (reference 32770/0x8002) (Terminator) < Message type: RELEASE > COMPLETE (90) NEW_HANGUP DEBUG: Calling q931_hangup, ourstate > Null, peerstate Null NEW_HANGUP DEBUG: Destroying the call, > ourstate Null, peerstate Null > == Everyone is busy at this time > No such command '==' (type 'help' for help) > > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >