[Freeswitch-users] How to set outbound caller id info for multiple users/extensions

Anthony Minessale anthony.minessale at gmail.com
Sat Feb 13 07:07:33 PST 2010


It should be covered on the wiki http://wiki.freeswitch.org

On Feb 12, 2010 6:23 PM, "Joseph Puchalski" <
joseph.puchalski at 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 at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100213/d7e7160a/attachment-0002.html 


More information about the FreeSWITCH-users mailing list