[OpenSER-Users] avp_db_load() with avp aliases

Daniel-Constantin Mierla daniel at voice-system.ro
Tue Oct 2 11:14:04 CEST 2007


Hello,

can you get the debug messages with debug=7 and the sql query sent to 
the mysql server?

Cheers,
Daniel


On 10/01/07 10:09, Papadopoulos Georgios wrote:
> 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.
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>   




More information about the Users mailing list