On 12/11/2013 04:31 AM, Keith wrote:
Hi,
I am using force_send_socket as I have two interfaces. It works fine but
at the moment I am hard coding the IP address. I want to use a variable
instead, I have tried the following:
force_send_socket($sel(cfg_get.kamailio.bindip);
But kamailio doesn't start and complains about the format.
force_send_socket() is an old core function that does not accept
variables. Try write to $fs instead:
$fs = "udp:$sel(cfg_get.kamailio.bindip):5060";
-- Alex
--
Alex Balashov - Principal
Evariste Systems LLC
235 E Ponce de Leon Ave
Suite 106
Decatur, GA 30030
United States
Tel: +1-678-954-0670
Web: http://www.evaristesys.com/, http://www.alexbalashov.com/
_______________________________________________
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