[asterisk-users] BRI: Asterisk disconnecting on 'call diverted' message?

Benoit Panizzon benoit.panizzon at imp.ch
Wed Sep 20 02:44:35 MST 2006


Hi All

I'm tracing a strange BRI Q.931 Problem with Asterisk 1.2.4.

I call a number which is diverted to another number.
Asterisk seams to take this divertification message as a hangup message:

BRI Trace:

    -- Executing Dial("IAX2/magma-1", "Zap/g7/0418103734|90") in new stack
2 -- Making new call for cr 134
    -- Requested transfer capability: 0x00 - SPEECH
2 > Protocol Discriminator: Q.931 (8)  len=38
2 > Call Ref: len= 1 (reference 6/0x6) (Originator)
2 > Message type: SETUP (5)
2 > [2 042  032  802  902  a32 ]
2 > Bearer Capability (len= 5) [ Ext: 1  Q.931 Std: 0  Info transfer 
capability: Speech (0)
2 >                              Ext: 1  Trans mode/rate: 64kbps, circuit-mode 
(16)
2 >                              Ext: 1  User information layer 1: A-Law (35)
2 > [2 182  012  812 ]
2 > Channel ID (len= 3) [ Ext: 1  IntID: Implicit, Other Spare: 0, Preferred 
Dchan: 0
2 >                        ChanSel: B1 channel
2                          ]
2 > [2 6c2  0c2  412  812  302  362  312  382  312  312  352  372  312  312 ]
2 > Calling Number (len=14) [ Ext: 0  TON: Subscriber Number (4)  NPI: 
ISDN/Telephony Numbering Plan (E.164/E.163) (1)
2 >                           Presentation: Presentation permitted, user 
number passed network screening (1) '06181157**' ]
2 > [2 702  0a2  a12  342  312  382  312  302  332  372  332  342 ]
2 > Called Number (len=12) [ Ext: 1  TON: National Number (2)  NPI: 
ISDN/Telephony Numbering Plan (E.164/E.163) (1) '418103734' ]
    -- Called g7/0418103734
2 < Protocol Discriminator: Q.931 (8)  len=7
2 < Call Ref: len= 1 (reference 134/0x86) (Terminator)
2 < Message type: SETUP ACKNOWLEDGE (13)
2 < [2 182  012  892 ]
2 < Channel ID (len= 3) [ Ext: 1  IntID: Implicit, Other Spare: 0, Exclusive 
Dchan: 0
2 <                        ChanSel: B1 channel
2                          ]
2 -- Processing IE 24 (cs0, Channel Identification)
2 < Protocol Discriminator: Q.931 (8)  len=7
2 < Call Ref: len= 1 (reference 134/0x86) (Terminator)
2 < Message type: CALL PROCEEDING (2)
2 < [2 272  012  fb2 ]
2 < Notification indicator (len= 3): Ext: 1  Call is diverting (123)

Why is the number being diverted to not advertized? On the SS7 Trunk the 
number is presented and I see that presentation is allowed.

2 -- Processing IE 39 (cs0, Notification Indicator)
    -- Zap/4-1 is proceeding passing it to IAX2/magma-1
2 < Protocol Discriminator: Q.931 (8)  len=57
2 < Call Ref: len= 1 (reference 134/0x86) (Terminator)
2 < Message type: DISCONNECT (69)

Why this disconnect? If I connect a ISDN Phone directly to the BRI I don't get 
disconnected but get the message from the telco that the destination is 
unreachable at the moment. Why is this audio not passed to the caller?

2 < [2 082  022  8a2  9b2 ]
2 < Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0   Location: 
Network beyond the interworking point (10)
2 <                  Ext: 1  Cause: Unknown (27), class = Normal Event (1) ]
2 < [2 1c2  1d2  912  a12  1a2  022  022  722  b92  022  012  232  302  112  
302  0f2  a12  0d2  812  032  462  522  2e2  a22  062  812  012  002  822  
012  012 ]
2 < Facility (len=31, codeset=0) [ 2 0x91, 0xa1, 0x1a, 0x02, 0x02, 'r', 0xb9, 
0x02, 0x01, 0x23, '0', 0x11, '0', 0x0f, 0xa1, 0x0d, 0x81, 0x03, 'FR', 0x2e, 
0xa2, 0x06, 0x81, 0x01, 0x00, 0x82, 0x01, 0x012  ]
2 < [2 1e2  022  8a2  882 ]
2 < Progress Indicator (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 
0   Location: Network beyond the interworking point (10)
2 <                               Ext: 1  Progress Description: Inband 
information or appropriate pattern now available. (8) ]
2 < [2 1e2  022  8a2  822 ]
2 < Progress Indicator (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 
0   Location: Network beyond the interworking point (10)
2 <                               Ext: 1  Progress Description: Called 
equipment is non-ISDN. (2) ]
2 < [2 282  082  462  522  2e2  202  302  2e2  302  302 ]
2 < Display (len= 8) [ FR. 0.00 ]
2 -- Processing IE 8 (cs0, Cause)
2 -- Processing IE 28 (cs0, Facility)
2 Handle Q.932 ROSE Invoke component
2 -- Processing IE 30 (cs0, Progress Indicator)
2 -- Processing IE 30 (cs0, Progress Indicator)
2 -- Processing IE 40 (cs0, Display)
    -- Channel 0/1, span 2 got hangup request
    -- Zap/4-1 is circuit-busy
2 NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect Indication, 
peerstate Disconnect Request
2 > Protocol Discriminator: Q.931 (8)  len=8
2 > Call Ref: len= 1 (reference 6/0x6) (Originator)
2 > Message type: RELEASE (77)
2 > [2 082  022  812  9b2 ]
2 > Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0   Location: 
Private network serving the local user (1)
2 >                  Ext: 1  Cause: Unknown (27), class = Normal Event (1) ]
    -- Hungup 'Zap/4-1'


Mit freundlichen Grüssen

Benoit Panizzon
-- 
I m p r o W a r e   A G    -    System Services
______________________________________________________

Zurlindenstrasse 29             Tel  +41 61 826 93 00
CH-4133 Pratteln                Fax  +41 61 826 93 01
Schweiz                         Web  http://www.imp.ch
______________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 185 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20060920/33b931a3/attachment.pgp


More information about the asterisk-users mailing list