update to latest trunk and reproduce your problem with full debug enabled.<br><br>sofia profile internal siptrace on<br>console loglevel debug<br><br><br><div class="gmail_quote">On Wed, Feb 10, 2010 at 4:44 AM, Victor Maruani <span dir="ltr"><<a href="mailto:vmaruani@interwise.com">vmaruani@interwise.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Hi,</span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">I can't have a blind transfer
work properly if I use bypass-media=true.</span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">My first message may have been unclear,
here I added excerpt from the dialplan:</span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"> <!---
ext MyIVR --></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"> <extension
name="Extension MyIVR" continue="false"></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">
<condition field="destination_number"
expression="^337$"></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">
<action application="set" data="bypass_media=true"/></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">
<action application="bridge"
data="sofia/internal/<a href="mailto:337@10.10.5.51" target="_blank">337@10.10.5.51</a>"/></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">
</condition></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"> </extension></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"> <!---
ext MyServ --></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"> <extension
name="Extension MyServ " continue="false"></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">
<condition field="destination_number"
expression="^3341$"></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"> <action
application="set" data="bypass_media=true"/></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">
<action application="bridge" data="sofia/internal/<a href="mailto:3341@10.10.5.48" target="_blank">3341@10.10.5.48</a>"/></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">
</condition></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"> </extension> </span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">The connection to MyIVR works.
Then it sends Refer-to (3341@...) which fails as I described it in the previous
mail.</span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">I would like to know if the
feature has been validated and if I'm missing something in the configuration.</span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Any help would be very
appreciated.</span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Thanks!</span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"> </span></p>
<div>
<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">
<p class="MsoNormal"><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;">
<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>Victor Maruani<br>
<b>Sent:</b> Sunday, February 07, 2010 5:01 PM<br>
<b>To:</b> <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>
<b>Subject:</b> [Freeswitch-users] Bypass-media and REFER method</span></p>
</div>
</div><div><div></div><div class="h5">
<p class="MsoNormal"> </p>
<p class="MsoNormal">Hi,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I'm trying to do a POC using FS, the goal is to have FS
handle REFERs containing proprietary data. </p>
<p class="MsoNormal">I want to have some logic on top of FS and also use the fail
over mechanism.</p>
<p class="MsoNormal">in short, I have something like this:</p>
<p class="MsoNormal">(third party) A side --- FS ---- B side (IVR server)</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">the IVR the sends a REFER to FS. I don't want A to deal with
it. </p>
<p class="MsoNormal">now say B refers to C, it would be considered as a
"group" C1, C2 ... to which I want FS to failover.</p>
<p class="MsoNormal">only when one has answered should A be updated (REINVITE)
and B notified and disconnected.</p>
<p class="MsoNormal">if all fails I would expect B to be notified of the failure
and proceed as I wish without "losing" A.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">from what I've read FS should be OK for the job but I have a
couple issues:</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">1 ) I have some issues getting FS handle a REFER while in
bypass-media mode.</p>
<p class="MsoNormal">(I tried with the release and some revisions including
latest)</p>
<p class="MsoNormal">first when I bridge A and B everything is fine and media is
bypassed.</p>
<p class="MsoNormal">When B sends REFER to C:</p>
<p><span>-<span style="font-family: "Times New Roman"; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
</span></span><span dir="LTR"></span> FS immediately NOTIFY B of
success and send a reinvite to A with SDP containing its own media IP/port.</p>
<p><span>-<span style="font-family: "Times New Roman"; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
</span></span><span dir="LTR"></span>then it does INVITE C with A's
SDP.</p>
<p><span>-<span style="font-family: "Times New Roman"; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
</span></span><span dir="LTR"></span>B gets disconnected. A is not
updated with C's sdp.</p>
<p class="MsoNormal">so at this point A sends RTP to FS and C sends RTP to A.
…</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I basically have one extension for B: (set bypass-media and
bridge to B)</p>
<p class="MsoNormal">and another extension to C which does the same actions.</p>
<p class="MsoNormal">what do you think I do wrong? </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">2 ) how can I catch the REFER and set variables from it?
(like ref-by or ref-to)</p>
<p class="MsoNormal">in the dial plan I do catch the INVITE sent to C, but how to
do it with the REFER itself?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">thanks for your help!</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Best Regards,</p>
<p class="MsoNormal">Victor.</p>
<p class="MsoNormal"> </p>
</div></div></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></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>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</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:+19193869900<br>