[sr-dev] [OT] SIP ALG Detector released

Klaus Darilion klaus.mailinglists at pernau.at
Mon Jun 15 17:22:57 CEST 2009



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
  //
  sl_send_reply("200","have fun");
  exit;
}

klaus



More information about the sr-dev mailing list