[Users] pseudo-variables in expressions

Daniel-Constantin Mierla daniel at voice-system.ro
Thu Jan 18 11:49:29 CET 2007


Hello Stefano,

this is ongoing development and it will be in the next release.

By now, you ca use avp_check() where you can get same functionality with 
the 're' operator:
http://www.openser.org/docs/modules/1.1.x/avpops.html#AEN384

Cheers,
Daniel


On 01/18/07 12:45, Stefano Capitanio wrote:
> Hi list!
>
> i think it should be useful to use pseudo-variables in if statement, 
> like:
>    if ($fu=~"^sip:[0-9]{3}@") {
>        do_something();
>    };
>
> is it possible?
> maybe this should be a request for developers rather than for users...
>
> regards,
> Stefano
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>




More information about the Users mailing list