[SR-Users] Using dispatcher module : Modifying message before dispatching with send_udp()
Daniel-Constantin Mierla
miconda at gmail.com
Mon Apr 13 19:54:00 CEST 2020
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:luis.rojas at sixbell.com
> http://www.sixbell.com
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
More information about the sr-users
mailing list