<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hi<br><br>This works fine<br><br>&lt;extension name="redirect"&gt;<br>&nbsp;&lt;condition field="network_addr" expression="^192\.168\.2\.9$"/&gt;    <br>&nbsp;&lt;condition field="destination_number" expression="^1(\d+)$"&gt;<br>&nbsp;&lt;action application="bridge" data="sofia/external/$0@127.0.0.1:5070"/&gt;<br>&lt;/extension&gt;<br><br>this redirects from freeswitch to sailfin (127.0.0.1:5070), and is in default.xml, in the dialplan.<br><br>the problem is this<br><br><pre>    &lt;extension name="receive"&gt;<br>      &lt;condition field="network_addr" expression="^127\.0\.0\.1$"/&gt;<br>      &lt;condition field="destination_number" expression="^1(\d+)$"&gt;<br>        &lt;action application="transfer" data="$0 XML default"/&gt;<br>      &lt;/condition&gt;<br>    &lt;/extension&gt;<br></pre>this doesnt work, this configuration can be found in public.xml in the dialplan, the idea of<br>this is that when a sip invite comes from sailfin (127.0.0.1) transfer the invite to the destination number<br><br>the both configurations above are the only configuration i have change from&nbsp; the default instalation of <br>freeswitch.<br><br>i would like to have some hep with this thanks<br><br>here is the trace log again<br><br><pre>2010-01-26 20:14:29.512927 [NOTICE] switch_channel.c:602 New Channel sofia/external/<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">1000 at 192.168.2.9</a> [5177e93a-0ae1-11df-afc9-db39c681a2f1]<br>2010-01-26 20:14:29.512927 [NOTICE] sofia.c:3527 Hangup sofia/external/<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">1000 at 192.168.2.9</a> [CS_NEW] [MANDATORY_IE_MISSING]<br>send 632 bytes to udp/[192.168.2.9]:5070 at 01:14:29.517927:<br>   ------------------------------------------------------------------------<br>   SIP/2.0 480 Temporarily Unavailable<br>   Via: SIP/2.0/UDP 192.168.153.1:5070;branch=z9hG4bKdaacdd64d693615c451ab9db43f9c71c2626;received=192.168.2.9<br>   From: &lt;sip:<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">1000 at 192.168.2.9</a>&gt;;tag=g4xfbi12-3<br>   To: &lt;sip:<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">1001 at 192.168.2.9</a>:5080&gt;;tag=4r91165pvcycB<br>   Call-Id: 192.168.153.1_3_3990383226484831353<br>   Cseq: 1 INVITE<br>   User-Agent: FreeSWITCH-mod_sofia/1.0.4-hacked<br>   Accept: application/sdp<br>   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO<br>   Supported: timer, precondition, path, replaces<br>   Allow-Events: talk, refer<br>   Reason: Q.850;cause=96;text="MANDATORY_IE_MISSING"<br>   Content-Length: 0<br>   <br>   ------------------------------------------------------------------------<br>2010-01-26 20:14:29.525646 [NOTICE] switch_core_session.c:1086 Session 9 (sofia/external/<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">1000 at 192.168.2.9</a>) Ended<br>2010-01-26 20:14:29.525646 [NOTICE] switch_core_session.c:1088 Close Channel sofia/external/<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">1000 at 192.168.2.9</a> [CS_DESTROY]<br></pre><br><br><br>&gt; Date: Tue, 26 Jan 2010 22:09:29 -0500<br>&gt; From: frank@carmickle.com<br>&gt; To: freeswitch-users@lists.freeswitch.org<br>&gt; Subject: Re: [Freeswitch-users] External Profile Problem<br>&gt; <br>&gt; On Tue, Jan 26, juan camilo ospina quintero wrote:<br>&gt; &gt; <br>&gt; &gt; Hi, <br>&gt; &gt; <br>&gt; &gt; im trying to establish a simple conference using freeswitch and sailfin, sailfin is<br>&gt; &gt; and application server that works with SipSevlets.<br>&gt; &gt; the all thing works as follow.<br>&gt; &gt; <br>&gt; &gt; two softphone register with freeswitch, extension 1000 and 1001<br>&gt; &gt; 1000 sends and invite to 1001, this invite goes to sailfin, i use this<br>&gt; &gt; <br>&gt; &gt;     &lt;extension name="redirect"&gt;<br>&gt; &gt;       &lt;condition field="network_addr" expression="^192\.168\.2\.9$"/&gt;    <br>&gt; &gt;       &lt;condition field="destination_number" expression="^1(\d+)$"&gt;<br>&gt; &gt;     &lt;action application="bridge" data="sofia/external/$0@127.0.0.1:5070"/&gt;<br>&gt; <br>&gt; And what is the external profile listening on?  Probably not the loopback address.  Set up another profile listening on 127.0.0.1 and bridge to that.<br>&gt; <br>&gt; I could be off base here because you haven't given us very much info about your freeswitch configurations.<br>&gt; <br>&gt; --FC<br>&gt; <br>&gt; _______________________________________________<br>&gt; FreeSWITCH-users mailing list<br>&gt; FreeSWITCH-users@lists.freeswitch.org<br>&gt; http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>&gt; UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>&gt; http://www.freeswitch.org<br>                                               <br /><hr />Windows Live:  <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_3:092010' target='_new'>Friends get your Flickr, Yelp, and Digg updates when they e-mail you.</a></body>
</html>