<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><extension name="redirect"><br> <condition field="network_addr" expression="^192\.168\.2\.9$"/> <br> <condition field="destination_number" expression="^1(\d+)$"><br> <action application="bridge" data="sofia/external/$0@127.0.0.1:5070"/><br></extension><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> <extension name="receive"><br> <condition field="network_addr" expression="^127\.0\.0\.1$"/><br> <condition field="destination_number" expression="^1(\d+)$"><br> <action application="transfer" data="$0 XML default"/><br> </condition><br> </extension><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 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: <sip:<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">1000 at 192.168.2.9</a>>;tag=g4xfbi12-3<br> To: <sip:<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">1001 at 192.168.2.9</a>:5080>;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>> Date: Tue, 26 Jan 2010 22:09:29 -0500<br>> From: frank@carmickle.com<br>> To: freeswitch-users@lists.freeswitch.org<br>> Subject: Re: [Freeswitch-users] External Profile Problem<br>> <br>> On Tue, Jan 26, juan camilo ospina quintero wrote:<br>> > <br>> > Hi, <br>> > <br>> > im trying to establish a simple conference using freeswitch and sailfin, sailfin is<br>> > and application server that works with SipSevlets.<br>> > the all thing works as follow.<br>> > <br>> > two softphone register with freeswitch, extension 1000 and 1001<br>> > 1000 sends and invite to 1001, this invite goes to sailfin, i use this<br>> > <br>> > <extension name="redirect"><br>> > <condition field="network_addr" expression="^192\.168\.2\.9$"/> <br>> > <condition field="destination_number" expression="^1(\d+)$"><br>> > <action application="bridge" data="sofia/external/$0@127.0.0.1:5070"/><br>> <br>> 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>> <br>> I could be off base here because you haven't given us very much info about your freeswitch configurations.<br>> <br>> --FC<br>> <br>> _______________________________________________<br>> FreeSWITCH-users mailing list<br>> FreeSWITCH-users@lists.freeswitch.org<br>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>> 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>