The transfer app sends the same call to some other extension at some other dialplan within the switch.<br>We are not a sip specific switch so we have to abstract many concepts.<br><br>If you are trying to redirect the call we have 2 ways <br>
the redirect application<br><br><action application="redirect" data="sip:user@host"/><br>This will result in a 302 redirect in the case of a sip channel<br><br><action application="deflect" data="sip:user@host"/><br>
This will result in a REFER to the specified uri<br><br>That is the only 2 ways we support, if you are looking to divert like a proxy does<br>remember we are only a b2bua and do not perform proxy features, see openser for that.<br>
<br><br><br><div class="gmail_quote">On Sun, Apr 6, 2008 at 2:13 PM, kokoska rokoska <<a href="mailto:kokoska.rokoska@post.cz">kokoska.rokoska@post.cz</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Hi all at third today :-)<br>
<br>
I'm trying to make call-forward (on all failures, but it is not<br>
relevant, I think) but don't know how...<br>
I used "transfer" application but it didn't work like i expected.<br>
<br>
The scenario was as follows:<br>
<br>
Really simple dialplan<br>
<extension name="Eeee"><br>
<condition field="destination_number" expression="^(23)$"><br>
<action application="set" data="continue_on_fail=true"/><br>
<action application="bridge" data="sofia/default/$1%$${domain}"/><br>
<action application="transfer" data="22"/><br>
</condition><br>
</extension><br>
<br>
And than user 21 calls number 23 which is not registered. Call<br>
succesfully rings on user 22 but:<br>
1. There is no "181 Call is being forwarded" sent.<br>
2. INVITE to user 22 lacks "Diversion" header.<br>
If someone interested I have full pcap dump.<br>
<br>
Could someone point me to right solution how to properly implement call<br>
forwarding?<br>
I mean 181 send back, and INVITE with Diversion header with proper<br>
forwarding reason and forward counter. When I looked at<br>
Channel_Variables I didn't find anything suitable...<br>
<br>
Any suggestion is really appreciated :-)<br>
<br>
Best regards,<br>
<br>
kokoska.rokoska<br>
<br>
<br>
_______________________________________________<br>
Freeswitch-dev mailing list<br>
<a href="mailto:Freeswitch-dev@lists.freeswitch.org">Freeswitch-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400