<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
hi thanks<br><br>sorry but i dont really understand what a context is.<br><br>so, when i put <action application="transfer" data="$0 XML default"/><br>what does it really does, what it means that transfer to new context,<br><br><br>bye<br><br>> Date: Wed, 27 Jan 2010 05:27:38 -0800<br>> From: dftoro@yahoo.com<br>> To: freeswitch-users@lists.freeswitch.org<br>> Subject: Re: [Freeswitch-users] External Profile Problem<br>> <br>> Hi, <br>> <br>> <action application="transfer" data="$0 XML default"/><br>> <br>> You must take into account that transfer application not "transfer" a call to destination, only transfer it to a new context<br>> <br>> http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_transfer<br>> <br>> <br>> Diego Toro<br>> http://lacarretade.blogspot.com/<br>> <br>> <br>> --- On Tue, 1/26/10, juan camilo ospina quintero <camilin2212@hotmail.com> wrote:<br>> <br>> > From: juan camilo ospina quintero <camilin2212@hotmail.com><br>> > Subject: Re: [Freeswitch-users] External Profile Problem<br>> > To: "freeswitch" <freeswitch-users@lists.freeswitch.org><br>> > Date: Tuesday, January 26, 2010, 11:06 PM<br>> > <br>> > <br>> > <br>> > <br>> > <br>> > Hi<br>> > <br>> > This works fine<br>> > <br>> > <extension name="redirect"><br>> > <condition field="network_addr"<br>> > expression="^192\.168\.2\.9$"/> <br>> > <br>> > <condition field="destination_number"<br>> > expression="^1(\d+)$"><br>> > <action application="bridge"<br>> > data="sofia/external/$0@127.0.0.1:5070"/><br>> > </extension><br>> > <br>> > this redirects from freeswitch to sailfin (127.0.0.1:5070),<br>> > and is in default.xml, in the dialplan.<br>> > <br>> > the problem is this<br>> > <br>> > <extension name="receive"><br>> > <condition field="network_addr"<br>> > expression="^127\.0\.0\.1$"/><br>> > <condition field="destination_number"<br>> > expression="^1(\d+)$"><br>> > <action application="transfer"<br>> > data="$0 XML default"/><br>> > </condition><br>> > </extension><br>> > this doesnt work, this configuration can be found in<br>> > public.xml in the dialplan, the idea of<br>> > this is that when a sip invite comes from sailfin<br>> > (127.0.0.1) transfer the invite to the destination number<br>> > <br>> > the both configurations above are the only configuration i<br>> > 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>> > 2010-01-26 20:14:29.512927 [NOTICE]<br>> > switch_channel.c:602 New Channel sofia/external/1000<br>> > at 192.168.2.9 [5177e93a-0ae1-11df-afc9-db39c681a2f1]<br>> > 2010-01-26 20:14:29.512927 [NOTICE] sofia.c:3527 Hangup<br>> > sofia/external/1000<br>> > at 192.168.2.9 [CS_NEW] [MANDATORY_IE_MISSING]<br>> > send 632 bytes to udp/[192.168.2.9]:5070 at<br>> > 01:14:29.517927:<br>> > <br>> > ------------------------------------------------------------------------<br>> > SIP/2.0 480 Temporarily Unavailable<br>> > Via: SIP/2.0/UDP<br>> > 192.168.153.1:5070;branch=z9hG4bKdaacdd64d693615c451ab9db43f9c71c2626;received=192.168.2.9<br>> > From: <sip:1000<br>> > at 192.168.2.9>;tag=g4xfbi12-3<br>> > To: <sip:1001<br>> > at 192.168.2.9: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,<br>> > MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO<br>> > Supported: timer, precondition, path, replaces<br>> > Allow-Events: talk, refer<br>> > Reason:<br>> > Q.850;cause=96;text="MANDATORY_IE_MISSING"<br>> > Content-Length: 0<br>> > <br>> > <br>> > ------------------------------------------------------------------------<br>> > 2010-01-26 20:14:29.525646 [NOTICE]<br>> > switch_core_session.c:1086 Session 9 (sofia/external/1000<br>> > at 192.168.2.9) Ended<br>> > 2010-01-26 20:14:29.525646 [NOTICE]<br>> > switch_core_session.c:1088 Close Channel sofia/external/1000<br>> > at 192.168.2.9 [CS_DESTROY]<br>> > <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<br>> > 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<br>> > freeswitch and sailfin, sailfin is<br>> > > > and application server that works with<br>> > SipSevlets.<br>> > > > the all thing works as follow.<br>> > > > <br>> > > > two softphone register with freeswitch, extension<br>> > 1000 and 1001<br>> > > > 1000 sends and invite to 1001, this invite goes<br>> > to sailfin, i use this<br>> > > > <br>> > > > <extension name="redirect"><br>> > > > <condition<br>> > field="network_addr"<br>> > expression="^192\.168\.2\.9$"/> <br>> > <br>> > > > <condition<br>> > field="destination_number"<br>> > expression="^1(\d+)$"><br>> > > > <action application="bridge"<br>> > data="sofia/external/$0@127.0.0.1:5070"/><br>> > > <br>> > > And what is the external profile listening on? <br>> > Probably not the loopback address. Set up another profile<br>> > listening on 127.0.0.1 and bridge to that.<br>> > > <br>> > > I could be off base here because you haven't given<br>> > 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>> > ><br>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>> > ><br>> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>> > > http://www.freeswitch.org<br>> >                                            <br>> > Windows Live: Friends<br>> > get your Flickr, Yelp, and Digg updates when they e-mail<br>> > you. <br>> > <br>> > -----Inline Attachment Follows-----<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>> <br>> <br>> <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 />Hotmail: Trusted email with powerful SPAM protection. <a href='https://signup.live.com/signup.aspx?id=60969' target='_new'>Sign up now.</a></body>
</html>