[Serusers] Modules writing and overhead.

sip sip at arcdiv.com
Thu Sep 29 15:22:12 CEST 2005


Well, I ended up muddling through the module API long enough to write a module
to handle a specific scenario. Some of our UAs have *69 capability (call
return here in the US of A), some don't... so I wrote a module that takes data
from our ACC log (using a raw query since the regular query doesn't have the
LIKE functionality) and finds out who the last user to send an invite to the
currently dialing user was and connects the call accordingly. 

I understand that this may be a little like trimming a mustache with a
weedwacker, but the severely limited set of available database manipulation
operations available through existing modules made this somewhat useful (to
me, anyway). 

The question really comes down to... what sort of overhead does it incur to do
something like this? Granted, not everyone and his brother shall be calling
*69 on an even semi-regular basis among my userbase, so it won't even process
much... but should I expect the bottleneck to be (as I expect it is) the
database server and its query speeds? 

N.




More information about the sr-users mailing list