[Kamailio-Users] [sr-dev] [OT] SIP ALG Detector released
Daniel-Constantin Mierla
miconda at gmail.com
Thu Jun 18 10:23:31 CEST 2009
Hello,
On 06/15/2009 05:22 PM, Klaus Darilion wrote:
>
>
> Iñaki Baz Castillo schrieb:
>> 2009/6/15 Klaus Darilion <klaus.mailinglists at pernau.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:
http://www.kamailio.org/dokuwiki/doku.php/transformations:devel#s.encode.hexa
base64 would be nice to add as transformation anyhow.
Cheers,
Daniel
> //
> sl_send_reply("200","have fun");
> exit;
> }
>
> klaus
>
> _______________________________________________
> Kamailio (OpenSER) - Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
--
Daniel-Constantin Mierla
http://www.asipto.com/
More information about the sr-users
mailing list