Hi, an INVITE arrives to SR and the config script just executes:
sl_reply("404", "Bye Bye"); exit;
So no server transaction has been created. But when the ACK arrives it's correctly absorbed by SR transport layer (as it doesn't arrive to the script logic).
My question is: how does SR match such ACK? was some timer started to match and absorv the ACK?
Thanks a lot.
See http://sip-router.org/docbook/sip-router/branch/master/modules/sl/sl.html
-Jan
On Sun, May 15, 2011 at 18:53, Iñaki Baz Castillo ibc@aliax.net wrote:
Hi, an INVITE arrives to SR and the config script just executes:
sl_reply("404", "Bye Bye"); exit;
So no server transaction has been created. But when the ACK arrives it's correctly absorbed by SR transport layer (as it doesn't arrive to the script logic).
My question is: how does SR match such ACK? was some timer started to match and absorv the ACK?
Thanks a lot.
-- Iñaki Baz Castillo ibc@aliax.net
sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
2011/5/16 Jan Janak jan@ryngle.com:
See http://sip-router.org/docbook/sip-router/branch/master/modules/sl/sl.html
The Overview section explains it in detail, I missed it :)
Thanks a lot.
On 05/15/2011 08:16 PM, Iñaki Baz Castillo wrote:
2011/5/16 Jan Janakjan@ryngle.com:
See http://sip-router.org/docbook/sip-router/branch/master/modules/sl/sl.html
The Overview section explains it in detail, I missed it :)
Thanks a lot.
That is actually pretty clever. So is that what calc_crc_suffix() does?
On Sun, May 15, 2011 at 20:19, Alex Balashov abalashov@evaristesys.com wrote:
On 05/15/2011 08:16 PM, Iñaki Baz Castillo wrote:
2011/5/16 Jan Janakjan@ryngle.com:
See http://sip-router.org/docbook/sip-router/branch/master/modules/sl/sl.html
The Overview section explains it in detail, I missed it :)
Thanks a lot.
That is actually pretty clever. So is that what calc_crc_suffix() does?
Yes, calc_crc_suffix is used to generate SR-specific part of To tag.
-Jan
2011/5/16 Jan Janak jan@ryngle.com:
Yes, calc_crc_suffix is used to generate SR-specific part of To tag.
Hi Jan, and which function is used to match ACK's Totag for statelessly generated [3456]XX final responses?
Thanks a lot.
On 05/16/2011 04:38 AM, Iñaki Baz Castillo wrote:
2011/5/16 Jan Janakjan@ryngle.com:
Yes, calc_crc_suffix is used to generate SR-specific part of To tag.
Hi Jan, and which function is used to match ACK's Totag for statelessly generated [3456]XX final responses?
Thanks a lot.
It looks like it's done in sl_filter_ACK() in modules/sl/sl_funcs.c, which is registered as a pre-script/request callback in sl.c.