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(a)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(a)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(a)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(a)lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe: