[Asterisk-Users] PRI Dialing failure?

mfarver at ticom.com mfarver at ticom.com
Sun Nov 28 13:42:56 MST 2004


This looks like a config issue, "class of service barred" but getting
config information out of verizon is nearly impossible.  I compared what
the Mitel is sending to asterisk (since the mitel does work with the PRI)
with what asterisk is sending and do not see any large differences.

debugging spam 3 asterisk to verizon:
--snip--
Enabled debugging on span 3
    -- Executing Dial("Zap/38-1", "Zap/g2/15123455476") in new stack
-- Making new call for cr 32770
> Protocol Discriminator: Q.931 (8)  len=33
> Call Ref: len= 2 (reference 2/0x2) (Originator)
> Message type: SETUP (5)
> [04 03 80 90 a2]
> Bearer Capability (len= 5) [ 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: u-Law (34)
> [18 03 a9 83 81]
> 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 ]
> [6c 02 00 c3]
> Calling Number (len= 4) [ Ext: 0  TON: Unknown Number Type (0)  NPI:
Unknown Number Plan (0)
>                           Presentation: Number not available (67) '' ]
> [70 0c a1 31 35 31 32 33 34 35 35 34 37 36]
> Called Number (len=14) [ Ext: 1  TON: National Number (2)  NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1) '15123455476' ]
    -- Accepting call from '' to '15123455476' on channel 0/14, span 2
Nov 28 17:04:29 DEBUG[2287]: chan_zap.c:1221 zt_enable_ec: No
echocancellation requested
    -- Called g2/15123455476
< Protocol Discriminator: Q.931 (8)  len=9
< Call Ref: len= 2 (reference 32770/0x8002) (Terminator)
< Message type: RELEASE COMPLETE (90)
< [08 02 82 b6]
< Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0  
Location: Public network serving the local user (2)
<                  Ext: 1  Cause: Incoming call barred (54), class =
Service or Option not Available (3) ]
-- Processing IE 8 (cs0, Cause)
    -- Channel 0/1, span 3 got hangup
Nov 28 17:04:29 DEBUG[2293]: chan_zap.c:2465 zt_setoption: Set option
AUDIO MODE, value: ON(1) on Zap/49-1
Nov 28 17:04:29 DEBUG[2293]: chan_zap.c:1975 zt_hangup: Hangup: channel:
49 index = 0, normal = 43, callwait = -1, thirdcall = -1
Nov 28 17:04:29 DEBUG[2293]: chan_zap.c:2103 zt_hangup: Already hungup... 
Calling hangup once, and clearing call
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null
NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null
Nov 28 17:04:29 DEBUG[2293]: chan_zap.c:2377 zt_setoption: Set option TDD
MODE, value: OFF(0) on Zap/49-1
Nov 28 17:04:29 DEBUG[2293]: chan_zap.c:1193 update_conf: Updated
conferencing on 49, with 0 conference users
Nov 28 17:04:29 DEBUG[2293]: chan_zap.c:2459 zt_setoption: Set option
AUDIO MODE, value: OFF(0) on Zap/49-1
    -- Hungup 'Zap/49-1'
  == No one is available to answer at this time
Nov 28 17:04:29 DEBUG[2293]: app_dial.c:1029 dial_exec: Exiting with
DIALSTATUS=NOANSWER.
    -- Executing Congestion("Zap/38-1", "") in new stack

---------


debugging span 2, mitel to asterisk
---------------


Enabled debugging on span 2
< Protocol Discriminator: Q.931 (8)  len=29
< Call Ref: len= 2 (reference 7795/0x1E73) (Originator)
< Message type: SETUP (5)
< [04 03 80 90 a2]
< Bearer Capability (len= 5) [ 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: u-Law (34)
< [18 03 a9 83 8e]
< 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: 14 ]
< [70 0c a1 31 35 31 32 33 34 35 35 34 37 36]
< Called Number (len=14) [ Ext: 1  TON: National Number (2)  NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1) '15123455476' ]
-- Making new call for cr 7795
-- Processing Q.931 Call Setup
-- Processing IE 4 (cs0, Bearer Capability)
-- Processing IE 24 (cs0, Channel Identification)
-- Processing IE 112 (cs0, Called Party Number)
> Protocol Discriminator: Q.931 (8)  len=10
> Call Ref: len= 2 (reference 40563/0x9E73) (Terminator)
> Message type: CALL PROCEEDING (2)
> [18 03 a9 83 8e]
> 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: 14 ]
    -- Executing Dial("Zap/38-1", "Zap/g2/15123455476") in new stack
    -- Accepting call from '' to '15123455476' on channel 0/14, span 2
Nov 28 17:07:42 DEBUG[2309]: chan_zap.c:1221 zt_enable_ec: No
echocancellation requested
    -- Called g2/15123455476
> Protocol Discriminator: Q.931 (8)  len=9
> Call Ref: len= 2 (reference 40563/0x9E73) (Terminator)
> Message type: PROGRESS (3)
> [1e 02 81 88]
> Progress Indicator (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)
0: 0   Location: Private network serving the local user (1)
>                               Ext: 1  Progress Description: Inband
information or appropriate pattern now
available. (8) ]
    -- Channel 0/1, span 3 got hangup
Nov 28 17:07:42 WARNING[2315]: app_dial.c:399 wait_for_answer: Unable to
forward voice
Nov 28 17:07:42 DEBUG[2315]: chan_zap.c:2465 zt_setoption: Set option
AUDIO MODE, value: ON(1) on Zap/49-1
Nov 28 17:07:42 DEBUG[2315]: chan_zap.c:1975 zt_hangup: Hangup: channel:
49 index = 0, normal = 43, callwait = -1, thirdcall = -1
Nov 28 17:07:42 DEBUG[2315]: chan_zap.c:2103 zt_hangup: Already hungup... 
Calling hangup once, and clearing call
Nov 28 17:07:42 DEBUG[2315]: chan_zap.c:2377 zt_setoption: Set option TDD
MODE, value: OFF(0) on Zap/49-1
Nov 28 17:07:42 DEBUG[2315]: chan_zap.c:1193 update_conf: Updated
conferencing on 49, with 0 conference users
Nov 28 17:07:42 DEBUG[2315]: chan_zap.c:2459 zt_setoption: Set option
AUDIO MODE, value: OFF(0) on Zap/49-1
    -- Hungup 'Zap/49-1'
  == No one is available to answer at this time
Nov 28 17:07:42 DEBUG[2315]: app_dial.c:1029 dial_exec: Exiting with
DIALSTATUS=NOANSWER.
    -- Executing Congestion("Zap/38-1", "") in new stack



> mfarver at ticom.com wrote:
>
>>*Smack*, you're right, changing the g3 to g2 help nicely.
>>But now the PRI seems to be refusing the call (Channel 0/1 got hangup):
>>
>>--snip--
>>   -- Executing Answer("Zap/38-1", "") in new stack
>>    -- Accepting call from '' to '15123455476' on channel 0/14, span 2
>>Nov 28 16:08:14 DEBUG[1894]: chan_zap.c:1221 zt_enable_ec: No
>>echocancellation requested
>>    -- Executing Dial("Zap/38-1", "Zap/g2/15123455476") in new stack
>>    -- Called g2/15123455476
>>    -- Channel 0/1, span 3 got hangup
>>
>>
>
> Try turning PRI debug on and looking at that... post back if you still
> can't figure it out.
>
> Nick
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at 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
>





More information about the asterisk-users mailing list