[Users] avp_printf error
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Tue Nov 28 10:48:03 CET 2006
Hi Gregoire,
From OpenSER 1.0.x to 1.1.0, the avpops syntax was changed. See:
http://www.openser.org/dokuwiki/doku.php/install:1.0.x-to-1.1.x#avpops
you should have:
avp_printf("$avp(i:45)","$dd");
regards,
bogdan
Gregoire wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>Hello!
>
>I am trying to use AVP operation and I experiment some problems. I
>have a line in my configuration like this:
>avp_printf("i:45","$dd");
>
>When I restart my OpenSER server, I got this error:
>
>/usr/sbin/openser[8023]: xl_parse_item: error - bad parameters
>/usr/sbin/openser[8023]: ERROR:avpops:fixup_printf_avp: unable to get
>pseudo-variable in param
>/usr/sbin/openser[8023]: ERROR: fix_actions: fixing failed (code=-2)
>at cfg line 240
>
>And the line 240 is the line where I call the avp_prinf() function.
>I tried with others pseudo-variables but whatever the variable is, I
>get always the same problem.
>
>I am using openser-1.1.0-tls with debian package.
>
>Does someone have some help for me?
>
>Thanks
>
>Greg
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.4.2.2 (GNU/Linux)
>Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
>iD8DBQFFa/9yI8gmGeMTr0sRAj2BAKCGmtXvzOi/hy3//l93fBDbyu6CbwCghiuc
>WgrGqq2Q6HaGed3IALZ0ess=
>=un7M
>-----END PGP SIGNATURE-----
>
>
>_______________________________________________
>Users mailing list
>Users at openser.org
>http://openser.org/cgi-bin/mailman/listinfo/users
>
>
>
More information about the sr-users
mailing list