[asterisk-users] No Caller ID Name PRI NI2

C F shmaltz at gmail.com
Thu Mar 1 19:11:56 MST 2007


What do you mean by outbound CallerID Name? So that when calling a
POTS with CallerID service from telco the Name should show up as you
send it?
If the answer to the above is yes, then stop trying to do that. It
won't work, as the name that the POTS subscriber sees is NOT the one
you send, but what the provider of that POTS line sees when the do the
lookup on the name that is listed (usualy) with the number received as
callerid.

On 2/28/07, foucaulom at infofortin.com <foucaulom at infofortin.com> wrote:
> I there,
>
> I have some trouble to do working caller id name for outgoing calls on
> the PRI we just installed. Caller id name work on incoming calls only.
> Caller id number work on incoming and outgoing calls.
>
>
> The provider, Goup Telecom, said that's in what i'm sending. They said
> that I send the cid name in ascii code and to do it working, I need to
> send it in hex.
>
> So I take some traces but i'm unable to figure where is the problem.
>
> What I see In case that work: incoming call:
> < [1c 1c 9f 8b 01 00 a1 16 02 01 01 02 01 00 80 0e 49 4e 46 4f 46 4f 52
> 54 49 4e 20 46 41 58]
> < Facility (len=30, codeset=0) [ 0x9F, 0x8B, 0x01, 0x00, 0xA1, 0x16,
> 0x02, 0x01, 0x01, 0x02, 0x01, 0x00, 0x80, 0x0E, 'INFOFORTIN FAX' ]
> PROTOCOL 1F
>
> What I see in case that doesn't work: outgoing call:
> > [28 05 b1 69 6e 66 6f]
> > Display (len= 5) Charset: 31 [ info ]........
>
>
> completes traces:
>
> working:
> < [ 02 01 da d6 08 02 02 34 05 04 03 80 90 a2 18 03 a9 83 81 1c 1c 9f
> 8b 01 00 a1 16 02 01 01 02 01 00 80 0e 49 4e 46 4f 46 4f 52 54 49 4e 20
> 46 41 58 1e 02 82 83 6c 0c 21 83 38 31 39 37 38 30 31 32 37 33 70 0b a1
> 38 31 39 33 34 30 30 39 37 37 ]
> < Informational frame:
> < SAPI: 00  C/R: 1 EA: 0
> <  TEI: 000        EA: 1
> < N(S): 109   0: 0
> < N(R): 107   P: 0
> < 76 bytes of data
> -- ACKing all packets from 106 to (but not including) 107
> -- Since there was nothing left, stopping T200 counter
> -- Stopping T203 counter since we got an ACK
> -- Nothing left, starting T203 counter
> < Protocol Discriminator: Q.931 (8)  len=76
> < Call Ref: len= 2 (reference 564/0x234) (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 ]
> < [1c 1c 9f 8b 01 00 a1 16 02 01 01 02 01 00 80 0e 49 4e 46 4f 46 4f 52
> 54 49 4e 20 46 41 58]
> < Facility (len=30, codeset=0) [ 0x9F, 0x8B, 0x01, 0x00, 0xA1, 0x16,
> 0x02, 0x01, 0x01, 0x02, 0x01, 0x00, 0x80, 0x0E, 'INFOFORTIN FAX' ]
> PROTOCOL 1F
> 8B 0001 00 (CONTEXT SPECIFIC [11])
> A1 0016 (CONTEXT SPECIFIC [1])
>   02 0001 01 (INTEGER: 1)
>   02 0001 00 (INTEGER: 0)
>   80 000E 49 4E 46 4F 46 4F 52 54 49 4E 20 46 41 58 (CONTEXT SPECIFIC [0])
> < [1e 02 82 83]
> < 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: Calling
> equipment is non-ISDN. (3) ]
> < [6c 0c 21 83 38 31 39 37 38 30 31 32 37 33]
> < Calling Number (len=14) [ Ext: 0  TON: National Number (2)  NPI:
> ISDN/Telephony Numbering Plan (E.164/E.163) (1)
> <                           Presentation: Presentation allowed of
> network provided number (3)  '8197801273' ]
> < [70 0b a1 38 31 39 33 34 30 30 39 37 37]
> < Called Number (len=13) [ Ext: 1  TON: National Number (2)  NPI:
> ISDN/Telephony Numbering Plan (E.164/E.163) (1)  '8193400977' ]
> -- Making new call for cr 564
> -- Processing Q.931 Call Setup
> -- Processing IE 4 (cs0, Bearer Capability)
> -- Processing IE 24 (cs0, Channel Identification)
> -- Processing IE 28 (cs0, Facility)
> Q.932 Interpretation component is not handled
> Handle Q.932 ROSE Invoke component
>   [ Handling operation 0 ]
>   Handle Name display operation
>     Received caller name 'INFOFORTIN FAX'
> -- Processing IE 30 (cs0, Progress Indicator)
> -- Processing IE 108 (cs0, Calling Party Number)
> -- Processing IE 112 (cs0, Called Party Number)
> q931.c:3294 q931_receive: call 564 on channel 1 enters state 6 (Call Present)
> Sending Receiver Ready (110)
> > [ 02 01 01 dc ]
> > Supervisory frame:
> > SAPI: 00  C/R: 1 EA: 0
> >  TEI: 000        EA: 1
> > Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
> > N(R): 110 P/F: 0
> > 0 bytes of data
> -- Restarting T203 counter
> -- Restarting T203 counter
> q931.c:2570 q931_call_proceeding: call 564 on channel 1 enters state 9
> (Incoming Call Proceeding)
> > [ 00 01 d6 dc 08 02 82 34 02 18 03 a9 83 81 ]
> > Informational frame:
> > SAPI: 00  C/R: 0 EA: 0
> >  TEI: 000        EA: 1
> > N(S): 107   0: 0
> > N(R): 110   P: 0
> > 10 bytes of data
> -- Restarting T203 counter
> Stopping T_203 timer
> Starting T_200 timer
> > Protocol Discriminator: Q.931 (8)  len=10
> > Call Ref: len= 2 (reference 564/0x234) (Terminator)
> > Message type: CALL PROCEEDING (2)
> > [18 03 a9 83 81]
>
>
>
> don't working:
>
> -- Restarting T203 counter
> Stopping T_203 timer
> Starting T_200 timer
> > Protocol Discriminator: Q.931 (8)  len=54
> > Call Ref: len= 2 (reference 13/0xD) (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 69 6e 66 6f]
> > Display (len= 5) Charset: 31 [ info ]
> > [6c 0d 21 80 31 38 31 39 33 34 30 33 31 32 38]
> > Calling Number (len=15) [ Ext: 0  TON: National Number (2)  NPI:
> > ISDN/Telephony Numbering Plan (E.164/E.163) (1)
> >                           Presentation: Presentation permitted, user
> > number not screened (0)  '18193403128' ]
> > [70 0b a1 38 31 39 35 37 33 30 39 31 33]
> > Called Number (len=13) [ Ext: 1  TON: National Number (2)  NPI:
> > ISDN/Telephony Numbering Plan (E.164/E.163) (1)  '8195730913' ]
> q931.c:2879 q931_setup: call 32781 on channel 1 enters state 1 (Call
> Initiated)
>
>
> Anyone had suggestion/comment welcome.
>
> Thank you ad advance,
>
> Loic
>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>


More information about the asterisk-users mailing list