I also have to point out their is no such official variable for "outbound_caller_id_name" or "outbound_caller_id_number", Those are just made up variables I used in the default config. 01_example.com.xml You'll notice I use these lines. <action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/> <action application="set" data="effective_caller_id_name=${outbound_caller_id_name}"/> Its just a way to set the users default outbound caller ID . /b On Feb 13, 2010, at 9:07 AM, Anthony Minessale wrote:
It should be covered on the wiki http://wiki.freeswitch.org
On Feb 12, 2010 6:23 PM, "Joseph Puchalski" <joseph.puchalski@personalcyberspace.com> wrote:
I'm having problems setting different outbound caller id info for different extensions/users.
I've set up a small system with two active users. I set up my users by copying and modifying existing entries from the dialplan files that come with freeSWITCH
Here are my two extensions:
<include>
<user id="5859">
<params>
<param name="password" value="xxxxxx"/>
<param name="vm-password" value="xxxxxx"/>
</params>
<variables>
<variable name="toll_allow" value="domestic,international,local"/>
<variable name="accountcode" value="5859"/>
<variable name="user_context" value="default"/>
<variable name="effective_caller_id_name" value="5859"/>
<variable name="effective_caller_id_number" value="5859"/>
<variable name="outbound_caller_id_name" value="$${outbound_caller_name}"/>
<variable name="outbound_caller_id_number" value="$${outbound_caller_id}"/>
<variable name="callgroup" value="techsupport"/>
</variables>
</user>
</include>
<include>
<user id="5515">
<params>
<param name="password" value="xxxxxxx"/>
<param name="vm-password" value="xxxxxxx"/>
</params>
<variables>
<variable name="toll_allow" value="domestic,international,local"/>
<variable name="accountcode" value="5515"/>
<variable name="user_context" value="default"/>
<variable name="effective_caller_id_name" value="5515"/>
<variable name="effective_caller_id_number" value="5515"/>
<variable name="outbound_caller_id_name" value="Jane Doe"/>
<variable name="outbound_caller_id_number" value="5558395515"/>
<variable name="callgroup" value="techsupport"/>
</variables>
</user>
</include>
These extensions are in files named 5859.xml and 5515.xml respectively.
I'm using a SIP trunk from Vitelity (in and out) with two DIDs corresponding to the extensions above.
Inbound and outbound calling work as needed with one exception: Calls originating from user/extension 5515 go out with the caller ID of extension/user 5859.
Extension 5859 was the first that I created.
Where should I be setting the outbound caller id number for my second extension? I've been trying to track this down in the available documentation but have been unable to do so.
I apologize ahead of time if this is answered somewhere obvious that I've missed.
Thanks for any help.
Joe (FreeSWITCH newbie)
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org