News:

On Tuesday September 6th the forum will be down for maintenance from 9:30 PM to 11:59 PM PDT

Main Menu

need to simplify Google Voice dialing for international number

Started by Obvdobi, October 19, 2011, 01:04:48 PM

Previous topic - Next topic

Obvdobi

I have a Obi110 and would like to simplify Google voice dailing.

Current setup is

  • ITSP A->GOOGLE VOICE
  • ITSP B->ASTERISK (just setup on my router and haven't got a solid plan to use it yet)

My plan is to allow

  • Dial any international number 011... as usual
  • Allow dialing any international number with 00... as well.
  • Dial any number such as 010xx. or 0[2-9]xx. to dial as 0118610xx. or 01186[2-9]xx. . Example: 010-5555-5555 will be dialed as 011861055555555, 0351-5555-5555 will be 0118635155555555

Is it hard to do?


Another question: In setup Wizard, there is a ITSP DigitMap, then in Service Providers, for PROFILE A and b, there are two more DigitMap. Does ITSP DigitMap include ITSP Profile A and ITSP Profile B? I'm not sure how the relationships work.

RonR

Service Providers -> ITSP Profile A -> General -> DigitMap:

(1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|<1aaa>[2-9]xxxxxx|
<0:01186>10xx.|<0:01186>[2-9|xx.|011xx.|<00:011>xx.|(Mipd)|[^*]@@.'@'@@.)

where aaa is your local area code.

RonR

Quote from: Obvdobi on October 19, 2011, 01:04:48 PM
Another question: In setup Wizard, there is a ITSP DigitMap, then in Service Providers, for PROFILE A and b, there are two more DigitMap. Does ITSP DigitMap include ITSP Profile A and ITSP Profile B? I'm not sure how the relationships work.

The Setup Wizard is for ITSP Profile A.

You're better off totally ignoring the Setup Wizard and using just the real configuration items.

Obvdobi

Quote from: RonR on October 19, 2011, 01:28:50 PM
Service Providers -> ITSP Profile A -> General -> DigitMap:

(1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|<1aaa>[2-9]xxxxxx|
<0:01186>10xx.|<0:01186>[2-9|xx.|011xx.|00xx.|(Mipd)|[^*]@@.'@'@@.)

where aaa is your local area code.


Thanks, I will give it a try.  I guess it means <0:01186> is doing the replacing 0 with 01186. Awesome! I will give it a try tonight. 

Does 00 work with international number for Google Voice just like 011?

Also in my original DigitMap, the end is "@@." should it be changed to "@@.'@'@@."?  what's the difference?

Thank you, Ron.

RonR

Quote from: Obvdobi on October 19, 2011, 01:42:39 PM
Does 00 work with international number for Google Voice just like 011?

Probably not (I don't know for sure and haven't tried it).  I got wrapped up in the other changes and forgot to do the substitution.  I've updated it.

Quote from: Obvdobi on October 19, 2011, 01:42:39 PM
Also in my original DigitMap, the end is "@@." should it be changed to "@@.'@'@@."?  what's the difference?

[^*]@@. matches way too much (anything that doesn't start with an *).  [^*]@@.'@'@@. just matches SIP URI's, the intended purpose of that rule.


Obvdobi

After reading this page: http://www.obitalk.com/forum/index.php?topic=1740.0, I have another question:

Let's say my SP1 (google voice) ran out of money or has poor quality for international calls, I would like to switch to SP2 for all international calls. Can I just modify SP1's DigitMap from

  • (1xxxxxxxxxx|<1615>[2-9]xxxxxx|<1>[2-9]xxxxxxxxx|<0:01186>1[02-9]xx.|<0:01186>[2-9]xx.|011xx.|<00:011>xx.|xx.|(Mipd)|[^*]@@.)

to


  • (1xxxxxxxxxx|<1615>[2-9]xxxxxx|<1>[2-9]xxxxxxxxx|<0:**201186>1[02-9]xx.|<0:**201186>[2-9]xx.|<**2>011xx.|<00:**2011>xx.|xx.|(Mipd)|[^*]@@.)
?


Obvdobi

Great, but i found one problem.  This approach does not preserve SP1's ability to make international calls if I dial **1. Is there a way to solve it?