<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal>I'm having problems setting different outbound caller id
info for different extensions/users.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>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<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Here are my two extensions:<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><include><o:p></o:p></p>
<p class=MsoNormal> <user id="5859"><o:p></o:p></p>
<p class=MsoNormal> <params><o:p></o:p></p>
<p class=MsoNormal> <param
name="password" value="xxxxxx"/><o:p></o:p></p>
<p class=MsoNormal> <param
name="vm-password" value="xxxxxx"/><o:p></o:p></p>
<p class=MsoNormal> </params><o:p></o:p></p>
<p class=MsoNormal> <variables><o:p></o:p></p>
<p class=MsoNormal> <variable
name="toll_allow" value="domestic,international,local"/><o:p></o:p></p>
<p class=MsoNormal> <variable
name="accountcode" value="5859"/><o:p></o:p></p>
<p class=MsoNormal> <variable
name="user_context" value="default"/><o:p></o:p></p>
<p class=MsoNormal> <variable
name="effective_caller_id_name" value="5859"/><o:p></o:p></p>
<p class=MsoNormal> <variable
name="effective_caller_id_number" value="5859"/><o:p></o:p></p>
<p class=MsoNormal> <variable
name="outbound_caller_id_name"
value="$${outbound_caller_name}"/><o:p></o:p></p>
<p class=MsoNormal> <variable
name="outbound_caller_id_number"
value="$${outbound_caller_id}"/><o:p></o:p></p>
<p class=MsoNormal> <variable
name="callgroup" value="techsupport"/><o:p></o:p></p>
<p class=MsoNormal> </variables><o:p></o:p></p>
<p class=MsoNormal> </user><o:p></o:p></p>
<p class=MsoNormal></include><o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><include><o:p></o:p></p>
<p class=MsoNormal> <user id="5515"><o:p></o:p></p>
<p class=MsoNormal> <params><o:p></o:p></p>
<p class=MsoNormal> <param
name="password" value="xxxxxxx"/><o:p></o:p></p>
<p class=MsoNormal> <param
name="vm-password" value="xxxxxxx"/><o:p></o:p></p>
<p class=MsoNormal> </params><o:p></o:p></p>
<p class=MsoNormal> <variables><o:p></o:p></p>
<p class=MsoNormal> <variable
name="toll_allow" value="domestic,international,local"/><o:p></o:p></p>
<p class=MsoNormal> <variable
name="accountcode" value="5515"/><o:p></o:p></p>
<p class=MsoNormal> <variable
name="user_context" value="default"/><o:p></o:p></p>
<p class=MsoNormal> <variable
name="effective_caller_id_name" value="5515"/><o:p></o:p></p>
<p class=MsoNormal> <variable
name="effective_caller_id_number" value="5515"/><o:p></o:p></p>
<p class=MsoNormal> <variable name="outbound_caller_id_name"
value="Jane Doe"/><o:p></o:p></p>
<p class=MsoNormal> <variable
name="outbound_caller_id_number" value="5558395515"/><o:p></o:p></p>
<p class=MsoNormal> <variable
name="callgroup" value="techsupport"/><o:p></o:p></p>
<p class=MsoNormal> </variables><o:p></o:p></p>
<p class=MsoNormal> </user><o:p></o:p></p>
<p class=MsoNormal></include><o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>These extensions are in files named 5859.xml and 5515.xml
respectively.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>I'm using a SIP trunk from Vitelity (in and out) with two
DIDs corresponding to the extensions above. <o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>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.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Extension 5859 was the first that I created. <o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>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.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>I apologize ahead of time if this is answered somewhere
obvious that I've missed. <o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Thanks for any help. <o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Joe (FreeSWITCH newbie)<o:p></o:p></p>
</div>
</body>
</html>