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>&lt;action application=&quot;redirect&quot; data=&quot;sip:user@host&quot;/&gt;<br>This will result in a 302 redirect in the case of a sip channel<br><br>&lt;action application=&quot;deflect&quot; data=&quot;sip:user@host&quot;/&gt;<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 &lt;<a href="mailto:kokoska.rokoska@post.cz">kokoska.rokoska@post.cz</a>&gt; 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&#39;m trying to make call-forward (on all failures, but it is not<br>
relevant, I think) but don&#39;t know how...<br>
I used &quot;transfer&quot; application but it didn&#39;t work like i expected.<br>
<br>
The scenario was as follows:<br>
<br>
Really simple dialplan<br>
&lt;extension name=&quot;Eeee&quot;&gt;<br>
 &nbsp; &lt;condition field=&quot;destination_number&quot; expression=&quot;^(23)$&quot;&gt;<br>
 &nbsp; &nbsp; &lt;action application=&quot;set&quot; data=&quot;continue_on_fail=true&quot;/&gt;<br>
 &nbsp; &nbsp; &lt;action application=&quot;bridge&quot; data=&quot;sofia/default/$1%$${domain}&quot;/&gt;<br>
 &nbsp; &nbsp; &lt;action application=&quot;transfer&quot; data=&quot;22&quot;/&gt;<br>
 &nbsp; &lt;/condition&gt;<br>
&lt;/extension&gt;<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 &quot;181 Call is being forwarded&quot; sent.<br>
2. INVITE to user 22 lacks &quot;Diversion&quot; 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&#39;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