[Asterisk-Users] PRI to PRI not passing callerid

Mark Farver mfarver at ticom.com
Wed Feb 8 10:17:11 MST 2006


Andres wrote:

> You can enable debug on the PBX spans and see if the caller id is 
> being sent in the SETUP message.
>
Ok.. debug output below.. I did a little more digging and the problem is 
the system is not passing calling name, only calling number.

(The x's below are my doing, the correct number did appear. I don't 
think asterisk prints the name information in the accepting call line.)

Mark

    -- Accepting call from '512xxxxxxx' to '6429' on channel 0/1, span 4
Feb  8 12:10:46 DEBUG[180236]: chan_zap.c:1224 zt_enable_ec: No 
echocancellation requested
    -- Executing Macro("Zap/73-1", "dial-pbx1|6429") in new stack
    -- Executing Dial("Zap/73-1", "Zap/r3/6429") in new stack
-- Making new call for cr 32776
 > Protocol Discriminator: Q.931 (8)  len=40
 > Call Ref: len= 2 (reference 8/0x8) (Originator)
Feb  8 12:10:46 DEBUG[180236]: chan_zap.c:1224 zt_enable_ec: No 
echocancellation requested
 > 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 a1 83 87]
 > 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: 7 ]
 > [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) ]
 > [6c 0c 21 81 35 31 32 33 34 35 35 34 37 36]
 > 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) '5123455476' ]
 > [70 05 a1 36 34 32 39]
 > Called Number (len= 7) [ Ext: 1  TON: National Number (2)  NPI: 
ISDN/Telephony Numbering Plan (E.164/E.163) (1) '6429' ]
    -- Called r3/6429
< Protocol Discriminator: Q.931 (8)  len=10
< Call Ref: len= 2 (reference 32776/0x8008) (Terminator)
< Message type: CALL PROCEEDING (2)
< [18 03 a9 83 87]
< 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: 7 ]
-- Processing IE 24 (cs0, Channel Identification)
< Protocol Discriminator: Q.931 (8)  len=5
< Call Ref: len= 2 (reference 32776/0x8008) (Terminator)
< Message type: ALERTING (1)
Feb  8 12:10:46 DEBUG[163851]: chan_zap.c:1224 zt_enable_ec: No 
echocancellation requested
    -- Zap/55-1 is ringing
    -- Channel 0/1, span 4 got hangup
Feb  8 12:10:49 DEBUG[524303]: chan_zap.c:2468 zt_setoption: Set option 
AUDIO MODE, value: ON(1) on Zap/55-1
Feb  8 12:10:49 DEBUG[524303]: chan_zap.c:1978 zt_hangup: Hangup: 
channel: 55 index = 0, normal = 37, callwait = -1, thirdcall = -1
Feb  8 12:10:49 DEBUG[524303]: chan_zap.c:2114 zt_hangup: Not yet 
hungup...  Calling hangup once with icause, and clearing call
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Call Delivered, 
peerstate Call Received
 > Protocol Discriminator: Q.931 (8)  len=9
 > Call Ref: len= 2 (reference 8/0x8) (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: Normal Clearing (16), class = Normal 
Event (1) ]
Feb  8 12:10:49 DEBUG[524303]: chan_zap.c:2380 zt_setoption: Set option 
TDD MODE, value: OFF(0) on Zap/55-1
Feb  8 12:10:49 DEBUG[524303]: chan_zap.c:1196 update_conf: Updated 
conferencing on 55, with 0 conference users
Feb  8 12:10:49 DEBUG[524303]: chan_zap.c:2462 zt_setoption: Set option 
AUDIO MODE, value: OFF(0) on Zap/55-1
    -- Hungup 'Zap/55-1'
Feb  8 12:10:49 DEBUG[524303]: app_dial.c:1028 dial_exec: Exiting with 
DIALSTATUS=CANCEL.
  == Spawn extension (macro-dial-pbx1, s, 1) exited non-zero on 
'Zap/73-1' in macro 'dial-pbx1'
  == Spawn extension (external, 6429, 1) exited non-zero on 'Zap/73-1'
Feb  8 12:10:49 DEBUG[524303]: chan_zap.c:2468 zt_setoption: Set option 
AUDIO MODE, value: ON(1) on Zap/73-1
Feb  8 12:10:49 DEBUG[524303]: chan_zap.c:1978 zt_hangup: Hangup: 
channel: 73 index = 0, normal = 54, callwait = -1, thirdcall = -1
Feb  8 12:10:49 DEBUG[524303]: chan_zap.c:2114 zt_hangup: Not yet 
hungup...  Calling hangup once with icause, and clearing call
Feb  8 12:10:49 DEBUG[524303]: chan_zap.c:2380 zt_setoption: Set option 
TDD MODE, value: OFF(0) on Zap/73-1
Feb  8 12:10:49 DEBUG[524303]: chan_zap.c:1196 update_conf: Updated 
conferencing on 73, with 0 conference users
Feb  8 12:10:49 DEBUG[524303]: chan_zap.c:2462 zt_setoption: Set option 
AUDIO MODE, value: OFF(0) on Zap/73-1
    -- Hungup 'Zap/73-1'
< Protocol Discriminator: Q.931 (8)  len=5
< Call Ref: len= 2 (reference 32776/0x8008) (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 8/0x8) (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: Normal Clearing (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


>>
>>
>
>




More information about the asterisk-users mailing list