[Kamailio-Users] is avp the best option?

Klaus Darilion klaus.mailinglists at pernau.at
Mon Jun 29 12:41:58 CEST 2009


Yes, You Can! :-)

But actually, as AVPs are related to a transaction. Thus, as I think you 
want to use this variables in a global context you should take a look at 
shared variables, which can also be changed over the MI interface during
runtime:
http://www.kamailio.org/dokuwiki/doku.php/pseudovariables:devel#shared_variables

Further, the htables module can be interesting too:
http://www.kamailio.org/docs/modules/1.5.x/htable

regards
klaus



Juan Perez schrieb:
> hello
> 
> I need to load into memory a list of ip address associated with an index:
> ex:
> index, IP
> 1, 192.168.1.1
> 2. 192.168.1.2
> 3, 192.168.1.3
> .........
> .........
> n, 192.168.1.n
> 
> then at some point in the config I will call the variable, passing the index as argument and retrieving the IP as result
> can I do it with the avp module?
> 
> cheers
> 
> jp
> 
> 
>       
> 
> 
> _______________________________________________
> Kamailio (OpenSER) - Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users



More information about the Users mailing list