What does it mean it fails?
What I mean is that the call is routed to the IVR that says "the number you dialed does not belong to any of our subs...". If I sit down and dial one of my phones 20 times in a row, I will get at least 1 time where the "
QUERY="select username from subscriber where username="$SIP_OUSER"";"
Does not return a positive result even though the SIP trace shows I dialed the right number. So I am not sure where it is being missed. This is a server with virtually no load, 1GB Memory, P4, 2.4GHz, so I am sure I am not running out of resources. What else could it be?
Generally, I think the exec module is good for new features, my intuition is that the overhead is fairly high and once features stabilize it is benefitial to implement them as a native module.
-jiri