Hello PlayMen,
Looks like you are replying with "100 Trying" after calling t_relay().
Can you reorganize the script so that the "100 Trying" is replied immediately after receiving the intitial INVITE?
Can you reorganize the script so that the "100 Trying" is replied immediately after receiving the intitial INVITE?
sl_send_reply("100", "Trying");
This will hopefully prevent the sender from re-transmitting the INVITE at the first place.
Best Regards,
- Gary
- Gary
Sent: Wednesday, November 19, 2014 at 2:04 PM
From: "Dragomir Haralambiev" <[email protected]>
To: "OpenSIPS users mailling list" <[email protected]>
Subject: Re: [OpenSIPS-Users] repeated INVITE issue
From: "Dragomir Haralambiev" <[email protected]>
To: "OpenSIPS users mailling list" <[email protected]>
Subject: Re: [OpenSIPS-Users] repeated INVITE issue
Yes I do.
Here is part of my script:
if ( t_check_trans() ) {
xlog("L_ERR", "$fU: This INVITE is already received");
exit;
}
if ( t_check_trans() ) {
xlog("L_ERR", "$fU: This INVITE is already received");
exit;
}
2014-11-19 20:50 GMT+02:00 campusvtv <[email protected]>:
Hello,
are you using t_check_trans before t_relay to check if the second and third INVITEs are retransmission?
Regards.
El 19/11/2014 13:41, Dragomir Haralambiev escribió:It replies back with provisional response (100 - Ok giving a try), but a bit too late - after more than one invite has been received already.The question is more why OpenSips sends 3 replies to the upstream provider instead just one since the invites are duplicates.2014-11-19 20:14 GMT+02:00 campusvtv <[email protected]>:Hello,
check why OpenSIPs don't send provisional response to user that send 3 INVITEs or why the user don't receive these provisional responses.
Regards
El 19/11/2014 12:05, Dragomir Haralambiev escribió:Hello folks,I have opensips (v1.11.3) running here. I am having the following problem:
Sometimes Opensips gets 3 INVITE's with the same From: tag ~0.5 seconds apart of each oother.
After executing t_relay() opensips sends 3 invites to the upstream provider.
What should I do to limit t_relay() of forwarding only one INVITE request?
This is how trace looks like:OpenSips
---- INVITE ----->
---- INVITE ----->
---- INVITE ----->
t_relay
<--100 Give a Try--
---- INVITE ----->
<--100 Give a Try--
---- INVITE ----->
<--100 Give a Try--
---- INVITE ----->Best regards,PlayMen_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
