you don't really explain the paths of any of the files there.<br><br>is US.xml in conf/dialplan because that is the only place it would get included from.<br><br>look at log/freeswitch.xml.fsxml to see the fully expanded document and look for your US<br>
<br>it belongs in the <dialplan> section not <directory><br><br>The dialplan section comes default with a public and default context to demonstrate how it works.<br><br>You should rephrase things like "it's not working" to "I am not doing it right" until you get the hang of things......<br>
<br><br><br><br><div class="gmail_quote">On Fri, May 15, 2009 at 12:54 AM, vijay tiwari <span dir="ltr"><<a href="mailto:vijay11tiwari@hotmail.com">vijay11tiwari@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<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><!-- <a href="http://wiki.freeswitch.org/wiki/Dialplan_XML" target="_blank">http://wiki.freeswitch.org/wiki/Dialplan_XML</a> --><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>
<font color="#888888">vijay</font><div class="im"><br><br><hr>Get easy photo sharing with Windows LiveT Photos. <a href="http://www.microsoft.com/india/windows/windowslive/photos.aspx" target="_blank">Drag n' drop</a></div>
</div>
<br>_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>