Hello,
thanks for reporting and hints. It is fixed now on SVN.
Cheers,
Daniel
PS. All mails sent to you are returning "Mail delivery failed: returning
message to sender". Is this your good email address?
On 12/10/07 19:00, Helmut Kuper wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi again,
further tests with avp and script_flags raised new problems. When I
write resp. set an AVP like "$avp(i1:10)=10; $avp(i2:10)=20;" and
checking them with "xlog('L_INFO', 'avp(i1:10) avp(i1:20)\n');"
it leads
to "20 20" as output.
In file pvar.c in function pv_get_avp_name() I had to replace
*name_type = 0;
with
*name_type = ip->pvn.u.isname.type;
Then that worked.
- -.-
Additionally I fixed the Alias-Duplicate Problem when you do something
like avp_aliases("A=i1:10; B=i2:20");
In file usr_avp.c I had to change line 427 in function
check_avp_galias() from
type &= AVP_NAME_STR;
to
type &= (AVP_NAME_STR|AVP_SCRIPT_MASK);
- -.-
Then at last, if u want assign a value to an AVP-Alias which uses script
flags replace in file usr_avp.c in function add_avp_galias() around line
482 the line
ga->avp.type = type&AVP_NAME_STR;
with
ga->avp.type = type&(AVP_NAME_STR|AVP_SCRIPT_MASK);
Maybe there are more lines of code to change to get openser handling
script flags correctly... we will c.
regards
helmut
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org
iD8DBQFHXXCx4tZeNddg3dwRAgt/AJ9KP7gzx4qm4or/oTrm4gaVC+ZfzACeIphq
/uDeDC9PplCsLnP9eRWS7KE=
=sGfe
-----END PGP SIGNATURE-----
_______________________________________________
Users mailing list
Users(a)lists.openser.org
http://lists.openser.org/cgi-bin/mailman/listinfo/users