Hi Tracy,
the problem is that your script does not send any reply. Add before the exit : sl_send_reply("code", "text") replacing the code and text with the appropriate values.
Also acc_db_request it might be not the most efficient way of logging for your case - see the avp functions (avp_db_query, avp_db_store, etc)
regards, bogdan
Tracy Lofton wrote:
Hi all,
I recently added a function to openser.cfg as shown below:
if (uri=~"^sip:919(00|76)[0-9]{7}@") { acc_db_request("403 - 900/976 Disabled", "acc"); xlog("L_INFO", "Cancel attempt to call 9xx number (not 911), db recorded\n"); exit; };
but when a user calls the 900/976 prefix, it records in the database and the caller is restricted access, however, the caller waits too long before finally hearing a busy signal. Is there a way to speed up a return on the busy signal (some type of timer) or even possibly transfer the call to Asterisk IVR to hear a recording like, call cannot be completed or something, or some type of faster 486 busy. Need advice and how should i implement.
Thanks, Tracy
Get the new Windows Live Messenger! http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&sour...
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users