[SR-Users] force_send_socket
Alex Balashov
abalashov at evaristesys.com
Wed Dec 11 10:35:06 CET 2013
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/
More information about the sr-users
mailing list