Hello Bogdan,<br><br>I have your suggested code block , in my cfg.<br>But still getting the same.<br><br>--<br>Krunal Patel<br><br><div class="gmail_quote">On Mon, Oct 12, 2009 at 9:04 PM, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Krunal,<br>
<br>
Looks like a race between the INVITE and CANCEL.....typical way to deal<br>
with that is by processing the CANCEL only if it matches an INVITE<br>
transaction:<br>
<br>
# CANCEL processing<br>
if (is_method("CANCEL"))<br>
{<br>
if (t_check_trans())<br>
t_relay();<br>
exit;<br>
}<br>
<br>
<br>
<br>
do you have this in your script ?<br>
<br>
Regards,<br>
Bogdan<br>
<div><div></div><div class="h5"><br>
Krunal Patel wrote:<br>
> Hi,<br>
><br>
> I am getting issue like :<br>
> ERROR:tm:t_forward_nonack: discarding fwd for a cancelled/6xx transaction<br>
><br>
> Here is the SIP trace.<br>
><br>
> U 2009/10/12 11:24:19.127160 XXX.XXX.XXX.XXX:5060 -> YYY.YYY.YYY.YYY:5060<br>
> INVITE sip:[EMAIL PROTECTED] SIP/2.0.<br>
><br>
> U 2009/10/12 11:24:19.127237 XXX.XXX.XXX.XXX:5060 -> YYY.YYY.YYY.YYY:5060<br>
> CANCEL sip:[EMAIL PROTECTED] SIP/2.0.<br>
><br>
> U 2009/10/12 11:24:19.127276 YYY.YYY.YYY.YYY:5060 -> XXX.XXX.XXX.XXX:5060<br>
> SIP/2.0 100 ci Trying...<br>
><br>
> U 2009/10/12 11:24:19.130913 YYY.YYY.YYY.YYY:5060 -> XXX.XXX.XXX.XXX:5060<br>
> SIP/2.0 200 canceling.<br>
><br>
> U 2009/10/12 11:24:19.142229 YYY.YYY.YYY.YYY:5060 -> XXX.XXX.XXX.XXX:5060<br>
> SIP/2.0 500 Server error occurred (19/SL).<br>
><br>
> U 2009/10/12 11:24:19.182452 XXX.XXX.XXX.XXX:5060 -> YYY.YYY.YYY.YYY:5060<br>
> ACK sip:[EMAIL PROTECTED] SIP/2.0.<br>
><br>
> This happens when OpenSIPS gets CANCEL from caller before it sends 100<br>
> Trying to CALLER for the INVITE.<br>
><br>
> Please let me know how to resolve it.<br>
><br>
> I have put t_was_cancelled in onreply & failure route both.<br>
><br>
> Thanks in advance,<br>
><br>
> --<br>
> Krunal Patel<br>
><br>
><br>
</div></div>> ------------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
><br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div><br>