On 6/8/07, Kyle Sexton <ks@mocker.org> wrote:>
> Having a problem w/ not getting CID name from a PRI. CID Name appears in
> the PRI debug, but even after a Wait(4) it still appears after the phone is
> ringing. Here is the relevant info from my PRI debug output. Line 4 is a
> NoOp showing me trying to echo Name and Number. Line 6 dials the
> extension, and you can see callerid name get presented on line 29. Again,
> there is a Wait(4) before the NoOp on line 3.
>
> 1 -- Processing IE 30 (cs0, Progress Indicator)
> 2 -- Processing IE 108 (cs0, Calling Party Number)
> 3 -- Processing IE 112 (cs0, Called Party Number)
> 4 -- Executing NoOp("Zap/1-1", "Name: Num:
9515551212") in new
> stack
> 5 -- Executing Macro("Zap/1-1",
"stdexten|6448|SIP/6448") in new
> stack
> 6 -- Executing Dial("Zap/1-1", "SIP/6448|20")
in new stack
> 7 -- Called 6448
> 8 -- SIP/6448-08945b40 is ringing
> 9 > Protocol Discriminator: Q.931 (8) len=10
> 10 > Call Ref: len= 2 (reference 195/0xC3) (Terminator)
> 11 > Message type: CALL PROCEEDING (2)
> 12 > [18 03 a9 83 81]
> 13 > Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0,
> Exclusive Dchan: 0
> 14 > ChanSel: Reserved
> 15 > Ext: 1 Coding: 0 Number Specified
> Channel Type: 3
> 16 > Ext: 1 Channel: 1 ]
> 17 Extension Changed 6448 new state Ringing for Notify User 7799
> 18 Extension Changed 6448 new state Ringing for Notify User 6452
> 19 > Protocol Discriminator: Q.931 (8) len=9
> 20 > Call Ref: len= 2 (reference 195/0xC3) (Terminator)
> 21 > Message type: ALERTING (1)
> 22 > [1e 02 81 88]
> 23 > Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU)
> standard (0) 0: 0 Location: Private network serving the local user (1)
> 24 > Ext: 1 Progress Description:
> Inband information or appropriate pattern now available. (8) ]
> 25 < Protocol Discriminator: Q.931 (8) len=36
> 26 < Call Ref: len= 2 (reference 195/0xC3) (Originator)
> 27 < Message type: FACILITY (98)
> 28 < [1c 1d 9f 8b 01 00 a1 17 02 01 01 02 01 00 80 0f 4c 45 57 4f
4e
> 2c 52 59 41 4e 20 20 20 20 20]
> 29 < Facility (len=31, codeset=0) [ 0x9f, 0x8b, 0x01, 0x00, 0xa1,
> 0x17, 0x02, 0x01, 0x01, 0x02, 0x01, 0x00, 0x80, 0x0f, 'LASTNAME',
0x2c,
> 'FIRSTNAME', 0x20, 0x20, 0x20, 0x20, 0x20 ]
> 30 -- Processing IE 28 (cs0, Facility)
> 31 Handle Q.932 ROSE Invoke component
> 32 < Protocol Discriminator: Q.931 (8) len=9
> 33 < Call Ref: len= 2 (reference 195/0xC3) (Originator)
> 34 < Message type: DISCONNECT (69)
>
> --
> Kyle Sexton
Solved it, I had the diaplan going straight to Dial(), put an Answer() in
and CallerID Name now works.
--
Kyle Sexton
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20070608/67838861/attachment.htm