Hi Brian,<br><br>What is the difference between $$ and $ in FS?<br><br>Thanks,<br>Pete<br><br><div class="gmail_quote">On Thu, Apr 17, 2008 at 11:11 PM, Brian West &lt;<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">You could also use user/${dialed_ext}@$${domain}<br>
<br>
in addition you could do sofia/$${domain}/${dialed_ext}<br>
<br>
/b<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
<br>
On Apr 17, 2008, at 9:45 AM, UV wrote:<br>
&gt; I'm not sure which build you're using, but I had that problem on sub<br>
&gt; version 7946 (RC1).<br>
&gt;<br>
&gt; There's a "bug" in the conf/dialplan/default.xml example where under<br>
&gt; the "Local_Extension" section is says:<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;anti-action application=&quot;bridge&quot; data=&quot;sofia/default/$<br>
&gt; {dialed_ext}@$${domain}&quot;/&gt;<br>
&gt; Where it should actually be:<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;anti-action application=&quot;bridge&quot; data=&quot;sofia/default/$<br>
&gt; {dialed_ext}%$${domain}&quot;/&gt;<br>
&gt;<br>
&gt; Check <a href="http://wiki.freeswitch.org/wiki/Sofia#Call_a_locally_registered_endpoint" target="_blank">http://wiki.freeswitch.org/wiki/Sofia#Call_a_locally_registered_endpoint</a><br>
&gt;<br>
&gt; Cheers,<br>
&gt; UV<br>
&gt; From: <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a><br>

&gt; ] On Behalf Of Pete Kay<br>
&gt; Sent: Thursday, April 17, 2008 6:16 PM<br>
&gt; To: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
&gt; Subject: [Freeswitch-users] newbie dialplan question<br>
&gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; I am working on some test on seeing how I can port my exist Asterisk<br>
&gt; stuff to Freeswitch. &nbsp;I am just getting started and I am hoping<br>
&gt; someone can give me some help to get started.<br>
&gt;<br>
&gt; I installed with all the default config and xml setting. &nbsp; Then, I<br>
&gt; bring up two SiP clients - one in the same machine as freeswitch<br>
&gt; (<a href="http://192.168.1.104" target="_blank">192.168.1.104</a>) &nbsp;and the other one on another machine<br>
&gt; ( <a href="http://192.168.1.102" target="_blank">192.168.1.102</a>).<br>
&gt;<br>
&gt; When I dial an extension ( 1001, or 1002... etc ) from my SIP client<br>
&gt; on <a href="http://192.168.1.102" target="_blank">192.168.1.102</a>, I can make the call to the other client no problem.<br>
&gt; 2008-04-18 00:09:12 [NOTICE] switch_channel.c:531<br>
&gt; switch_channel_set_name() New Channel sofia/default/<br>
&gt; <a href="http://1002@192.168.1.104:5060" target="_blank">1002@192.168.1.104:5060</a> [9e6d6146-0c98-11dd-bb92-f1e303d528b1]<br>
&gt; 2008-04-18 00:09:12 [INFO] mod_dialplan_xml.c:223 dialplan_hunt()<br>
&gt; Processing 1002-&gt;81001@default<br>
&gt; 2008-04-18 00:09:12 [NOTICE] switch_channel.c:531<br>
&gt; switch_channel_set_name() New Channel sofia/default/<br>
&gt; <a href="http://1001@192.168.1.104:5061" target="_blank">1001@192.168.1.104:5061</a> [9e93e564-0c98-11dd-bb92-f1e303d528b1]<br>
&gt; 2008-04-18 00:09:12 [NOTICE] sofia.c:1603 sofia_handle_sip_i_state()<br>
&gt; Ring-Ready sofia/default/<a href="http://1001@192.168.1.104:5061" target="_blank">1001@192.168.1.104:5061</a>!<br>
&gt;<br>
&gt; However, when I dial extension from the other SIP client, the one on<br>
&gt; <a href="http://192.168.1.104" target="_blank">192.168.1.104</a>, the call can&#39;t be routed.<br>
&gt;<br>
&gt; 2008-04-18 00:10:34 [NOTICE] switch_channel.c:531<br>
&gt; switch_channel_set_name() New Channel sofia/default/<br>
&gt; <a href="http://1001@192.168.1.104:5061" target="_blank">1001@192.168.1.104:5061</a> [cf710b58-0c98-11dd-bb92-f1e303d528b1]<br>
&gt; 2008-04-18 00:10:34 [INFO] mod_dialplan_xml.c:223 dialplan_hunt()<br>
&gt; Processing 1001-&gt;1002@public<br>
&gt; 2008-04-18 00:10:34 [NOTICE] switch_core_state_machine.c:198<br>
&gt; switch_core_standard_on_execute() Hangup sofia/default/<a href="mailto:1001@192.168.1.104">1001@192.168.1.104</a><br>
&gt; :5061[CS_EXECUTE] [NORMAL_CLEARING]<br>
&gt; 2008-04-18 00:10:34 [NOTICE] switch_core_session.c:748<br>
&gt; switch_core_session_thread() Session 20 (sofia/default/<a href="mailto:1001@192.168.1.104">1001@192.168.1.104</a><br>
&gt; :5061) Ended<br>
&gt;<br>
&gt; It seems like the the call is being routed to the wrong context.<br>
&gt; How come this happens? &nbsp;I am using the standard default config xml<br>
&gt; files. &nbsp;Can anyone please help me?<br>
&gt;<br>
&gt; With freeswitch, is there anyway to debug/trace the processing of<br>
&gt; the call so I can see which condition it is in, and where it is<br>
&gt; routed to? &nbsp;That way, I can debug the config easier?<br>
&gt;<br>
&gt; Thanks alot for all your inputs and help.<br>
&gt;<br>
&gt; Regards,<br>
&gt; Pete<br>
&gt; No virus found in this incoming message.<br>
&gt; Checked by AVG.<br>
&gt; Version: 7.5.519 / Virus Database: 269.23.0/1382 - Release Date: 16-<br>
&gt; Apr-08 5:34 PM<br>
&gt;<br>
&gt;<br>
&gt; No virus found in this outgoing message.<br>
&gt; Checked by AVG.<br>
&gt; Version: 7.5.519 / Virus Database: 269.23.0/1382 - Release Date: 16-<br>
&gt; Apr-08 5:34 PM<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; Freeswitch-users mailing list<br>
&gt; <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
<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>
</blockquote></div><br>