<div dir="ltr"><div><div><div><div><div><div>Hello,<br><br></div>I have a weird issue with freeswitch (Version 1.4.8 git 1fe89f5 2014-08-21 18:57:58Z 64bit) sometimes.<br></div><div>It also happens to me on Freeswitch 1.2.<br></div>It ignores the extension&#39;s user_context, defined like so:<br>&lt;variable name=&quot;user_context&quot; value=&quot;testing&quot; /&gt;<br><br>&lt;include&gt;<br>  &lt;user id=&quot;3002&quot;&gt;<br>    &lt;params&gt;<br>      &lt;param name=&quot;password&quot; value=&quot;******&quot; /&gt;<br>    &lt;/params&gt;<br>    &lt;variables&gt;<br>      &lt;variable name=&quot;accountcode&quot; value=&quot;3002&quot; /&gt;<br>      &lt;!-- &lt;variable name=&quot;user_context&quot; value=&quot;bridging_capture&quot; /&gt; --&gt;<br>      &lt;variable name=&quot;user_context&quot; value=&quot;testing&quot; /&gt;<br>      &lt;variable name=&quot;effective_caller_id_name&quot; value=&quot;Desktop machine&quot; /&gt;<br>      &lt;variable name=&quot;effective_caller_id_number&quot; value=&quot;3002&quot; /&gt;<br>    &lt;/variables&gt;<br>  &lt;/user&gt;<br>&lt;/include&gt;<br><br></div>When I do list_users, i can see it:<br>3002|testing|XXX.XXX.XXX.XXX|default|error/user_not_registered||Desktop machine|3002<br><br></div><div>(and when it is registered I can see it registered)<br></div><div><br></div>And when the user is registered I see it also:<br>2014-09-08 18:05:25.397965 [DEBUG] sofia_reg.c:3013 event_add_header -&gt; &#39;record_stereo&#39; = &#39;true&#39;<br>2014-09-08 18:05:25.397965 [DEBUG] sofia_reg.c:3013 event_add_header -&gt; &#39;default_gateway&#39; = &#39;<a href="http://example.com">example.com</a>&#39;<br>2014-09-08 18:05:25.397965 [DEBUG] sofia_reg.c:3013 event_add_header -&gt; &#39;default_areacode&#39; = &#39;918&#39;<br>2014-09-08 18:05:25.397965 [DEBUG] sofia_reg.c:3013 event_add_header -&gt; &#39;transfer_fallback_extension&#39; = &#39;operator&#39;<br>2014-09-08 18:05:25.397965 [DEBUG] sofia_reg.c:3013 event_add_header -&gt; &#39;accountcode&#39; = &#39;3002&#39;<br>2014-09-08 18:05:25.397965 [DEBUG] sofia_reg.c:3013 event_add_header -&gt; &#39;user_context&#39; = &#39;testing&#39;<br>2014-09-08 18:05:25.397965 [DEBUG] sofia_reg.c:3013 event_add_header -&gt; &#39;effective_caller_id_name&#39; = &#39;Desktop machine&#39;<br>2014-09-08 18:05:25.397965 [DEBUG] sofia_reg.c:3013 event_add_header -&gt; &#39;effective_caller_id_number&#39; = &#39;3002&#39;<br><br></div>However, when I dial the extension, it enter a different context:<br>2014-09-08 18:05:38.897955 [INFO] mod_dialplan_xml.c:558 Processing 3001 &lt;3002&gt;-&gt;3000 in context external_dialer<br><br>xml_locate dialplan<br>    &lt;context name=&quot;testing&quot;&gt;<br>        &lt;extension name=&quot;shout&quot;&gt;<br>            &lt;condition field=&quot;destination_number&quot; expression=&quot;^(300\d)$&quot;&gt;<br>                &lt;action application=&quot;answer&quot;&gt;&lt;/action&gt;<br>                &lt;action application=&quot;playback&quot; data=&quot;shout://<a href="http://208.53.164.178:80">208.53.164.178:80</a>&quot;&gt;&lt;/action&gt;<br>      &lt;/condition&gt;<br>    &lt;/extension&gt;<br>  &lt;/context&gt;<br><br><br></div><div>It usually happens after a while, when first it enters the proper context, and later it starts to go somewhere else. even on ./freeswitch -stop and ./freeswitch -ncwait it goes to the wrong context.<br><br></div><div><br></div><div>Am I doing something wrong, or missing something ?<br><br>Thanks, <br>Ido<br></div></div>