We're running into a limitation with possibly SER (or the exec module). We have a perl script which runs LCR based on from/to headers in the SIP message. Because it's a rather complex script it can take up to a half second to run. It runs everytime we have an invite of course, the problem we're having is that it appears SER can only fork a maximum of 4 or 5 exec's at a time. When that limit gets reached the exec processes tend to hang.
This is quoted from the exec module manual: --- 1.5. Known Issues
There is currently no guarantee that scripts ever return and stop blocking SIP server. (There is kill.c but it is not used along with the current mechanisms based on popen. Besides that kill.c is ugly). ---
Does anyone have suggestions? We're working on optimizing our lcr script of course, possibly something socket or daemon based.
Thanks, Matt