[SR-Users] Hangup call on leg B side
Alex Balashov
abalashov at evaristesys.com
Mon Oct 22 11:28:44 CEST 2012
This is impossible, by definition, with a proxy. That is because a
proxy is a proxy, not a back-to-back user agent (B2BUA), so it does not
create two different, logically independent call legs and bridge them.
Instead, one call leg A comes in, and that same call leg B goes out.
On 10/22/2012 05:12 AM, 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
>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
--
Alex Balashov - Principal
Evariste Systems LLC
235 E Ponce de Leon Ave
Suite 106
Decatur, GA 30030
Tel: +1-678-954-0670
Fax: +1-404-961-1892
Web: http://www.evaristesys.com/, http://www.alexbalashov.com/
More information about the sr-users
mailing list