<html><body bgcolor="#FFFFFF"><div>If you look at the debug you can see all the condition matching and variable expansion. &nbsp;Is it not matching or is $0 not expanding? &nbsp;Maybe try to use $1 instead. &nbsp;Regardless, the debug of the dialplan should point to exactly what is not matching.</div><div><br>On Jan 26, 2010, at 4:10 PM, juan camilo ospina quintero &lt;<a href="mailto:camilin2212@hotmail.com">camilin2212@hotmail.com</a>&gt; wrote:<br><br></div><div></div><blockquote type="cite"><div>
hi to all<br><br>im already do the integration with. Freeswitch sends invite messages to sailfin, in sailfin there is a sip<br>servlet that acts as a proxy, this means it receives the invite from extension1000 and send the invite back<br>to freeswitch at extension 1001, but i get the freeswitch messages go to sailfin, but i dont get freeswitch<br>to understand sailfin messages.<br><br>there is my configuration for sending messages and for receiving messages<br><br>In /freeswitch/conf/dialplan/default.xml<br><br>&nbsp;&nbsp;&nbsp; &lt;extension name="redirect"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition field="network_addr" expression="^192\.168\.2\.9$"/&gt;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition field="destination_number" expression="^1(\d+)$"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="bridge" data="sofia/external/$0@127.0.0.1:5070"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/condition&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/extension&gt;<br><br>this works fine, it redirects the messages to sailfin in 127.0.0.1<br><br><br>In /freeswitch/conf/dialplan/public.xml<br><br>&nbsp;&nbsp;&nbsp; &lt;extension name="receive"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition field="network_addr" expression="^127\.0\.0\.1$"/&gt;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition field="destination_number" expression="^1(\d+)$"&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &lt;action application="bridge" data="sofia/internal/$0@192.168.2.9:5060"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/condition&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/extension&gt;<br><br>this doesnt work, i also use &lt;action application="transfer" data="$1001 XML default/&gt; instead &lt;action application="bridge" data="sofia/internal/$0@192.168.2.9:5060"/&gt;<br><br>but still doesnt work, the invite that sailfin sends appears in the freeswitch console, but the 1001 extension doesnt get it<br>                                               <br><hr>Keep your friends updated— <a href="http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_5:092010" target="_new">even when you’re not signed in.</a>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users</span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br></div></blockquote></body></html>