---------- Forwarded Message ----------
Subject: [Sems] About field of subscriber Date: Monday 04 December 2006 09:09 From: "chungyu" chungyu@ms11.voip.edu.tw To: sems@lists.iptel.org
Hi:
I add a field in subscriber and using the field routing process
example:
field name:mode format :ture or false
if mode is true route[2]
else route[3]
how can write ser'configuration that call field of subscriber?
AVP can do?
Thank you!
changyu 2006/12/04
-------------------------------------------------------
Hi
I am going through the SER code. Can somebody please confirm if my understanding is correct in the following things happening during initialization time?
1. Use of "children" in cfg file: SER will fork a process for the IP interface specified; if not then one process each for all the IP addresses in the system. This it will do for TCP as well as UDP as well as TLS, means separate processes for each.
Does "children" mean that how many processes you want to fork for each IP interface (or a socket) on which SER is listening? So depending on number of children, there will be multiple forked processes for each IP address/port.
2. If four children are forked for one process, then which one actually receives from socket as all four will be listening on same IP address/port? Is it that some list is maintained and at one time only the process at head node of list calls recvfrom()? After it receives and processes the incoming request, it is put to tail of list.
3. Why is the suggested "children" value 4?
Regards,
Gaurav Kansal
Yes.
Gaurav Kansal wrote:
Hi
I am going through the SER code. Can somebody please confirm if my understanding is correct in the following things happening during initialization time?
Use of "children" in cfg file: SER will fork a process for
the IP interface specified; if not then one process each for all the IP addresses in the system. This it will do for TCP as well as UDP as well as TLS, means separate processes for each.
Does "children" mean that how many processes you want to fork for each IP interface (or a socket) on which SER is listening? So depending on number of children, there will be multiple forked processes for each IP address/port.
If four children are forked for one process, then which one
actually receives from socket as all four will be listening on same IP address/port? Is it that some list is maintained and at one time only the process at head node of list calls recvfrom()? After it receives and processes the incoming request, it is put to tail of list.
Why is the suggested "children" value 4?
Regards,
Gaurav Kansal
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers