Hello all,
I'm using Kamailio as SIP redirect where I'm appending the contact header then send reply back using sl_send_reply("300","Multiple Choices").
But I'm getting "print_dset(): no r-uri or branches" as warning in the log and no packet is sent back from Kamailio to the original sender.
I'm using same Kamailio configuration in another setup and it's working correctly without facing this error.
I'm not able to detect the issue. Can you please assist?
Regards,
It's hard to know, without some code or a packet capture. If you can supply those, then I'll look at this for you.
James
On Wed, 6 Dec 2023 at 12:57, Ali Taher via sr-users sr-users@lists.kamailio.org wrote:
Hello all,
I’m using Kamailio as SIP redirect where I’m appending the contact header then send reply back using sl_send_reply("300","Multiple Choices").
But I’m getting “print_dset(): no r-uri or branches” as warning in the log and no packet is sent back from Kamailio to the original sender.
I’m using same Kamailio configuration in another setup and it’s working correctly without facing this error.
I’m not able to detect the issue. Can you please assist?
Regards,
Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe:
Hi!
Have you changed the $rU & $ru?
On Wed, Dec 6, 2023 at 10:15 AM Ali Taher via sr-users < sr-users@lists.kamailio.org> wrote:
Hello all,
I’m using Kamailio as SIP redirect where I’m appending the contact header then send reply back using sl_send_reply("300","Multiple Choices").
But I’m getting “print_dset(): no r-uri or branches” as warning in the log and no packet is sent back from Kamailio to the original sender.
I’m using same Kamailio configuration in another setup and it’s working correctly without facing this error.
I’m not able to detect the issue. Can you please assist?
Regards, __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe:
I encountered this very problem yesterday. My code was similar to this old code quoted a few years ago. https://lists.kamailio.org/pipermail/sr-users/2017-November/099523.html
append_to_reply("Contact: sip:fred at 10.11.12.13\r\n"); sl_send_reply("302","moved"); exit;
The SIP worked fine, but the same error appeared every time the SIP-302 response was sent. To resolve the problem, I changed the code to this.
append_branch("sip:b@example.com"); send_reply("302", "moved");
Now the SIP response works as before, kamailio adds the Contact to the response (so I don't need append_to_reply()), and there's no warning.
James
On Thu, 7 Dec 2023 at 14:34, Saul Ibarra via sr-users sr-users@lists.kamailio.org wrote:
Hi!
Have you changed the $rU & $ru?
On Wed, Dec 6, 2023 at 10:15 AM Ali Taher via sr-users sr-users@lists.kamailio.org wrote:
Hello all,
I’m using Kamailio as SIP redirect where I’m appending the contact header then send reply back using sl_send_reply("300","Multiple Choices").
But I’m getting “print_dset(): no r-uri or branches” as warning in the log and no packet is sent back from Kamailio to the original sender.
I’m using same Kamailio configuration in another setup and it’s working correctly without facing this error.
I’m not able to detect the issue. Can you please assist?
Regards,
Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe:
Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: