<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
<br>hello Math/Ray<br><br>please find the user directory. and US context diaplan.<br><br><br>[root@xxxx directory]# ls<br>default&nbsp; default.xml&nbsp; US&nbsp; US.xml<br>[root@xxxx directory]# cd US<br>[root@xxxx US]# ls<br>12345.xml&nbsp; 8989.xml<br>[root@xxx US]#vi 12345.xml<br>&lt;include&gt;<br>&nbsp; &lt;user id="12345" mailbox="12345"&gt;<br>&nbsp;&nbsp;&nbsp; &lt;params&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param name="password" value="XXXXXXXXXXX"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param name="vm-password" value="1000"/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/params&gt;<br>&nbsp;&nbsp;&nbsp; &lt;variables&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;variable name="toll_allow" value="domestic,international,local"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;variable name="accountcode" value="12345"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;variable name="user_context" value="US"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;variable name="effective_caller_id_name" value="Extension 12345"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;variable name="effective_caller_id_number" value="12345"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;variable name="outbound_caller_id_name" value="$${outbound_caller_name}"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;variable name="outbound_caller_id_number" value="$${outbound_caller_id}"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;variable name="callgroup" value="techsupport"/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/variables&gt;<br>&nbsp; &lt;/user&gt;<br>&lt;/include&gt;<br>[root@xxx US]#vi 8989.xml<br><br><br>&lt;include&gt;<br>&nbsp; &lt;user id="8989" mailbox="8989"&gt;<br>&nbsp;&nbsp;&nbsp; &lt;params&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param name="password" value="XXXXXXXXXXX"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param name="vm-password" value="1000"/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/params&gt;<br>&nbsp;&nbsp;&nbsp; &lt;variables&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;variable name="toll_allow" value="domestic,international,local"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;variable name="accountcode" value="8989"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;variable name="user_context" value="default"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;variable name="effective_caller_id_name" value="Extension 8989"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;variable name="effective_caller_id_number" value="8989"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;variable name="outbound_caller_id_name" value="$${outbound_caller_name}"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;variable name="outbound_caller_id_number" value="$${outbound_caller_id}"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;variable name="callgroup" value="techsupport"/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/variables&gt;<br>&nbsp; &lt;/user&gt;<br>&lt;/include&gt;<br><br><br><br>US context dailplan<br><br><br><br>&lt;?xml version="1.0" encoding="utf-8"?&gt;<br>&lt;!-- http://wiki.freeswitch.org/wiki/Dialplan_XML --&gt;<br>&lt;include&gt;<br>&nbsp; &lt;context name="US"&gt;<br>&nbsp;&lt;extension name="cordia"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition field="destination_number" expression="^(911|411|611|711)$" break="never"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="bridge" data="sofia/gateway/cordia/$1"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/condition&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition field="destination_number" expression="^([2-9][0-9]{2}[2-9][0-9]{6})$" break="never"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="bridge" data="sofia/gateway/cordia/1$1"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/condition&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition field="destination_number" expression="^(1[2-9][0-9]{2}[2-9][0-9]{6})$" break="never"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="bridge" data="sofia/gateway/cordia/$1"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/condition&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition field="destination_number" expression="^011(\d+)$"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="bridge" data="sofia/gateway/cordia/$1"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/condition&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/extension&gt;<br>&nbsp; &lt;/context&gt;<br>&lt;/include&gt;<br><br><br>thanks<br>vijay<br><br /><hr />Get easy photo sharing with Windows LiveT Photos. <a href='http://www.microsoft.com/india/windows/windowslive/photos.aspx' target='_new'>Drag n' drop</a></body>
</html>