Hi,
I'd like to ask whether I am able to change an outgoing port. I'm using t_relay for outgoing INVITEs & Kamailio uses 5060 port defined in listen. When the call fails I am rerouting it using append_branch and I'd like to change an outgoing port to 5061. The reason I'd like to do this is a Loop detection of my buggy VoIP/analog gateway.
Am I able to specify an outgoing interface/port for t_relay in Kamailio or should I find an another gateway? :)
Thanks for help
Kind regards
Efelin
Hi Efelin,
please check the force_send_socket() method from core, it does exactly what you want: http://www.kamailio.org/wiki/cookbooks/devel/core#force_send_socket
Kind regards, Carsten
2013/2/25 Efelin Novak efelin.novak@gmail.com:
Hi,
I'd like to ask whether I am able to change an outgoing port. I'm using t_relay for outgoing INVITEs & Kamailio uses 5060 port defined in listen. When the call fails I am rerouting it using append_branch and I'd like to change an outgoing port to 5061. The reason I'd like to do this is a Loop detection of my buggy VoIP/analog gateway.
Am I able to specify an outgoing interface/port for t_relay in Kamailio or should I find an another gateway? :)
Thanks for help
Kind regards
Efelin
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