[OpenSIPS-Users] B2BUA Topo-Hiding - Cancel Propagation

Salman Zafar msalman212 at gmail.com
Fri Nov 22 08:52:41 CET 2013


Hello all,
         While using basic topo-hiding *script_scenario, *I am facing a
problem of CANCEL packet not being able to relayed to CALLEE by B2BUA
opensip.

The scenario is as follow:

Caller ->Carrier ( x.x.36.69) -> B2BUA(x.x.x.171) -> Proxy(x.x.x.142) ....

When caller CANCEL the call, B2BUA server replies back with 200  cancenling
but does not intimate callee resulting in request timeout.

SIP Traces are attached, and following is the brief config


*MODParameter*
modparam("b2b_entities", "script_req_route", "b2b_request")
modparam("b2b_entities", "script_reply_route", "b2b_reply")
modparam("b2b_logic", "use_init_sdp", 1)

*CANCEL BLOCK*
        if (is_method("CANCEL"))
        {
                if (t_check_trans()){
                        t_relay();
                }
                exit;
        }

*INVITE*
force_send_socket(udp:192.168.226.171:5060);
                setflag(ACC_DO); # do accounting
                if(src_ip==192.168.36.69) {
                        $rd = "192.168.226.142";
                        $rp = "5060";
                } else  {
                        $rd = "192.168.36.69";
                        $rp = "5060";
                }

       b2b_init_request("top hiding");
       record_route();
       exit;

--
Regards

M. Salman Zafar
VoIP Professional
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20131122/68709411/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: b2bua-cancel-topo
Type: application/octet-stream
Size: 4975 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/users/attachments/20131122/68709411/attachment.obj>


More information about the Users mailing list