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

Attachment: b2bua-cancel-topo
Description: Binary data

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to