[Asterisk-Users] CallerID

Eric "ManxPower" Wieling eric at fnords.org
Sun Nov 20 16:27:34 MST 2005


JP Carballo wrote:
> Nitesh Divecha wrote:
> 
>> Hello All,
>>
>> My Asterisk is configured like a Soft Switch, I have many incoming  
>> and outgoing traffic to different providers.
>>
>> How can I forward CallerID to my providers. My providers are  
>> complaining big time as the CallerID is set to Zero...
>>
>> Please help!!!
>>
>> Thanks,
>> Neal
> 
> In your provider's outgoing context, add the following before calling out:
> 
> exten => _X.,1,Set(CALLERID(number)=${CALLERIDNUM})
> exten => _X.,n,Set(CALLERID(name)=${CALLERNAME})
> 

Why would he want to do that?  It's pointless.  It won't work.  If the 
provider is not getting Caller*ID then no amount of the above lines will 
fix it.

You want to set the callerid using callerid=Robert Dobbs <666> in the 
sip.conf, zaptel.conf, iax.conf, or whereever the calling device is 
configured.  You'll notice the lack of quotes.  That's deliberate.



More information about the asterisk-users mailing list