Module: sip-router Branch: master Commit: 8863703388f1be349675e4b72329eb702ad33ecd URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=88637033...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: Tue Aug 19 11:32:00 2014 +0200
tm: more details about processing doen by t_check_trans()
- note that last reply is resent for retransmissions matching a transaction
---
modules/tm/README | 8 +++++--- modules/tm/doc/functions.xml | 8 +++++--- 2 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/modules/tm/README b/modules/tm/README index 5ca25af..7952d7f 100644 --- a/modules/tm/README +++ b/modules/tm/README @@ -2479,9 +2479,11 @@ Note not needed for a statefull proxy and it requires additional memory, tm will not keep this information unless needed by some other module or callbacks). - * For other requests (non ACKs and non CANCELs), it will terminate - the script for retransmissions and return false for new requests - (for which no transaction exists yet). + * For other requests (non ACKs and non CANCELs), in case of a + retransmission matching a transaction, it resends the last reply + for that transaction and terminates the config execution. + Otherwise, it returns false (in case of new requests for which no + transaction exists yet).
Note
diff --git a/modules/tm/doc/functions.xml b/modules/tm/doc/functions.xml index 84751cc..af7d11d 100644 --- a/modules/tm/doc/functions.xml +++ b/modules/tm/doc/functions.xml @@ -1381,9 +1381,11 @@ if (t_check_status("(487)|(408)")) { </note> </listitem> <listitem> - <para>For other requests (non ACKs and non CANCELs), it will - terminate the script for retransmissions and return false for - new requests (for which no transaction exists yet).</para> + <para>For other requests (non ACKs and non CANCELs), in case of + a retransmission matching a transaction, it resends the last + reply for that transaction and terminates the config execution. + Otherwise, it returns false (in case of new requests for which + no transaction exists yet).</para> </listitem> </itemizedlist> </para>