[Freeswitch-users] How to set outbound caller id info for multiple users/extensions
Andrew Thompson
andrewkt at aktzero.com
Mon Feb 22 19:10:17 PST 2010
On 2/22/2010 7:24 PM, Joseph Puchalski wrote:
>
> Or should I be doing this via <action application="set"
> data="effective_caller_id_number=${outbound_caller_id_number}"/>
>
> Somewhere else?
>
I have the following set on my own extension, in 1000.xml:
<variable name="effective_caller_id_name" value="Andrew Thompson"/>
<variable name="effective_caller_id_number" value="1000"/>
<variable name="outbound_caller_id_name" value="MyCompany"/>
<variable name="outbound_caller_id_number" value="9109991234"/>
When I dial extensions internally, the effective_* name/number show up.
When I dial outbound via my SIP provider, I set the following before the
bridge so that it passes externally valid info:
<action application="set"
data="effective_caller_id_number=${outbound_caller_id_number}"/>
<action application="set"
data="effective_caller_id_name=${outbound_caller_id_name}"/>
In my setup, if I don't explicitly overide the effective_* with
outbound_*, I actually see 1000 as my callerid when I call my cell from
my extension, so if you're not getting at least that much, something
else might be wrong. (I have used vitelity, and they do pass callerid
properly most of the time.)
--
Andrew Thompson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100222/650f5e1b/attachment-0002.html
More information about the FreeSWITCH-users
mailing list