Sanjivkumarroshan / csipsimple

Automatically exported from code.google.com/p/csipsimple
0 stars 0 forks source link

Filters ignored #2850

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add any filter
2. Make a call matching it
3. Call is made as if filter does not exist

What is the expected output? What do you see instead?
I'd expect rewrite rules to rewrite, and "can't call" rules to stop a call.

What version of the product are you using? On what device / operating
system?
1.02.03 r2457
Android 4.1

Please provide any additional information below.
Actual rules:
- Has exactly N digits 7 Prefix by 1352
- Has exactly N digits 10 Prefix by 1
- Starts with + Replace match by
- Custom RegExp ^1\d{10}$ Directly call
- All Can't call

Original issue reported on code.google.com by l...@dashjr.org on 11 Dec 2014 at 12:12

GoogleCodeExporter commented 9 years ago
Thanks for the report.
Are you trying to dial from inside csipsimple or from an external dialer?

The feature to "can't call" is currently designed only to avoid calls from 
outside applications (such as stock dialer), assuming user inside csipsimple 
dialer want to force a call using sip + a specified account and would like to 
bypass all rules defined. (It has been added very recently a way to allow 
rewriting rules to apply in this dialer but was not it's primary purpose).

Original comment by r3gis...@gmail.com on 11 Dec 2014 at 10:55

GoogleCodeExporter commented 9 years ago
Inside CSipSimple. I eventually found there is a checkbox needed to enable it, 
and the rewrites seem to be working after I set that.

FWIW, I'm not sure I have a stock dialer... My phone is through FreedomPop, 
which uses SIP for all phone service.

Original comment by l...@dashjr.org on 11 Dec 2014 at 1:04