[OpenSER-Users] avp_db_load() with avp aliases

Papadopoulos Georgios geop at altectelecoms.gr
Mon Oct 1 09:09:11 CEST 2007


Hello all,
 
Recently I changed all my avps from string names to aliases. I noticed
that all my avp_db_load() calls are failing. From the tests that I did,
I conclude that it fails when the 2nd argument to the function is an avp
with an alias:
 
avp_aliases="caller = i:100;
                    pkt = i:111"

avp_db_load("$avp(s:caller)/uri", "$avp(s:pkt)")     works ok
avp_db_load("$avp(caller)/uri", "$avp(s:pkt)")        works ok
avp_db_load("$avp(caller)/uri", "$avp(pkt)")           fails

What am I doing wrong? My version is 1.2 from svn (rev. 2826)
 
thank you for any help
 
George
 

Disclaimer
The information in this e-mail and any attachments is confidential. It is intended solely for the attention and use of the named addressee(s). If you are not the intended recipient, or person responsible for delivering this information to the intended recipient, please notify the sender immediately. Unless you are the intended recipient or his/her representative you are not authorized to, and must not, read, copy, distribute, use or retain this message or any part of it. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20071001/bd533a98/attachment.htm 


More information about the Users mailing list