Hello there, I have a Kamailio server acting as registrar server and when the subscriber has more than 1 AOR, kamailio sends an INVITES to each AOR, if one of them replies 404 what should be the kamailio behavior:
1. should Kamailio reply with an ACK and not pass the 404 to UAC? 2. should Kamailio forward the 404 to UAC?
I'm asking this because i'm facing the second behavior, that is, kamailio is forwarding the 404 to UAC and the call is terminated.
Hi all, Forget my last email.
This happens because the phone is sending the 404 in the wrong format.
Thank you and sorry for my last email. Regards José
2016-12-13 14:40 GMT+00:00 José Seabra joseseabra4@gmail.com:
Hello there, I have a Kamailio server acting as registrar server and when the subscriber has more than 1 AOR, kamailio sends an INVITES to each AOR, if one of them replies 404 what should be the kamailio behavior:
- should Kamailio reply with an ACK and not pass the 404 to UAC?
- should Kamailio forward the 404 to UAC?
I'm asking this because i'm facing the second behavior, that is, kamailio is forwarding the 404 to UAC and the call is terminated.
-- Regards José Seabra
Hello,
if the 404 is matching an active transaction, then it should be absorbed when there is another active branch. But if the 404 is not matching the transaction, then it will be forwarded. You can use reply_route {} with a t_check_trans() condition to drop the replies not matching transactions.
Cheers, Daniel
On 13/12/2016 17:12, José Seabra wrote:
Hi all, Forget my last email.
This happens because the phone is sending the 404 in the wrong format.
Thank you and sorry for my last email. Regards José
2016-12-13 14:40 GMT+00:00 José Seabra <joseseabra4@gmail.com mailto:joseseabra4@gmail.com>:
Hello there, I have a Kamailio server acting as registrar server and when the subscriber has more than 1 AOR, kamailio sends an INVITES to each AOR, if one of them replies 404 what should be the kamailio behavior: 1. should Kamailio reply with an ACK and not pass the 404 to UAC? 2. should Kamailio forward the 404 to UAC? I'm asking this because i'm facing the second behavior, that is, kamailio is forwarding the 404 to UAC and the call is terminated. -- Regards José Seabra
-- Cumprimentos José Seabra
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Hello Daniel, Thank you for your reply, In this case the phone sent the 404 that didn't match the dialog.
In order to avoid kamailio forward 404 on this situations i will use the t_check_trans() as you suggested.
Thank you for your great support. Regards José
2016-12-19 8:14 GMT+00:00 Daniel-Constantin Mierla miconda@gmail.com:
Hello,
if the 404 is matching an active transaction, then it should be absorbed when there is another active branch. But if the 404 is not matching the transaction, then it will be forwarded. You can use reply_route {} with a t_check_trans() condition to drop the replies not matching transactions.
Cheers, Daniel
On 13/12/2016 17:12, José Seabra wrote:
Hi all, Forget my last email.
This happens because the phone is sending the 404 in the wrong format.
Thank you and sorry for my last email. Regards José
2016-12-13 14:40 GMT+00:00 José Seabra joseseabra4@gmail.com:
Hello there, I have a Kamailio server acting as registrar server and when the subscriber has more than 1 AOR, kamailio sends an INVITES to each AOR, if one of them replies 404 what should be the kamailio behavior:
- should Kamailio reply with an ACK and not pass the 404 to UAC?
- should Kamailio forward the 404 to UAC?
I'm asking this because i'm facing the second behavior, that is, kamailio is forwarding the 404 to UAC and the call is terminated.
-- Regards José Seabra
-- Cumprimentos José Seabra
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing listsr-users@lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierlawww.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users