[Kamailio-Devel] Is it possible to get the message *total* size before sending it?

Klaus Darilion klaus.mailinglists at pernau.at
Mon Mar 16 14:21:45 CET 2009



Iñaki Baz Castillo schrieb:
> El día 16 de marzo de 2009 9:10, Raúl Alexis Betancor Santana
> <rabs at dimension-virtual.com> escribió:
>> On Sunday 15 March 2009 21:01:58 Iñaki Baz Castillo wrote:
>>> Hi, is there any way to get the request/response total size (including
>>> headers and body) just before forwarding the message? this is: after all
>>> the modifications in the mesage have taken place.
>> I doubt so, because all the transformations are done when you "t_relay" the
>> msg.
> 
> Yes, that's waht I thouht. However, I remember that in SER there is
> some special route block which receives the request after
> transformations are done, not sure anyway...

AFAIK in SR core there is the possibility to apply lumps before t_relay 
(e.g. needed for SIP identity)

regards
klaus

> 
> Thanks.
> 
> 



More information about the Devel mailing list