<div dir="ltr"><div><div><div>Hello all,<br></div> While using basic topo-hiding <strong>script_scenario, </strong>I am facing a problem of CANCEL packet not being able to relayed to CALLEE by B2BUA opensip.<br><br>
</div>The scenario is as follow:<br><br></div>Caller ->Carrier ( x.x.36.69) -> B2BUA(x.x.x.171) -> Proxy(x.x.x.142) .... <br><div><div><div><div><div><div><div><div><div><br></div><div>When caller CANCEL the call, B2BUA server replies back with 200 cancenling but does not intimate callee resulting in request timeout.<br>
<br></div><div>SIP Traces are attached, and following is the brief config <br></div><div><br> <br></div><div><u><b>MODParameter</b></u><br>modparam("b2b_entities", "script_req_route", "b2b_request")<br>
modparam("b2b_entities", "script_reply_route", "b2b_reply")<br>modparam("b2b_logic", "use_init_sdp", 1)<br><br clear="all"><u><b>CANCEL BLOCK</b></u><br> if (is_method("CANCEL"))<br>
{<br> if (t_check_trans()){<br> t_relay();<br> }<br> exit;<br> }<br><br></div><div><u><b>INVITE</b></u><br></div><div>force_send_socket(udp:<a href="http://192.168.226.171:5060">192.168.226.171:5060</a>);<br>
setflag(ACC_DO); # do accounting<br> if(src_ip==192.168.36.69) {<br> $rd = "192.168.226.142";<br> $rp = "5060";<br> } else {<br>
$rd = "192.168.36.69";<br> $rp = "5060";<br> }<br><br></div><div> b2b_init_request("top hiding");<br> record_route();<br>
</div><div> exit;<br></div><div><br>-- <br></div><div><div dir="ltr"><font face="'times new roman', serif">Regards</font><div><font face="'times new roman', serif"><br>
</font><div><pre cols="72"><font face="'times new roman', serif">M. Salman Zafar<br>VoIP Professional<br></font><br></pre></div></div></div>
</div></div></div></div></div></div></div></div></div></div>