2010/10/15 Juha Heinanen <j...@tutpro.com>:
>> No, there is no is_int function, but you could use a hack:
>>
>> if (($v == 0) && ($v + 0 == (str)0))
>>
>> will be true only if $v is int and == 0 ($v == 0 makes sure that
>> $v!="").
>
> daniel,
>
> here you go.  is that in your opinion something that a non-programmer
> could easily figure out?

I think the above is not realistic for a common SR/Kamailio admin.







-- 
Iñaki Baz Castillo
<i...@aliax.net>

_______________________________________________
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

Reply via email to