[OpenSIPS-Users] Locations with variable

Răzvan Crainea razvan at opensips.org
Mon May 12 10:30:12 CEST 2014


Hi, Mike!

That only works if you are using real-time DB mode. Otherwise, if 
contacts are in memory and are dumped periodically, there will be 
inconsistencies.

Best regards,

Razvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com

On 05/12/2014 11:22 AM, Mike Claudi Pedersen wrote:
> yes, this is not quite what i want, but i found a way around it, with
> *|avp_db_query|*
>
>
> 2014-05-12 10:16 GMT+02:00 Răzvan Crainea <razvan at opensips.org
> <mailto:razvan at opensips.org>>:
>
>     Have you checked the registered() function[1]?
>
>     [1]
>     http://www.opensips.org/html/__docs/modules/1.11.x/registrar#__id294580
>     <http://www.opensips.org/html/docs/modules/1.11.x/registrar#id294580>
>
>     Best regards,
>
>     Razvan Crainea
>     OpenSIPS Core Developer
>     http://www.opensips-solutions.__com <http://www.opensips-solutions.com>
>
>
>     On 05/12/2014 09:09 AM, Mike Claudi Pedersen wrote:
>
>         Is there a way to test the values of location, with a user
>         defined value.
>         an example to usage would be to test if the "FROM" value is in
>         locations, instead of using the predefined "TO" values.
>
>         best regards Mike
>
>
>
>         _________________________________________________
>         Users mailing list
>         Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>         http://lists.opensips.org/cgi-__bin/mailman/listinfo/users
>         <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>
>
>     _________________________________________________
>     Users mailing list
>     Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>     http://lists.opensips.org/cgi-__bin/mailman/listinfo/users
>     <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>
>
>
>
> --
> Med venlig hilsen
> ipnordic A/S
>
> Mike Claudi Pedersen
> Tekniker
>
> Telefon: 79301033
> www.ipnordic.dk <http://www.ipnordic.dk/>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>



More information about the Users mailing list