<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
The dialplan for the context US might be helpful also<br>
<br>
-Ray<br>
<br>
Mathieu Rene wrote:
<blockquote cite="mid:7E62A325-D0BA-40CF-AF9D-66EA37A67813@avgs.ca"
 type="cite">Please paste the user directory entry.
  <div><br>
  </div>
  <div>Math</div>
  <div><br>
  <div>
  <div>On 14-May-09, at 4:26 PM, vijay tiwari wrote:</div>
  <br class="Apple-interchange-newline">
  <blockquote type="cite"><span class="Apple-style-span"
 style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;">
    <div class="hmmessage"
 style="font-size: 10pt; font-family: Verdana;">hello all<br>
    <br>
i have created a two user one with defualt user_context and other one
with which&nbsp; i created with the name "US". and i am able to make a call
when using defualt user_context. but when i try to call from user which
have user_context="US" the is not working,<br>
    <br>
logs when call is working<br>
    <br>
2009-05-13 20:54:45 [DEBUG] mod_sofia.c:130 sofia_on_routing()<span
 class="Apple-converted-space">&nbsp;</span><a moz-do-not-send="true"
 href="mailto:sofia/US/8989@122.160.83.216">sofia/US/8989@122.160.83.216</a><span
 class="Apple-converted-space">&nbsp;</span>SOFIA ROUTING<br>
2009-05-13 20:54:45 [DEBUG] switch_core_state_machine.c:64
switch_core_standard_on_routing()<span class="Apple-converted-space">&nbsp;</span><a
 moz-do-not-send="true" href="mailto:sofia/US/8989@122.160.83.216">sofia/US/8989@122.160.83.216</a><span
 class="Apple-converted-space">&nbsp;</span>Standard ROUTING<br>
2009-05-13 20:54:45 [INFO] mod_dialplan_xml.c:233 dialplan_hunt()
Processing 8989-&gt;01112127773456 in context default<br>
2009-05-13 20:54:45 [DEBUG] mod_dialplan_xml.c:117 parse_exten() Regex:
[unloop] ${unroll_loops}(true) =~ /^true$/<br>
2009-05-13 20:54:45 [DEBUG] mod_dialplan_xml.c:117 parse_exten() Regex:
[unloop] ${sip_looped_call}() =~ /^true$/<br>
.<br>
.<br>
.<br>
2009-05-13 20:54:45 [DEBUG] mod_dialplan_xml.c:117 parse_exten() Regex:
[XXX] destination_number(01112127773456) =~ /^011(\d+)$/<br>
2009-05-13 20:54:45 [DEBUG] switch_core_state_machine.c:100
switch_core_standard_on_routing() (<a moz-do-not-send="true"
 href="mailto:sofia/US/8989@122.160.83.216">sofia/US/8989@122.160.83.216</a>)
State Change CS_ROUTING -&gt; CS_EXECUTE<br>
    <br>
    <br>
    <br>
logs when call not working<br>
    <br>
2009-05-13 20:22:27 [DEBUG] switch_core_state_machine.c:457
switch_core_session_run() (<a moz-do-not-send="true"
 href="mailto:sofia/US/12345@122.160.83.216">sofia/US/12345@122.160.83.216</a>)
State ROUTING<br>
2009-05-13 20:22:27 [DEBUG] mod_sofia.c:130 sofia_on_routing()<span
 class="Apple-converted-space">&nbsp;</span><a moz-do-not-send="true"
 href="mailto:sofia/US/12345@122.160.83.216">sofia/US/12345@122.160.83.216</a><span
 class="Apple-converted-space">&nbsp;</span>SOFIA ROUTING<br>
2009-05-13 20:22:27 [DEBUG] switch_core_state_machine.c:64
switch_core_standard_on_routing()<span class="Apple-converted-space">&nbsp;</span><a
 moz-do-not-send="true" href="mailto:sofia/US/12345@122.160.83.216">sofia/US/12345@122.160.83.216</a><span
 class="Apple-converted-space">&nbsp;</span>Standard ROUTING<br>
2009-05-13 20:22:27 [INFO] mod_dialplan_xml.c:233 dialplan_hunt()
Processing 12345-&gt;01112127773456 in context US<br>
2009-05-13 20:22:27 [INFO] switch_core_state_machine.c:122
switch_core_standard_on_routing() No Route, Aborting<br>
2009-05-13 20:22:27 [NOTICE] switch_core_state_machine.c:123
switch_core_standard_on_routing() Hangup<span
 class="Apple-converted-space">&nbsp;</span><a moz-do-not-send="true"
 href="mailto:sofia/US/12345@122.160.83.216">sofia/US/12345@122.160.83.216</a><span
 class="Apple-converted-space">&nbsp;</span>[CS_ROUTING]
[NO_ROUTE_DESTINATION]<br>
2009-05-13 20:22:27 [DEBUG] switch_channel.c:1566
switch_channel_perform_hangup() Send signal<span
 class="Apple-converted-space">&nbsp;</span><a moz-do-not-send="true"
 href="mailto:sofia/US/12345@122.160.83.216">sofia/US/12345@122.160.83.216</a><span
 class="Apple-converted-space">&nbsp;</span>[KILL]<br>
2009-05-13 20:22:27 [DEBUG] switch_core_session.c:820
switch_core_session_signal_state_change() Send signal<span
 class="Apple-converted-space">&nbsp;</span><a moz-do-not-send="true"
 href="mailto:sofia/US/12345@122.160.83.216">sofia/US/12345@122.160.83.216</a><span
 class="Apple-converted-space">&nbsp;</span>[BREAK]<br>
2009-05-13 20:22:27 [DEBUG] switch_core_state_machine.c:457
switch_core_session_run() (<a moz-do-not-send="true"
 href="mailto:sofia/US/12345@122.160.83.216">sofia/US/12345@122.160.83.216</a>)
State ROUTING going to sleep<br>
2009-05-13 20:22:27 [DEBUG] switch_core_state_machine.c:383
switch_core_session_run() (<a moz-do-not-send="true"
 href="mailto:sofia/US/12345@122.160.83.216">sofia/US/12345@122.160.83.216</a>)
Running State Change CS_HANGUP<br>
    <br>
    <br>
    <hr>Get easy photo sharing with Windows LiveT Photos.<span
 class="Apple-converted-space">&nbsp;</span><a moz-do-not-send="true"
 href="http://www.microsoft.com/india/windows/windowslive/photos.aspx"
 target="_new">Drag n' drop</a><span class="Apple-converted-space">&nbsp;</span>_______________________________________________<br>
Freeswitch-users mailing list<br>
    <a moz-do-not-send="true"
 href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
    <a moz-do-not-send="true"
 href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
 href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
    <a moz-do-not-send="true" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
    </div>
    </span></blockquote>
  </div>
  <br>
  </div>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Freeswitch-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
  </pre>
</blockquote>
<br>
</body>
</html>