RohitJPatil / sipdroid

Automatically exported from code.google.com/p/sipdroid
GNU General Public License v3.0
0 stars 1 forks source link

Exclude regexp issue #248

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Could not get to work the following exclude regexp:
\A\+?[0-9]{4,} 

I'd like to exclude all the numbers, except numbers with length less than 4
digits.
I'm using HTC Hero (MCR 3.0 firmware).
Did some testing, trying to exclude 1234567 and +1234567
\A\+?[0-9]{7} - excludes both numbers.
\A\+?[0-9]{4,} - both numbers are routed to SIP server.

Btw, may be it's possible to add "INCLUDE regexp" feature? E.g. I only need
to route 3 digit numbers to SIP - with "exclude regexp" it seems to be a
bit complex.

Original issue reported on code.google.com by idiako...@gmail.com on 21 Dec 2009 at 10:04

GoogleCodeExporter commented 8 years ago
Using Sipdroid 1.2.2 beta

Original comment by idiako...@gmail.com on 21 Dec 2009 at 10:16

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Issue 442 has been merged into this issue.

Original comment by pmerl...@googlemail.com on 1 May 2010 at 7:21

GoogleCodeExporter commented 8 years ago
Issue 653 has been merged into this issue.

Original comment by pmerl...@googlemail.com on 17 Sep 2010 at 8:31

GoogleCodeExporter commented 8 years ago
Issue 672 has been merged into this issue.

Original comment by pmerl...@googlemail.com on 30 Sep 2010 at 9:49

GoogleCodeExporter commented 8 years ago
The "include pattern" feature may be a good idea. Now someone can only force 
some numbers to be called through the mobile network (using the "exclude 
pattern"). By adding a "include pattern" feature, the user may also have the 
possibility to choose to force some numbers to be called only through SIP.
So if I have the option "Preferred Call Type" set to "Always Ask", I can 
forward some numbers (matching "Exclude Pattern") to Mobile network, forward 
other numbers (matching "Include Pattern") to SIP network and for all other 
numbers (not matching "Exclude pattern" nor matching "Include pattern") I will 
have the pop-up window to have the choice between Mobile network and SIP 
network.

Original comment by joris.vd...@gmail.com on 23 Sep 2012 at 3:58