[OpenSIPS-Users] B2B prepaid.xml with one MediaServer
Bogdan-Andrei Iancu
bogdan at opensips.org
Fri Jun 16 10:56:25 EDT 2017
Hi Andreas,
You don;t have to change anything in the opensips script (for adding the
pre-call media server), but only in the XML scenario.
Take a look at the marketing scenario (in the B2B tutorial), where after
a caller is connected to an announcement, upon announcement termination,
the call is sent to callee side.
Could you post your XML scenario ?
Best regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
OpenSIPS Bootcamp 2017, Houston, US
http://opensips.org/training/OpenSIPS_Bootcamp_2017.html
On 06/13/2017 01:22 PM, Andreas Bøckmann wrote:
> Hello
>
> I wanted to test the B2B script-scenario prepaid from the B2BUA tutorials.
> The only change I wanted was to only invoke a MediaServer before
> connecting the call to B-party.
>
> Note my OpenSIPS is running regular proxy/registrar functions besides B2B.
>
> The B2B is able to setup the call towards MediaServer and trigger on
> receiving BYE.
>
> The next leg towards the actual B-party is not setup as OpenSIPS
> doesn't see this as B2B? but does authorization for that INVITE
> request, which fails.
>
> I believe it's due to the B2B doing somethingsomething to my URIs
> and/or CSEQs.
>
> My issue seems very much like something I found in a previous post
> (https://opensips.org/pipermail/users/2010-February/010931.html) but
> there was no final solution.
>
> I trigger this for the initial INVITE as such:
>
> if ($rU =~ "^\+1234567890.*") {
>
> # t_newtran is necessary because b2b should not handle
> retransmissions.
> if (!t_newtran()) {
> sl_reply_error();
> exit;
> }
>
> xlog("L_WARN","B2BUA cid=$ci, Call from $fU to $rU initialized
> as B2B\n");
> b2b_init_request("freecall", "sip:+9999 at 1.2.3.4:5080
> <http://sip:+9999@1.2.3.4:5080>");
> exit;
> }
>
> My B2B scenario file: https://pastebin.com/KwpgJziL
>
> Any clues to what the solution from Anca was in the original post
> referenced above or any other ideas as to what I am doing wrong here?
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170616/018f54f2/attachment.html>
More information about the Users
mailing list