[Asterisk-Users] CallerID

Rich Adamson radamson at routers.com
Sun Nov 20 18:43:57 MST 2005


> The thing is I can not set a static CallerID for all outbound calls.  
> For example "Set(CallerIDnum=2021235395|a)".
> 
> I want to pass the DID numbers which are assign to customers to  
> outbound provider. For example if a customer with DID number  
> (3106548899) makes an outbound call, the callerID has to be same the  
> DID number...So the receive can see its coming from call number  
> 3106548899.
> 
> Thanks for your help... I am running Asterisk 1.0.9

In the customer definitions in sip.conf, include a line like:
 callerid=John Doe <3106548899> 
and in outbound extensions.conf entry, use a callerid variable to pass
the callerid within shared outbound sections of extensions.conf.
See the README.variables text in asterisk/doc directory.

About the only other way that I can think of to accomplish that is to define
each such user in their own sip context, and in extensions.conf use those
contexts to set their appropriate callerid.

The problem really is the end result of trying to use a pbx as a central
office switch, effectively trying to replicate the CO's ANI function.





More information about the asterisk-users mailing list