Hello,
I think the ougoing request is already created in that event route, the set advertise address being used too late from that perspective -- however, there is no hook before to set it.
Open an enhancement issue on the tracker not to forget about it and I will check to see if there is a possibility to add this feature.
Cheers, Daniel
On 21/08/14 12:00, Kristian F. Høgh wrote:
Hi,
Our kamailio 4.0.6 proxy uses pua/pua_dialoginfo and an external presence server. The PUBLISH requests generated by pua* appear in tm:local-request event route.
Before sending, we call set_advertised_address and force_send_socket. Still the requests have the IP address from the first "listen=" as source and Via address. The requests are send out using the correct interface and no errors are logged.
When forwarding SUBSCRIBE requests received from clients, force_send_socket before t_relay_to_udp do work as expected.
mhomed=1 solves the issue, but I prefer force_send_socket.
Regards, Kristian Høgh Uni-tel
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users