Great, thanks! it works!

Best regards,

Luis

On 4/13/20 1:54 PM, Daniel-Constantin Mierla wrote:
Hello,

use msg_apply_changes() (from textopsx) before send_udp().

Cheers,
Daniel

On 13.04.20 18:02, Luis Rojas G. wrote:
Hello,

I am using the dispatcher module, Kamailio version 5.3.3. The point
is, I am using send_udp() to forward the message, because I don't want
Kamailio to add headers Via nor Record-Route. I am just dispatching
the Invite message, and the rest of communication to be made just
between the endpoints, not through Kamailio.

However,  I need to add before a custom header, using append_hf().  It
seems, send_udp() really changes nothing at all in the message, not
even something added by the script with append_hf(). It works if I use
forward(), but not if I use send_udp().

Is there a way to accomplish this?

Best regards,

--
Luis Rojas
Software Architect
Sixbell
Los Leones 1200
Providencia
Santiago, Chile
Phone: (+56-2) 22001288
mailto:[email protected]
https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.sixbell.com%2F&data=02%7C01%7C%7C5c9e6b2c71b04559013508d7dfd3a880%7Cab4a33c2b5614f798601bc921698ad08%7C0%7C0%7C637223972496531226&sdata=jwlypRLkYiufs4wA3WTF8mPiQMuMgE01CBH2sbFAOcw%3D&reserved=0


_______________________________________________
Kamailio (SER) - Users Mailing List
[email protected]
https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.kamailio.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fsr-users&data=02%7C01%7C%7C5c9e6b2c71b04559013508d7dfd3a880%7Cab4a33c2b5614f798601bc921698ad08%7C0%7C0%7C637223972496531226&sdata=FyW6GLrfJMqqDZGJguamvcaqIeqyCKSF9jQ5ptD7H4s%3D&reserved=0


--
Luis Rojas
Software Architect
Sixbell
Los Leones 1200
Providencia
Santiago, Chile
Phone: (+56-2) 22001288
mailto:[email protected]
http://www.sixbell.com


_______________________________________________
Kamailio (SER) - Users Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to