Hello,
the generation of a redirect reply (3xx) was designed to use the destination set of the corresponding request -- practically is about setting a new R-URI or appending branches, then sending the reply.
Like:
$ru = "sip:+1234;myparam=test@$si:$sp"; send_reply("302", "Moved Temporarily"); exit;
But it should also work with adding the contact with append_to_reply() -- for now that warning message should be ignored, being related to the above design, because it should work even with it.
I guess that log level should be made debug or eventually info.
Cheers, Daniel
On 17.12.24 15:15, elhar.mohamed--- via sr-users wrote:
Hello,
I'm getting this warning WARNING: <core> [core/dset.c:690]: print_dset(): no r-uri or branches when working with async worker.
here is below the code used:
request_route { if (is_method("INVITE")) { append_to_reply("Contact: sip:+1234;myparam=test@$si:$sp\r\n"); send_reply("302", "Moved Temporarily"); exit; } }
Can you please help? __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions -- sr-users@lists.kamailio.org 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!