[Kamailio-Devel] [Serdev] CVS:commitlog: sip_router/modules/tm t_cancel.c t_fwd.c t_reply.c t_reply.h t_suspend.c t_suspend.h tm.c tm_load.c tm_load.h
Klaus Darilion
klaus.mailinglists at pernau.at
Tue Dec 9 12:07:27 CET 2008
Andrei Pelinescu-Onciul schrieb:
> [crossposting since this is of general interest]
>
> On Nov 12, 2008 at 00:30, Klaus Darilion <klaus.mailinglists at pernau.at> wrote:
>> Can this also be used for DNS lookups and TCP/TLS connection setup?
>
> Yes for DNS (see above) and in general for any route-level async processing
> involving tm (e.g. lookup some part of the message in a slow DB and
> execute automatically another route when the DB responds).
>
> It cannot be used for TCP/TLS, but it's not needed anyway. In ser TCP
> connection setup and TCP send is already asynchronous, at least if
> you have tcp_buf_write=yes in ser.cfg (I agree it's not a very well
> chosen name :-)). TLS does not support it yet, so if you use TLS
Hi Andrei!
I wonder what happen if the asynchronous sending fails (e.g. TCP
connection is lost). Will it jump to failure route (for requests)? What
happens if the sending of the response (e.g. 200 ok) fails? Will acc
module account the failed 200 ok?
regards
klaus
More information about the Devel
mailing list