<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>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>&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; &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 is in /freeswitch/conf/dialplan/default.xml<br><br><br>this far all goes well, the servlet receives the invite, and sends back the invite to freeswitch, i put this<br><br>&nbsp;&nbsp;&nbsp; &lt;extension name="receive"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition field="network_addr" expression="^192\.168\.2\.9$"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition field="destination_number" expression="^1(\d+)$"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="transfer" data="$0 XML default"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/condition&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/extension&gt;<br><br>in /freeswitch/conf/dialplan/public.xml, but freeswitch returns this<br><br><br>------------------------------------------------------------------------<br>2010-01-26 20:14:29.512927 [NOTICE] switch_channel.c:602 New Channel sofia/external/1000@192.168.2.9 [5177e93a-0ae1-11df-afc9-db39c681a2f1]<br>2010-01-26 20:14:29.512927 [NOTICE] sofia.c:3527 Hangup sofia/external/1000@192.168.2.9 [CS_NEW] [MANDATORY_IE_MISSING]<br>send 632 bytes to udp/[192.168.2.9]:5070 at 01:14:29.517927:<br>&nbsp;&nbsp; ------------------------------------------------------------------------<br>&nbsp;&nbsp; SIP/2.0 480 Temporarily Unavailable<br>&nbsp;&nbsp; Via: SIP/2.0/UDP 192.168.153.1:5070;branch=z9hG4bKdaacdd64d693615c451ab9db43f9c71c2626;received=192.168.2.9<br>&nbsp;&nbsp; From: &lt;sip:1000@192.168.2.9&gt;;tag=g4xfbi12-3<br>&nbsp;&nbsp; To: &lt;sip:1001@192.168.2.9:5080&gt;;tag=4r91165pvcycB<br>&nbsp;&nbsp; Call-Id: 192.168.153.1_3_3990383226484831353<br>&nbsp;&nbsp; Cseq: 1 INVITE<br>&nbsp;&nbsp; User-Agent: FreeSWITCH-mod_sofia/1.0.4-hacked<br>&nbsp;&nbsp; Accept: application/sdp<br>&nbsp;&nbsp; Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO<br>&nbsp;&nbsp; Supported: timer, precondition, path, replaces<br>&nbsp;&nbsp; Allow-Events: talk, refer<br>&nbsp;&nbsp; Reason: Q.850;cause=96;text="MANDATORY_IE_MISSING"<br>&nbsp;&nbsp; Content-Length: 0<br>&nbsp;&nbsp; <br>&nbsp;&nbsp; ------------------------------------------------------------------------<br>2010-01-26 20:14:29.525646 [NOTICE] switch_core_session.c:1086 Session 9 (sofia/external/1000@192.168.2.9) Ended<br>2010-01-26 20:14:29.525646 [NOTICE] switch_core_session.c:1088 Close Channel sofia/external/1000@192.168.2.9 [CS_DESTROY]<br><br>i dont understand why i doesnt work if in public.xml, i tell to transfer the call if extension starts with 1 and the caller ip address is 192.168.2.9<br><br>please if someone can help me<br>                                               <br /><hr />Windows Live: Keep your friends up to date <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_1:092010' target='_new'>with what you do online.</a></body>
</html>