Hello, with outgoing white list/black list I am able to put a prefix in the user preference table to block certain out going calls. In the same way is it possible to block incoming calls depending on certain prefixes ( like 1-800)?
Regards, A
Hello,
On 8/27/13 12:04 AM, arun Jayaprakash wrote:
Hello, with outgoing white list/black list I am able to put a prefix in the user preference table to block certain out going calls. In the same way is it possible to block incoming calls depending on certain prefixes ( like 1-800)?
yes, just check to match against from-uri attributes (e.g., $fU or $fu) instead of request uri. Also, the records have to be loaded for r-uri user this time.
Cheers, Daniel
Thank you Daniel.
________________________________ From: Daniel-Constantin Mierla miconda@gmail.com To: arun Jayaprakash jayaprakasharun@yahoo.com; Kamailio (SER) - Users Mailing List sr-users@lists.sip-router.org Sent: Wednesday, September 4, 2013 5:06 AM Subject: Re: [SR-Users] Call Baring
Hello,
On 8/27/13 12:04 AM, arun Jayaprakash wrote:
Hello, with outgoing white list/black list I am able to put a prefix in the user preference table to block certain out going calls. In the same way is it possible to block incoming calls depending on certain prefixes ( like 1-800)?
yes, just check to match against from-uri attributes (e.g., $fU or $fu) instead of request uri. Also, the records have to be loaded for r-uri user this time.
Cheers, Daniel