<p>We don&#39;t support the series of 100,180,200 in the notifies that is typically a pure sip pbx feature.<br>
We are a b2b and protocol agnostic softswitch.<br>
When you do refer to a sofia leg you are talking to that leg independantly.<br>
We do not track the progress of what the channel does once you transfer it, instead we send the channel back to the dialplan and accept the refer.  This operation if sucessful will generate 202.<br>
The resume media on hold and bypass after att xfer sofia options or bypass_media_after_bridge var may be what you need if you want no media on fs.<br>
We have to make some sacrifices on sip madness to gain some general flexibility and call volume. =/<br>
</p>
<p><blockquote type="cite">On Feb 14, 2010 3:39 AM, &quot;Victor Maruani&quot; &lt;<a href="mailto:vmaruani@interwise.com">vmaruani@interwise.com</a>&gt; wrote:<br><br>








<div lang="EN-US" link="blue" vlink="purple">

<div>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Hi,</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">I would say it fails in 2 points:</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">First in the fact that a &quot;NOTIFY 200 OK&quot; (line 1070) is
sent right after FS gets the REFER.</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Then in the REINVITE (line 1094) sent to A (10.10.5.19)  just
after this NOTIFY,</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">This REINVITE contains the SDP of the FS (10.10.5.92) causing
the A side to send media to FS. There will be no REINVITE with SDP of C (10.10.5.48)</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">But as you say, just afterwards, the REFER action is actually
done and C is invited by FS with the SDP of A.</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Conclusion :</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">1)</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">B is notified of success just after it sent the REFER and is
disconnected.</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">B may be notified of every step of the connection to C (100
trying… 200 OK) when these actually happen.</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">What if C is down? Can&#39;t FS notify a failure? (didn&#39;t test that.)</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">2)</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">&#39;A&#39; gets to send media to FS Because of a REINVITE which
disconnect him from B (we are in bypass media mode) . </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">during the process of REFER, A should be still connected to B
from a media perspective.</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">The REINVITE is not done at the right time with the right
params.</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Here, a pseudo bridge (on way voice)  is established when C
gets the INVITE and is sending media to A.</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">A can hear C but C can&#39;t hear A after the REFER.</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">If C was down, A would be &quot;lost&quot; in FS…</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">I believe the correct behavior would be:</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">B sends REFER.</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">FS INVITE C </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">C replies 100, 180… 200 and FS notifies B in accordance.</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Once C has sent 200 OK with its SDP. B is disconnected and A is
updated (REINVITE) with C&#39;s SDP.</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Please share your thoughts, I still don&#39;t know if it&#39;s a bug or
if I configured something wrong although I don&#39;t think so.</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Hasn&#39;t anyone done that before?</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Thank you.</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">

<p class="MsoNormal"><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt">
<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>
[mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>] <b>On Behalf Of </b>Anthony
Minessale<br>
<b>Sent:</b> Friday, February 12, 2010 1:02 AM<p><font color="#500050"><br>To: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>Subject: Re: [Freeswitch-users] Bypass-media and REFER me...</font></p>
</span></p>

</div><p><font color="#500050"><br><br> <br><br>Where do you think it&#39;s failing?<br>that log shows it get refer, go back to dp, invite to 3341 and...</font></p></div>

</div>


<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></p>