[SR-Users] xhttp and dollar sign

Andreas Granig agranig at sipwise.com
Mon Jun 6 23:14:46 CEST 2011


Hi,

Is it possible to somehow quote the $ sign in xhttp_send_reply() in
order not to be interpreted by kamailio-3.1.3? Tried with "\" and
putting the whole body in single quotes, but I always get this error
message during startup:

ERROR: <core> [pvapi.c:720]: wrong char [$/36] in [${foo}]
ERROR: <core> [sr_module.c:1156]: bad PVE format: "${foo}"
ERROR: <core> [mod_fix.c:501]: Cannot convert function parameter 1 to spve

So I actually just want to return the string "${foo}".

Andreas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20110606/8b9ee36a/attachment-0001.pgp>


More information about the sr-users mailing list