[OpenSER-Users] OpenSER: AVP script flag bugs in 1.3 and trunk

Helmut Kuper hk at ewetel.de
Tue Dec 18 16:53:32 CET 2007


Hi Daniel,

ok thanks for that.  So I have to use my fix in the meanwhile and hope 
there is no side effect.


regards
Helmut


Daniel-Constantin Mierla schrieb:
> Hello,
>
> I have tried:
>     $avp(i1:22) = 22;
>     $avp(i2:33) = 33;
>
> resulting in:
>
> Dec 17 23:40:43 [13418] INFO:avpops:ops_print_avp: p=0xb5b98fa8, 
> flags=0x0200
> Dec 17 23:40:43 [13418] INFO:avpops:ops_print_avp:                      
> id=<33>
> Dec 17 23:40:43 [13418] INFO:avpops:ops_print_avp:                      
> val_int=<33>
> Dec 17 23:40:43 [13418] INFO:avpops:ops_print_avp: p=0xb5b98f90, 
> flags=0x0100
> Dec 17 23:40:43 [13418] INFO:avpops:ops_print_avp:                      
> id=<22>
> Dec 17 23:40:43 [13418] INFO:avpops:ops_print_avp:                      
> val_int=<22>
>
> And it is correct. The part with aliases does not work, as aliases were 
> defined for names, not for flags, I sent you a reply:
> http://lists.openser.org/pipermail/users/2007-November/014472.html
>
> I have it in the todo list to extend the aliases for avp flags as well.
>
> Cheers,
>   





More information about the Users mailing list