<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi Andreas,<br>
<br>
I didn't noticed the link at the end of your email.<br>
<br>
The scenario looks fine to me, at a first glance. And you say to
get the BYE from client1 and your B2B should do the next bridging
between server1 and a new client with the original address of
server1. <br>
Do you see this new INVITE sent out by the B2B ? or even before
this, do you see the re-INVITE send to the original caller
(server1 leg) for getting the SDP from it again ?<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>
OpenSIPS Bootcamp 2017, Houston, US
<a class="moz-txt-link-freetext" href="http://opensips.org/training/OpenSIPS_Bootcamp_2017.html">http://opensips.org/training/OpenSIPS_Bootcamp_2017.html</a>
</pre>
<div class="moz-cite-prefix">On 06/19/2017 04:02 PM, Andreas
Bøckmann wrote:<br>
</div>
<blockquote
cite="mid:CAN1RbiCSYL6shN0j23NwJmZzcgCYGvtQObFP-j0o8esbzzNraQ@mail.gmail.com"
type="cite">
<div dir="ltr">Hello Bogdan
<div><br>
</div>
<div>Quickly cleaning up answered stuff? ;o)<br>
<div><br>
</div>
<div>The scenario file you asked for was included in the
original post: <a moz-do-not-send="true"
href="https://pastebin.com/KwpgJziL" rel="noreferrer"
target="_blank" style="font-size:12.8px">https://pastebin.com/KwpgJziL</a></div>
<div><br>
</div>
<div>I am using a modified marketing scenario already for
something else; but I was trying to init the scenario from
script when I receive an INVITE; not initiate it from the
B2B as the marketing scenario does.</div>
<div><br>
</div>
<div>This was also included in the original post I believe.</div>
<div><br>
</div>
<div>//Andreas</div>
<div><br>
</div>
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
------------------------------<wbr>------------------------------<wbr>----------<br>
<br>
Message: 1<br>
Date: Fri, 16 Jun 2017 17:56:25 +0300<br>
From: Bogdan-Andrei Iancu <<a moz-do-not-send="true"
href="mailto:bogdan@opensips.org">bogdan@opensips.org</a>><br>
To: OpenSIPS users mailling list <<a
moz-do-not-send="true"
href="mailto:users@lists.opensips.org"><a class="moz-txt-link-abbreviated" href="mailto:users@lists.opensips.org">users@lists.opensips.org</a></a>>,
Andreas<br>
Bøckmann <<a moz-do-not-send="true"
href="mailto:monkeilas@gmail.com">monkeilas@gmail.com</a>><br>
Subject: Re: [OpenSIPS-Users] B2B prepaid.xml with one
MediaServer<br>
Message-ID: <<a moz-do-not-send="true"
href="mailto:5e8a6ed7-c4e3-b0c3-fede-df196cddf96f@opensips.org">5e8a6ed7-c4e3-b0c3-fede-<wbr>df196cddf96f@opensips.org</a>><br>
Content-Type: text/plain; charset="utf-8";
Format="flowed"<br>
<br>
Hi Andreas,<br>
<br>
You don;t have to change anything in the opensips script
(for adding the<br>
pre-call media server), but only in the XML scenario.<br>
<br>
Take a look at the marketing scenario (in the B2B
tutorial), where after<br>
a caller is connected to an announcement, upon
announcement termination,<br>
the call is sent to callee side.<br>
<br>
Could you post your XML scenario ?<br>
<br>
Best regards,<br>
<br>
Bogdan-Andrei Iancu<br>
OpenSIPS Founder and Developer<br>
<a moz-do-not-send="true"
href="http://www.opensips-solutions.com"
rel="noreferrer" target="_blank">http://www.opensips-solutions.<wbr>com</a><br>
<br>
OpenSIPS Bootcamp 2017, Houston, US<br>
<a moz-do-not-send="true"
href="http://opensips.org/training/OpenSIPS_Bootcamp_2017.html"
rel="noreferrer" target="_blank">http://opensips.org/training/<wbr>OpenSIPS_Bootcamp_2017.html</a><br>
<br>
On 06/13/2017 01:22 PM, Andreas Bøckmann wrote:<br>
> Hello<br>
><br>
> I wanted to test the B2B script-scenario prepaid
from the B2BUA tutorials.<br>
> The only change I wanted was to only invoke a
MediaServer before<br>
> connecting the call to B-party.<br>
><br>
> Note my OpenSIPS is running regular proxy/registrar
functions besides B2B.<br>
><br>
> The B2B is able to setup the call towards
MediaServer and trigger on<br>
> receiving BYE.<br>
><br>
> The next leg towards the actual B-party is not
setup as OpenSIPS<br>
> doesn't see this as B2B? but does authorization for
that INVITE<br>
> request, which fails.<br>
><br>
> I believe it's due to the B2B doing
somethingsomething to my URIs<br>
> and/or CSEQs.<br>
><br>
> My issue seems very much like something I found in
a previous post<br>
> (<a moz-do-not-send="true"
href="https://opensips.org/pipermail/users/2010-February/010931.html"
rel="noreferrer" target="_blank">https://opensips.org/<wbr>pipermail/users/2010-February/<wbr>010931.html</a>)
but<br>
> there was no final solution.<br>
><br>
> I trigger this for the initial INVITE as such:<br>
><br>
> if ($rU =~ "^\+1234567890.*") {<br>
><br>
> # t_newtran is necessary because b2b should
not handle<br>
> retransmissions.<br>
> if (!t_newtran()) {<br>
> sl_reply_error();<br>
> exit;<br>
> }<br>
><br>
> xlog("L_WARN","B2BUA cid=$ci, Call from $fU
to $rU initialized<br>
> as B2B\n");<br>
> b2b_init_request("freecall", "<a
moz-do-not-send="true"
href="http://sip:+9999@1.2.3.4:5080" rel="noreferrer"
target="_blank"><a class="moz-txt-link-freetext" href="sip:+9999@1.2.3.4:5080">sip:+9999@1.2.3.4:5080</a></a><br>
> <<a moz-do-not-send="true"
href="http://sip:+9999@1.2.3.4:5080" rel="noreferrer"
target="_blank">http://sip:+9999@1.2.3.4:5080</a><wbr>>");<br>
> exit;<br>
> }<br>
><br>
> My B2B scenario file: <a moz-do-not-send="true"
href="https://pastebin.com/KwpgJziL" rel="noreferrer"
target="_blank">https://pastebin.com/KwpgJziL</a><br>
><br>
> Any clues to what the solution from Anca was in the
original post<br>
> referenced above or any other ideas as to what I am
doing wrong here?<br>
<br>
</blockquote>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>