It is probably a matter of the return code when no contact is found. One returns negative (false), the other one positive (true).
You can have a condition on is_present_hf("Contact"), if you need to really check if the alias was added or not.
Cheers, Daniel
On 17.06.22 12:49, ZZ Wave wrote:
Playing around with WSS support:
if (nat_uac_test(64)) { force_rport(); ...... if (!add_contact_alias()) { xinfo("Error aliasing contact <$ct>\n"); sl_send_reply("400", "Bad Request"); exit; }
set_contact_alias() throws this error on ACK without Contact, add_contact_alias() doesn't (and thats OK). Is this the expected behavior?
Kamailio - Users Mailing List - Non Commercial Discussions
- sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: