wow. Cool !!!

On Mon, May 30, 2016 at 1:57 PM, Bogdan-Andrei Iancu <bog...@opensips.org>
wrote:

> Hi John,
>
> The function does not accept any kind of variables, but, with the same
> behavior, you can use the $fs variable (instead of the function):
>     http://www.opensips.org/Documentation/Script-CoreVar-2-2#toc43
>
> So, instead of
>     force_send_socket(tcp:10.10.10.10:5060);
> you can do
>     $fs = "tcp:10.10.10.10:5060";
>
> And on the right side of the assignment you can use any vars you need:
>     $fs = "tcp:"+$avp(my_IP)+":5060";
>
> Regards,
>
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developerhttp://www.opensips-solutions.com
>
> On 29.05.2016 16:20, John Nash wrote:
>
> Is it possible to use avp or any other vraiable as argument
> to force_send_socket ?
>
>
> _______________________________________________
> Users mailing 
> listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to