Subject: [Asterisk-Users] RE: Q: Can I over-ride the value of caller ID

magnus magnus at mcomwifi.net
Sat Jan 29 14:50:57 MST 2005


>On Sat, 29 Jan 2005 12:53:11 -0600
> -----Original Message-----
>From: <asterisk at draughon.org>
>Subject: [Asterisk-Users] RE: Q: Can I over-ride the value of
>	${CALLERIDNAME} ?
>To: <asterisk-users at lists.digium.com>
>Message-ID: <001a01c50633$d9e10a30$6701a8c0 at calhoun>
>Content-Type: text/plain;	charset="us-ascii"
>
>Folks,
>
>	Many thanks to Howard Lowndes who helped solve this problem; I ended
>up using SetCallerID() instead of SetCIDName() as Howard suggested.
Although
>SetCIDName() changed the value correctly, desk set CID displays displayed
>either "unavailable" or "out of area" on incoming calls from my cell phone.
>Here's what I ended up with:
>
>...
>exten => s/3125882300,1,SetCallerID("ROB CELL" <${CALLERIDNUM}>)
>exten => s/3125882300,2,Goto(100,1)
>
>exten => 100,1,Macro(exten_vm,Zap/1)
>...
>
>					Cheers,
>
>					Rob
>

Hello all, further to Rob's message, could I ask does zaptel.conf or
Zapata.conf need anything further (for caller ID) to allow the setting of
caller ID, as my below E1 pri debug shows that Asterisk seems to be
correctly sending the necessary Q931 instructions to the carrier (Colt) to
set the caller ID, yet cell phone still shows call as "Withheld"

Any thoughts? Or is this now an issue that now must be directed to the
carrier? (Note that actual tel number below has had digits blanked for this
post, but prior to blanking digit length correct)
Many thanks for all and any thoughts.
Magnus

pstn*CLI>
    -- Executing SetCallerID("SIP/amarlaptop-01d5", ""Magnus"
<0207------->") in new stack
    -- Executing Dial("SIP/amarlaptop-01d5", "Zap/g1/077--------||r") in new
stack
-- Making new call for cr 32790
> Protocol Discriminator: Q.931 (8)  len=53
> Call Ref: len= 2 (reference 22/0x16) (Originator)
> Message type: SETUP (5)
> [04 03 80 90 a3]
> 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: A-Law (35)
> [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 ]
> [28 06 4d 61 67 6e 75 73]
> Display (len= 6) [ Magnus ]
> [6c 0d 21 80 30 32 30 37 31 38 39 33 37 34 33]
> 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) '0207-------' ]
> [70 0c a1 30 37 37 31 31 35 39 30 33 31 31]
> Called Number (len=14) [ Ext: 1  TON: National Number (2)  NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1) '07711590311' ]
> [a1]LI>
> Sending Complete (len= 1)
    -- Called g1/077--------
< Protocol Discriminator: Q.931 (8)  len=10
< Call Ref: len= 2 (reference 22/0x16) (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)
< Protocol Discriminator: Q.931 (8)  len=5
< Call Ref: len= 2 (reference 22/0x16) (Terminator)
< Message type: ALERTING (1)
    -- Zap/1-1 is ringing




More information about the asterisk-users mailing list