<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 default.xml US US.xml<br>[root@xxxx directory]# cd US<br>[root@xxxx US]# ls<br>12345.xml 8989.xml<br>[root@xxx US]#vi 12345.xml<br><include><br> <user id="12345" mailbox="12345"><br> <params><br> <param name="password" value="XXXXXXXXXXX"/><br> <param name="vm-password" value="1000"/><br> </params><br> <variables><br> <variable name="toll_allow" value="domestic,international,local"/><br> <variable name="accountcode" value="12345"/><br> <variable name="user_context" value="US"/><br> <variable name="effective_caller_id_name" value="Extension 12345"/><br> <variable name="effective_caller_id_number" value="12345"/><br> <variable name="outbound_caller_id_name" value="$${outbound_caller_name}"/><br> <variable name="outbound_caller_id_number" value="$${outbound_caller_id}"/><br> <variable name="callgroup" value="techsupport"/><br> </variables><br> </user><br></include><br>[root@xxx US]#vi 8989.xml<br><br><br><include><br> <user id="8989" mailbox="8989"><br> <params><br> <param name="password" value="XXXXXXXXXXX"/><br> <param name="vm-password" value="1000"/><br> </params><br> <variables><br> <variable name="toll_allow" value="domestic,international,local"/><br> <variable name="accountcode" value="8989"/><br> <variable name="user_context" value="default"/><br> <variable name="effective_caller_id_name" value="Extension 8989"/><br> <variable name="effective_caller_id_number" value="8989"/><br> <variable name="outbound_caller_id_name" value="$${outbound_caller_name}"/><br> <variable name="outbound_caller_id_number" value="$${outbound_caller_id}"/><br> <variable name="callgroup" value="techsupport"/><br> </variables><br> </user><br></include><br><br><br><br>US context dailplan<br><br><br><br><?xml version="1.0" encoding="utf-8"?><br><!-- http://wiki.freeswitch.org/wiki/Dialplan_XML --><br><include><br> <context name="US"><br> <extension name="cordia"><br> <condition field="destination_number" expression="^(911|411|611|711)$" break="never"><br> <action application="bridge" data="sofia/gateway/cordia/$1"/><br> </condition><br> <condition field="destination_number" expression="^([2-9][0-9]{2}[2-9][0-9]{6})$" break="never"><br> <action application="bridge" data="sofia/gateway/cordia/1$1"/><br> </condition><br> <condition field="destination_number" expression="^(1[2-9][0-9]{2}[2-9][0-9]{6})$" break="never"><br> <action application="bridge" data="sofia/gateway/cordia/$1"/><br> </condition><br> <condition field="destination_number" expression="^011(\d+)$"><br> <action application="bridge" data="sofia/gateway/cordia/$1"/><br> </condition><br> </extension><br> </context><br></include><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>