<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Hi Jignesh,<br>
<br>
I don't think that it should matter if you send reInvite or Invite to
UE-B.<br>
I will explain what happens if you use the refer scenario:
<a class="moz-txt-link-freetext" href="http://www.opensips.org/Resources/B2buaTutorial#toc15">http://www.opensips.org/Resources/B2buaTutorial#toc15</a>. This scenario
tells the B2BUA to pas through on the other side all requests until it
receives a Refer message - when this happens, the B2BUA will end the
dialog with the endpoint that sent the Refer and connect the other
party with the URI in Refer-To header.<br>
This has nothing to do with the other dialog where A and C are
connected. That dialog might neither exits - there is no connection
between the two and you can not put a condition of this kind (
referring to another dialog) in the B2BUA scenario.<br>
<br>
Regards,<br>
Anca<br>
<br>
<br>
On 07/09/2010 05:59 PM, jignesh gandhi wrote:
<blockquote cite="mid:485829.48544.qm@web52701.mail.re2.yahoo.com"
 type="cite">
  <style type="text/css"><!-- DIV {margin:0px;} --></style>
  <div
 style="font-family: verdana,helvetica,sans-serif; font-size: 10pt;">
  <div><font class="Apple-style-span"
 face="tahoma, 'new york', times, serif">Hello Anca,</font></div>
  <div><font class="Apple-style-span"
 face="tahoma, 'new york', times, serif"><br>
  </font></div>
  <div><font class="Apple-style-span"
 face="tahoma, 'new york', times, serif"><br>
  </font></div>
  <div><font class="Apple-style-span"
 face="tahoma, 'new york', times, serif">Thanks for your quick reply.</font></div>
  <div><font class="Apple-style-span"
 face="tahoma, 'new york', times, serif">Just wanted to make sure that
I understand what you are saying.</font></div>
  <div><font class="Apple-style-span"
 face="tahoma, 'new york', times, serif"><br>
  </font></div>
  <div><font class="Apple-style-span"
 face="tahoma, 'new york', times, serif">Are you saying that B2BUA
needs to be in the middle of the UE-A to UE-C and</font></div>
  <div><font class="Apple-style-span"
 face="tahoma, 'new york', times, serif">UE-C to UE-B calls ?</font></div>
  <div><font class="Apple-style-span"
 face="tahoma, 'new york', times, serif"><br>
  </font></div>
  <div><font class="Apple-style-span"
 face="tahoma, 'new york', times, serif">I am not planning on sending a
Re-Invite to UE-B, but a new INVITE w/replaces.</font></div>
  <div><font class="Apple-style-span"
 face="tahoma, 'new york', times, serif"><br>
  </font></div>
  <div><font class="Apple-style-span"
 face="tahoma, 'new york', times, serif">thanks,</font></div>
  <div><font class="Apple-style-span"
 face="tahoma, 'new york', times, serif">--Jignesh</font></div>
  <div><font class="Apple-style-span"
 face="tahoma, 'new york', times, serif">======================</font></div>
  <div><span class="Apple-style-span"
 style="font-family: tahoma,'new york',times,serif;"><br>
  </span></div>
  <div>
  <meta http-equiv="content-type"
 content="text/html; charset=ISO-8859-1">
  <span class="Apple-style-span"
 style="font-family: tahoma,'new york',times,serif;">Message: 2<br>
Date: Fri, 09 Jul 2010 11:15:16 +0300<br>
From: Anca Vamanu &lt;<a moz-do-not-send="true"
 ymailto="mailto:anca@opensips.org" href="mailto:anca@opensips.org">anca@opensips.org</a>&gt;<br>
Subject: Re: [OpenSIPS-Users] re : Question about B2BUA modules..<br>
To:&nbsp;<a moz-do-not-send="true" ymailto="mailto:users@lists.opensips.org"
 href="mailto:users@lists.opensips.org">users@lists.opensips.org</a><br>
Message-ID: &lt;<a moz-do-not-send="true"
 ymailto="mailto:4C36DA94.5000607@opensips.org"
 href="mailto:4C36DA94.5000607@opensips.org">4C36DA94.5000607@opensips.org</a>&gt;<br>
Content-Type: text/plain; charset="iso-8859-1"<br>
  <br>
Hi Jignesh,<br>
  <br>
