Hi Krunal,
Looks like a race between the INVITE and CANCEL.....typical way to deal
with that is by processing the CANCEL only if it matches an INVITE
transaction:
# CANCEL processing
if (is_method("CANCEL"))
{
if (t_check_trans())
t_relay();
exit;
}
do you have this in your script ?
Regards,
Bogdan
Krunal Patel wrote:
> Hi,
>
> I am getting issue like :
> ERROR:tm:t_forward_nonack: discarding fwd for a cancelled/6xx transaction
>
> Here is the SIP trace.
>
> U 2009/10/12 11:24:19.127160 XXX.XXX.XXX.XXX:5060 -> YYY.YYY.YYY.YYY:5060
> INVITE sip:[EMAIL PROTECTED] SIP/2.0.
>
> U 2009/10/12 11:24:19.127237 XXX.XXX.XXX.XXX:5060 -> YYY.YYY.YYY.YYY:5060
> CANCEL sip:[EMAIL PROTECTED] SIP/2.0.
>
> U 2009/10/12 11:24:19.127276 YYY.YYY.YYY.YYY:5060 -> XXX.XXX.XXX.XXX:5060
> SIP/2.0 100 ci Trying...
>
> U 2009/10/12 11:24:19.130913 YYY.YYY.YYY.YYY:5060 -> XXX.XXX.XXX.XXX:5060
> SIP/2.0 200 canceling.
>
> U 2009/10/12 11:24:19.142229 YYY.YYY.YYY.YYY:5060 -> XXX.XXX.XXX.XXX:5060
> SIP/2.0 500 Server error occurred (19/SL).
>
> U 2009/10/12 11:24:19.182452 XXX.XXX.XXX.XXX:5060 -> YYY.YYY.YYY.YYY:5060
> ACK sip:[EMAIL PROTECTED] SIP/2.0.
>
> This happens when OpenSIPS gets CANCEL from caller before it sends 100
> Trying to CALLER for the INVITE.
>
> Please let me know how to resolve it.
>
> I have put t_was_cancelled in onreply & failure route both.
>
> Thanks in advance,
>
> --
> Krunal Patel
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users