In order to forward calls to voicemail when the user is not registered, I need to check if the user exists in the subscriber database. How can I do that?
Thanks,
A.
Hi Adam,
see the "does_uri_exists()" function from uri_db module: http://www.openser.org/docs/modules/0.9.x/uri_db.html#AEN203
regards, bogdan
Adam Sherman wrote:
In order to forward calls to voicemail when the user is not registered, I need to check if the user exists in the subscriber database. How can I do that?
Thanks,
A.
On 8/4/05, Bogdan-Andrei Iancu bogdan@voice-system.ro wrote:
see the "does_uri_exists()" function from uri_db module: http://www.openser.org/docs/modules/0.9.x/uri_db.html#AEN203
In order to forward calls to voicemail when the user is not registered, I need to check if the user exists in the subscriber database. How can I do that?
Wow, fast response! I'm trying that, but it seems to be returning false for a known user. I don't see it looking up the user in the database either. Maybe a domain related configuration issue?
Thanks,
A.
On 8/4/05, Adam Sherman carbon60@gmail.com wrote:
Wow, fast response! I'm trying that, but it seems to be returning false for a known user. I don't see it looking up the user in the database either. Maybe a domain related configuration issue?
Guess I need to configure the module then, don't I!
From what I'm reading, it will only search a specific table, right?
A.
Hi Adam,
the module uses the default the subscriber table, so should be ok; pay attention to "use_domain" parameter. to debug it, look into mysql logs for the performed query 0 it will help in spotting the problem.
regards, bogdan
Adam Sherman wrote:
On 8/4/05, Adam Sherman carbon60@gmail.com wrote:
Wow, fast response! I'm trying that, but it seems to be returning false for a known user. I don't see it looking up the user in the database either. Maybe a domain related configuration issue?
Guess I need to configure the module then, don't I!
From what I'm reading, it will only search a specific table, right?
A.
On 8/5/05, Bogdan-Andrei Iancu bogdan@voice-system.ro wrote:
the module uses the default the subscriber table, so should be ok; pay attention to "use_domain" parameter. to debug it, look into mysql logs for the performed query 0 it will help in spotting the problem.
Indeed, seems there where no queries at all. Added some logging and noticed my routing was confused. :-)
Thanks for your help,
A.