AFAIK, you can use database lookups to fetch the "internal" caller id
and "external" caller id depending on the channel that is placing the
call. Then, simply set the corresponding caller id before placing the
call. Alternatively, which is what I currently do, since I don't use
account codes, I set the accountcode parameter in my sip peer
definitions to the external caller id I want to show, and then I
force the caller id to the ${CDR(accountcode)} variable before
placing external calls.
I don't know if there are any other more efficient methods.
- Waldo
On Apr 6, 2006, at 3:02 AM, Miles Scruggs wrote:
how do you set two types of caller id one for internal calling and
one for external? Basically everyone calling out from asterisk
from one context I want to assign a single callerid. On all other
contexts I want to assign a caller ID specific to each line for all
calls going out to asterisk.
Finally for all calls that remain behind the asterisk box (ext to
ext) the Caller ID is set to the specific extension of the caller.
Thanks
Miles
_______________________________________________
--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
_______________________________________________
--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