Iñaki Baz Castillo schrieb:
2009/6/15 Klaus Darilion
<klaus.mailinglists(a)pernau.at>at>:
Wouldn't a sip-router module with this function an even better
solution?
Then every sip-router out there could offer this "service" under some
special username.
It could also be implemented by using transformations. Just add
a
base64
transformation and append_to_reply()
How do you get the original request *untouched* (no ;received param
and so)?
$mb ?
Also, the reply should be "Content-Type:
text/plain".
{..
set_reply_body("$mb{s.base64}", "text/plain");
// \
// -> to be implemented
although it is more expensive
from size point of view than base6, now
you can use s.enconde.hexa:
//
sl_send_reply("200","have fun");
exit;
}
klaus
_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users(a)lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users