[OpenSIPS-Users] Hangup call on leg B side

Bogdan-Andrei Iancu bogdan at opensips.org
Thu Oct 25 13:42:57 CEST 2012


Hi,

Simply use the B2B modules for that that:
     http://www.opensips.org/Resources/B2buaTutorial

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com


On 10/22/2012 12:12 PM, pars3c wrote:
>
> Hi ,
>
> i don't know how to realize this:
>
> A --- INVITE---->proxy ----INVITE----> B
>
> <--- 200 OK
>
>                                                ---BYE---->
>
>                                                ---INVITE ----->C
>
> <--- 200 OK         proxy <--- 200 OK
>
> -------ACK --->                  -------ACK --->
>
> When B answer the call, the proxy should immediately hang up the call 
> and make a new invite. For user A is always the same call.
>
> I tried this :
>
> onreply_route  {
>
>        ################################   connect
>
>        if (is_method("INVITE") && status == "200") {
>
> dlg_bye("callee");
>
>                      drop();
>
>        }
>
> }
>
> But it doesn't  work. When arrive 200 , the proxy drop the message to 
> the user a , wait for a while, and then send a cancel to b (it should 
> send a BYE, instead send a CANCEL, probably because it not have a ACK).
>
> How can I try this?
>
> Thanks
>
>
> _______________________________________________
> 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/20121025/faf2623b/attachment.htm>


More information about the Users mailing list