OBiTALK Community

General Support => Day-to-Day Use => Topic started by: saturn on March 24, 2012, 03:57:45 PM

Title: auto select which service to use
Post by: saturn on March 24, 2012, 03:57:45 PM
i am a total noobie here,
is it possible to set it up that whenever i dial a number starting with "0" it automatically routes to sp2 but all other calls route through sp1 ( which i have set as default)?

i am using it internationally, where i have GV and a local sip. All the local numbers here start with "0" so i ould be cool to route it that i can avoid calling up the sp 2 every time i need it.
Title: Re: auto select which service to use
Post by: RonR on March 24, 2012, 04:34:50 PM
Is SP1 configured for Google Voice and US/Canada calling?  If not, please describe the number format.

Is there a pattern (length, etc.) to the numbers that start with 0 which should be redirected to SP2?
Title: Re: auto select which service to use
Post by: saturn on March 25, 2012, 12:31:46 AM


Quote from: RonR on March 24, 2012, 04:34:50 PM
Is SP1 configured for Google Voice and US/Canada calling?  If not, please describe the number format.

Is there a pattern (length, etc.) to the numbers that start with 0 which should be redirected to SP2?

sp1 is gv.
sp2 is the local sip number

all the local numbers start with 0. they are either 9 or 10 digits
no US/canada numbers start with 0.
i guess thats a pattern!

Title: Re: auto select which service to use
Post by: RonR on March 25, 2012, 05:36:34 AM
Service Providers -> ITSP Profile A -> General -> DigitMap:

(<1>[2-9]xxxxxxxxx|1xxxxxxxxxx|011xx.|<**2>0xx.)


Service Providers -> ITSP Profile B -> General -> DigitMap : (0xx.|(Mipd)|[^*#]@@.'@'@@.)


This assumes that none of the local numbers begin with 011.


10 digits  ->  SP1  (beginning with 2-9)
11 digits  ->  SP1  (beginning with 1)
     011+  ->  SP1
        0+  ->  SP2
Title: Re: auto select which service to use
Post by: saturn on March 25, 2012, 07:06:50 AM
Thank You!
I will try it soon!

If it works, your awesome!
Title: Re: auto select which service to use
Post by: saturn on March 26, 2012, 09:05:19 AM
worked like a charm!
your the man!