Module: sip-router Branch: master Commit: 00f54c06f2f6d4e4c8a5a004eb07367c93b82329 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=00f54c06...
Author: Jan Janak jan@iptel.org Committer: Jan Janak jan@iptel.org Date: Wed May 6 11:17:17 2009 +0200
Serial forking functions.
This patch adds two new functions to tm module, t_load_contacts and t_next_contacts which can be used to implement serial forking.
There are also two new parameters, fr_inv_timer_next and contacts_avp. Parameter fr_inv_timer_next is similar to fr_inv_timer, the value of this parameter is used for subsequent branches during serial forking.
The value of contacts_avp is the identifier of the AVP which contains the list of contacts to be used for serial forking.
The serial forking functions originate from Kamailio where they were implemented by Juha Heinanen.
---
modules/tm/README | 636 +++++++++++++++++++++-------------------- modules/tm/config.c | 3 + modules/tm/config.h | 5 + modules/tm/doc/functions.xml | 79 ++++++ modules/tm/doc/params.xml | 51 ++++ modules/tm/doc/tm.xml | 9 + modules/tm/t_fifo.c | 22 +-- modules/tm/t_funcs.c | 25 ++- modules/tm/t_funcs.h | 24 ++- modules/tm/t_msgbuilder.c | 14 +- modules/tm/t_serial.c | 519 ++++++++++++++++++++++++++++++++++ modules/tm/t_serial.h | 35 +++ modules/tm/tm.c | 15 +- 13 files changed, 1090 insertions(+), 347 deletions(-)
Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=00f5...
There seems to be a conflict with append_str define: - once in kcore/km_ut.h - once in tm/t_funcs.h
It causes lcr to give compilation errors, probably should be merged or one renamed.
Cheers, Daniel
On 05/06/2009 11:25 AM, Jan Janak wrote:
Module: sip-router Branch: master Commit: 00f54c06f2f6d4e4c8a5a004eb07367c93b82329 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=00f54c06...
Author: Jan Janak jan@iptel.org Committer: Jan Janak jan@iptel.org Date: Wed May 6 11:17:17 2009 +0200
Serial forking functions.
This patch adds two new functions to tm module, t_load_contacts and t_next_contacts which can be used to implement serial forking.
There are also two new parameters, fr_inv_timer_next and contacts_avp. Parameter fr_inv_timer_next is similar to fr_inv_timer, the value of this parameter is used for subsequent branches during serial forking.
The value of contacts_avp is the identifier of the AVP which contains the list of contacts to be used for serial forking.
The serial forking functions originate from Kamailio where they were implemented by Juha Heinanen.
Thanks, I'll take care of that.
Jan.
On 06-05 12:26, Daniel-Constantin Mierla wrote:
There seems to be a conflict with append_str define:
- once in kcore/km_ut.h
- once in tm/t_funcs.h
It causes lcr to give compilation errors, probably should be merged or one renamed.
Cheers, Daniel
On 05/06/2009 11:25 AM, Jan Janak wrote:
Module: sip-router Branch: master Commit: 00f54c06f2f6d4e4c8a5a004eb07367c93b82329 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=00f54c06...
Author: Jan Janak jan@iptel.org Committer: Jan Janak jan@iptel.org Date: Wed May 6 11:17:17 2009 +0200
Serial forking functions.
This patch adds two new functions to tm module, t_load_contacts and t_next_contacts which can be used to implement serial forking.
There are also two new parameters, fr_inv_timer_next and contacts_avp. Parameter fr_inv_timer_next is similar to fr_inv_timer, the value of this parameter is used for subsequent branches during serial forking.
The value of contacts_avp is the identifier of the AVP which contains the list of contacts to be used for serial forking.
The serial forking functions originate from Kamailio where they were implemented by Juha Heinanen.