[OpenSER-Users] Question about avp_aliases and script_flags

Daniel-Constantin Mierla daniel at voice-system.ro
Fri Nov 16 14:43:13 CET 2007


Hello,

On 11/16/07 11:34, Helmut Kuper wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello again,
>
> isn't there anyone who can answere this ? It's not really critical for
> me, but an avp alias is much better to understand than $avp(i1:10) ...
>   
do you have multiple aliases to same avp ID but with different flags?

If so and does not work, please add a feature request for 1.4, the 
aliases were designed for names, didn't take in consideration at that 
time the flags, but makes sense to some extent now, so should be kept in 
a list, not to be forgotten:

http://sourceforge.net/tracker/?atid=743023&group_id=139143&func=browse

Cheers,
Daniel

> regards
> Helmut
>
>
> Helmut Kuper schrieb:
>   
>> Hi,
>>
>> avpops doc say that avp spec for integer values is
>> $avp(i[script_flags]:<ID>)
>>
>> Is it possible to set avp aliases to that values, e.g. avp_aliases="x=i1:10"
>> avp_aliases="y=i2:10"
>>
>> ?
>>
>> When I do that, I got this error message in openser 1.3:
>>
>> Nov 14 16:00:42 [28355] ERROR:core:add_avp_galias: duplicate alias/avp entry
>> Nov 14 16:00:42 [28355] ERROR:core:add_avp_galias_str: add global alias
>> failed
>> Nov 14 16:00:42 [28355] CRITICAL:core:yyerror: parse error (54,3-4):
>> invalid AVP aliases
>>
>> regards
>> helmut
>>
>>
>>     
>
> _______________________________________________
> Users mailing list
> Users at lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/users
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFHPWQa4tZeNddg3dwRArm5AJ47pYj09WJxe+7rU24GLUWuDdou1QCgtDBi
> tSxsJw6Z8Z1bm74o1c5w4Co=
> =nxga
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Users mailing list
> Users at lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/users
>
>   




More information about the Users mailing list