This scenario will work with the B2BUA component if you use the refer&nbsp;<br>
scenario, but you have to put the B2BUA in the middle of the call from&nbsp;<br>
the beginning (the call where the REFER is received, in your example&nbsp;<br>
from UE-C to UE-B), it is not possible othervise for it to send a&nbsp;<br>
reInvite in that dialog if it is not controlling it. The only thing
that&nbsp;<br>
you won't see is the Notify at the end sent to UC-E, now B2BUA does not&nbsp;<br>
send this.<br>
  <br>
Regards,<br>
  <br>
--&nbsp;<br>
Anca Vamanu<br>
<a class="moz-txt-link-abbreviated" href="http://www.voice-system.ro">www.voice-system.ro</a><br>
  <br>
  <br>
  <br>
  <br>
On 07/08/2010 11:30 PM, jignesh gandhi wrote:<br>
&gt; Hello Anca,<br>
&gt;<br>
&gt; I have read the b2bua tutorial and have opensips 1.62 installed.<br>
&gt; I am mainly interested in the REFER scenario..<br>
&gt;<br>
&gt; Would the current implementation of the b2bua support the
following&nbsp;<br>
&gt; scenario ?<br>
&gt;<br>
&gt; UE-A calls UE-C and are in a call. UE-C puts UE-A on hold.<br>
&gt; UE-C call UE-B and are in a call.&nbsp; UE-C puts UE-B on hold.<br>
&gt;<br>
&gt; OpenSIPs is not in the path of the original calls.<br>
&gt;<br>
&gt; Before UE-C bridges UE-A and UE-B,&nbsp; UE-C wishes to get out the
middle&nbsp;<br>
&gt; of the call.<br>
&gt; One way would be to send a REFER to UE-B .<br>
&gt;<br>
&gt; What if the switch UE-B is connected to does not support REFER ?
So I&nbsp;<br>
&gt; want to do the following..<br>
&gt;<br>
&gt; UE-C sends a REFER to SIP-AS ( OPENSIPS ) and upon receipt of the
REFER,<br>
&gt; using the B2BUA , the SIP-AS would send an INVITE w/replaces and
no&nbsp;<br>
&gt; SDP to UE-B<br>
&gt; Upon receiving the 200 Ok w/SDP. the SIP-AS would send an INVITE
to&nbsp;<br>
&gt; UE-A with the<br>
&gt; SDP received from UE-B's 200 Ok. Upon receiving an ACK from UE-A ,&nbsp;<br>
&gt; SIP-AS would<br>
&gt; send an ACK back to UE-B and an INFO message to UE-C and
appropriate BYEs.<br>
&gt;<br>
&gt; Below is a simple flow chart...<br>
&gt;<br>
&gt;<br>
&gt; UE-C&nbsp; REFER------------------&gt; OPENSIPS B2BUA(SIP_AS)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp;&nbsp;<br>
&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; UE-B<br>
&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; INVITE w/replaces no&nbsp;<br>
&gt; SDP----------------------&gt;<br>
&gt; &lt;------------------------------------------200 OK w/SDP(1)<br>
&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; INVITE w/ SDP (1)&nbsp; &nbsp; &nbsp;
&nbsp;&nbsp;<br>
&gt;&nbsp; &nbsp; &nbsp; UE-A<br>
&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<br>
&gt;&nbsp; ---------------------------------&gt;<br>
&gt; &lt;----------------200 OK w/SDP<br>
&gt;<br>
&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<br>
&gt; ACK---------------------------------------------------&gt;<br>
&gt;<br>
&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<br>
&gt; ACK---------------------------&gt;<br>
&gt; &lt;-------------------------NOTIFY<br>
&gt;<br>
&gt; thanks in advance for your help,<br>
&gt; --Jignesh<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL:&nbsp;<a moz-do-not-send="true"
 href="http://lists.opensips.org/pipermail/users/attachments/20100709/7df1c308/attachment-0001.htm"
 target="_blank">http://lists.opensips.org/pipermail/users/attachments/20100709/7df1c308/attachment-0001.htm</a>&nbsp;<br>
  </span></div>
  </div>
  <br>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
Anca Vamanu
<a class="moz-txt-link-abbreviated" href="http://www.voice-system.ro">www.voice-system.ro</a>
</pre>
</body>
</html>