courchea@net-forces.com
2006-Nov-21  13:39 UTC
[asterisk-users] Call to disconnected number on PRI just rings
Hi,
  Running Asterisk 1.2.12.1 when dialing a known disconnected number the calls
just rings and rings. We never get the "The number you are trying to
reach...".
If we dial the same number from an Asterisk 1.0.11 server again over PRI, we get
the message on the 1st ring.
  Here is the PRI debug of such a call that just rings and rings. Any ideas?
PRI debug sur CPL:
    -- Executing Dial("IAX2/3000-3",
"ZAP/g0/19056463061|120|r") in new stack
-- Making new call for cr 33827
    -- Requested transfer capability: 0x00 - SPEECH> Protocol Discriminator: Q.931 (8)  len=54
> Call Ref: len= 2 (reference 1059/0x423) (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 ]
> [1e 02 80 83]
> Progress Indicator (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0
Location: User (0)>                               Ext: 1  Progress Description: Calling
equipment
is non-ISDN. (3) ]> [28 05 b1 61 6c 6c 6f]
> Display (len= 5) Charset: 31 [ allo ]
> [6c 0c 21 81 34 35 30 37 36 31 39 39 37 33]
> Calling Number (len=14) [ Ext: 0  TON: National Number (2)  NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1)>                           Presentation: Presentation permitted, user number
passed network screening (1) '4507619973' ]> [70 0c a1 31 39 30 35 36 34 36 33 30 36 31]
> Called Number (len=14) [ Ext: 1  TON: National Number (2)  NPI:
ISDN/Telephony
Numbering Plan (E.164/E.163) (1) '19056463061' ]
    -- Called g0/19056463061
< Protocol Discriminator: Q.931 (8)  len=10
< Call Ref: len= 2 (reference 1059/0x423) (Terminator)
< Message type: CALL PROCEEDING (2)
< [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 ]
-- Processing IE 24 (cs0, Channel Identification)
    -- Zap/1-1 is proceeding passing it to IAX2/3000-3
< Protocol Discriminator: Q.931 (8)  len=13
< Call Ref: len= 2 (reference 1059/0x423) (Terminator)
< Message type: PROGRESS (3)
< [08 02 83 81]
< Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0   Location:
Transit network (3)
<                  Ext: 1  Cause: Unallocated (unassigned) number (1), class
Normal Event (0) ]
< [1e 02 82 88]
< Progress Indicator (len= 4) [ 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 (cs0, Cause)
-- Processing IE 30 (cs0, Progress Indicator)
    -- PROGRESS with cause code 1 received
    -- Zap/1-1 is making progress passing it to IAX2/3000-3
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Outgoing call  Proceeding,
peerstate Incoming Call Proceeding> Protocol Discriminator: Q.931 (8)  len=9
> Call Ref: len= 2 (reference 1059/0x423) (Originator)
> Message type: DISCONNECT (69)
> [08 02 81 90]
> Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0   Location:
Private network serving the local user (1)>                  Ext: 1  Cause: Unknown (16), class = Normal Event (1) ]
    -- Hungup 'Zap/1-1'
  == Spawn extension (macro-dialout-trunk, s, 16) exited non-zero on
'IAX2/3000-3' in macro 'dialout-trunk'
  == Spawn extension (macro-dialout-trunk, s, 16) exited non-zero on
'IAX2/3000-3'
    -- Hungup 'IAX2/3000-3'
< Protocol Discriminator: Q.931 (8)  len=5
< Call Ref: len= 2 (reference 1059/0x423) (Terminator)
< Message type: RELEASE (77)
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Release
Request> Protocol Discriminator: Q.931 (8)  len=9
> Call Ref: len= 2 (reference 1059/0x423) (Originator)
> Message type: RELEASE COMPLETE (90)
> [08 02 81 90]
> Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0   Location:
Private network serving the local user (1)>                  Ext: 1  Cause: Unknown (16), class = Normal Event (1) ]
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null
NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null
Kevin Bockman
2006-Nov-22  14:11 UTC
[asterisk-users] Call to disconnected number on PRI just rings
courchea@net-forces.com wrote:> Hi, > > Running Asterisk 1.2.12.1 when dialing a known disconnected number the calls > just rings and rings. We never get the "The number you are trying to reach...". > If we dial the same number from an Asterisk 1.0.11 server again over PRI, we get > the message on the 1st ring. > > Here is the PRI debug of such a call that just rings and rings. Any ideas? > > PRI debug sur CPL: > -- Executing Dial("IAX2/3000-3", "ZAP/g0/19056463061|120|r") in new stackYou probably already got a response. I think the lists and myself are both a little behind. Take off the r option to Dial. Kevin