[Kamailio-Devel] SF.net SVN: openser:[5148] trunk/receive.c
Daniel-Constantin Mierla
miconda at gmail.com
Tue Nov 4 11:17:15 CET 2008
On 11/04/08 12:12, Klaus Darilion wrote:
> Daniel-Constantin Mierla schrieb:
>
>> Revision: 5148
>> http://openser.svn.sourceforge.net/openser/?rev=5148&view=rev
>> Author: miconda
>> Date: 2008-10-31 11:03:07 +0000 (Fri, 31 Oct 2008)
>>
>> Log Message:
>> -----------
>> - drop() function used in default onreply_route stops the processing of any reply
>> - previously it stopped only provisional replies (code < 200)
>> - used together with t_check_trans() adds the ability to drop replies not matching an exsiting transaction, solving couple of issues, among them:
>> - security: protect yourself to be used as an open relay for reply
>> - accounting: if proxy was restarted between request and 200ok, transaction does not exists in memory, therefore no accounting, but signaling is ok for caller and callee
>>
>
> How can this function help in the accounting scenario?
>
if you drop 200 ok, the call should not get established, enforcing a new
dial or a later attempt. You don't lose much money.
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://www.asipto.com
More information about the Devel
mailing list