November 26, 2014, 09:06:12 am *
Welcome, Guest. Please login or register.
News:
 
   Forum Home   Search Login Register OBiTALK  
Pages: [1]
  Print  
Author Topic: Setup OutboundCallRoute with a pots line and Google Voice for day to day use  (Read 9059 times)
tbaggott
Newbie
*
Posts: 13


« on: February 14, 2011, 08:41:10 am »

Hi, I looking to change my DigitMap to automatically switch from my pots line to GV when calling out side of my calling area. Right now I have the DigitMap set as   (1xxxxxxxxxx|<1540>xxxxxxx|011xx.|xx.) in the ITSP Profile A.   Any time I call a 540-xxx-xxxx that is not in my local area, I get, that I do not have a long distance carrier. What I want is this, all 540 numbers except 852, 237, 515, 828, 896, 901, 879, 833, 298, 713, 249, 208, 209, 236, 432, 433, 434, 437, 438, 442, 564, 568, 574, 612, 615. 689, 705, 712, 801, 908, 867, 269,289, 234, 453. Go to GV and any other area codes automatically. Pots line is my primary. And I assume I do it in the ITSP Profile A. I'm new at this so make it simple as you can, if possible.
Thank you for any help, tbaggott Smiley
« Last Edit: February 18, 2011, 11:39:21 am by tbaggott » Logged
Northern.Bob
Newbie
*
Posts: 28


« Reply #1 on: February 14, 2011, 09:16:16 am »

I had a similar problem. I wanted my two local area codes (514, 450) plus 911, 310 numbers, 411, and 611 to go out my POTs line and all else out Google Voice. Below is how I modified the "Phone Port" pages OutboundCallRoute:

{(<#:>|911|<1514:514>xxx xxxx|<1450:450>xxx xxxx|310xxxx|411|611):li},{**0:aa},{***:aa2},{(Mpli):pli},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**8:>(Mli)):li},{(<**9:>(Mpp)):pp}

The modified area is in red. In my setup the OBi unit was, for some reason, automatically prepending a 1 to the number dialed so the code <1514:514>xxx xxxx|<1450:450xxx xxx> is there to strip out the 1. The above modified code plus setting  the Primary Line to SP2 (Google Voice) did it for me. Anything not listed in the above code goes out through GV.
Logged
QBZappy
Hero Member & Beta Tester
*****
Posts: 2314



« Reply #2 on: February 14, 2011, 09:41:18 am »

Note this rule:
!1xxx xxx xxxx Barring all 11-digit numbers

Digimaps:
1) Phone line Port:
I assume you want to pass only area code 540 on Pots and block everything else on this line. This keeps it simple. Note the "!" bars numbers. Place the bar everything first, then allow "540". Obi reads digimaps from left to right. I think this should work.

example:
(!1xxx xxx xxxx|<1540>xxxxxxx)

2) GV (SP!):
Insert this into your GV digimap. Don't forget the "|" pipe separator character. Does it matter if 540 goes through GV, it is a free call, other that having local CID to the receivers phone.
!1540|

3) Phone OutboundCallRoute:
{(!1xxx xxx xxxx|x.540xxxxxxx|):li},{(!x.540 xxx xxxx|1xxxxxxxxxx|011xx.|xx.):sp1},

There are other ways to do this I'm sure. Maybe someone else can have a shot at it.
Logged

Owner of the 1st OBi110/100 units in service in Canada & South America. 1st OBi202 on my street.
tbaggott
Newbie
*
Posts: 13


« Reply #3 on: February 14, 2011, 11:20:02 am »

Hi, Would this work in the "Phone Port" pages OutboundCallRoute, without changing the primary from PSTN

{(<#:>|911|<1540:540>xxxxxxx|208xxxx|209xxxx|234xxxx|236xxxx|237xxxx|249xxxx|269xxxx|289xxxx|298xxxx|432xxxx|433xxxx|134xxxx|437xxxx|438xxxx|442xxxx|453xxxx|515xxxx|564xxxx|568xxxx|574xxxx|612xxxx|615xxxx|689xxxx|705xxxx|712xxxx|713xxxx|801xxxx|828xxxx|833xxxx|852xxxx|867xxxx|879xxxx|896xxxx|901xxxx|908xxxx|411):li},{**0:aa},{***:aa2},{(Mpli):pli},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**8:>(Mli)):li},{(<**9:>(Mpp)):pp}

Thanks, tbaggott
« Last Edit: February 18, 2011, 11:40:32 am by tbaggott » Logged
tbaggott
Newbie
*
Posts: 13


« Reply #4 on: February 14, 2011, 11:44:59 am »

Hi,  Also if I have to make my Primary Line to SP1 (Google Voice) how do I do that. 
thanks, tbaggott
Logged
tbaggott
Newbie
*
Posts: 13


« Reply #5 on: February 14, 2011, 07:40:39 pm »

Note this rule:
!1xxx xxx xxxx Barring all 11-digit numbers

Digimaps:
1) Phone line Port:
I assume you want to pass only area code 540 on Pots and block everything else on this line. This keeps it simple. Note the "!" bars numbers. Place the bar everything first, then allow "540". Obi reads digimaps from left to right. I think this should work.

example:
(!1xxx xxx xxxx|<1540>xxxxxxx)

2) GV (SP!):
Insert this into your GV digimap. Don't forget the "|" pipe separator character. Does it matter if 540 goes through GV, it is a free call, other that having local CID to the receivers phone.
!1540|

3) Phone OutboundCallRoute:
{(!1xxx xxx xxxx|x.540xxxxxxx|):li},{(!x.540 xxx xxxx|1xxxxxxxxxx|011xx.|xx.):sp1},

There are other ways to do this I'm sure. Maybe someone else can have a shot at it.

I tried number 3 first and that works with 11 digit numbers. not 7 digit. BTW I'm assuming I just put that string in front of line?  Also if you look at the post from me above, can we some how put in 540>xxxxxxx|208xxxx|209xxxx|234xxxx|236xxxx.......go to the pots line?

number 2. GV digimap is this now (1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|011xx.|xx.)  where do I put  !1540|   I would like 7 digit 540 to go to pots line.

Number 1. Digimaps Phone line Port is this now  ([1-9]|[1-9][0-9]|911|**0|***|#|(Mpli)|**1(Msp1)|**2(Msp2)|**8(Mli)|**9(Mpp))  where do I put   (!1xxx xxx xxxx|<1540>xxxxxxx)
« Last Edit: February 14, 2011, 07:53:03 pm by tbaggott » Logged
tbaggott
Newbie
*
Posts: 13


« Reply #6 on: February 14, 2011, 07:48:22 pm »

I had a similar problem. I wanted my two local area codes (514, 450) plus 911, 310 numbers, 411, and 611 to go out my POTs line and all else out Google Voice. Below is how I modified the "Phone Port" pages OutboundCallRoute:

{(<#:>|911|<1514:514>xxx xxxx|<1450:450>xxx xxxx|310xxxx|411|611):li},{**0:aa},{***:aa2},{(Mpli):pli},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**8:>(Mli)):li},{(<**9:>(Mpp)):pp}

The modified area is in red. In my setup the OBi unit was, for some reason, automatically prepending a 1 to the number dialed so the code <1514:514>xxx xxxx|<1450:450xxx xxx> is there to strip out the 1. The above modified code plus setting  the Primary Line to SP2 (Google Voice) did it for me. Anything not listed in the above code goes out through GV.

I tried the fix above with the changes from my other post. It seemed of worked And I did some testing but I was unable to make my GV the primary. So I have been trying QBZappy fix. so many reboots and I get mad and default them back. But I'm get a good idea what does what.  Thank you for helping.
« Last Edit: February 18, 2011, 11:40:56 am by tbaggott » Logged
QBZappy
Hero Member & Beta Tester
*****
Posts: 2314



« Reply #7 on: February 14, 2011, 08:37:40 pm »

Hi,

Your quote:
"I tried number 3 first and that works with 11 digit numbers. not 7 digit. BTW I'm assuming I just put that string in front of line?  Also if you look at the post from me above, can we some how put in 540>xxxxxxx|208xxxx|209xxxx|234xxxx|236xxxx.......go to the pots line?"

Reply:

Yes put it in front. Like this:

Mod+Default=
{(!1xxx xxx xxxx|x.540xxxxxxx|):li},{(!x.540 xxx xxxx|1xxxxxxxxxx|011xx.|xx.):sp1},{(<#:>|911):li},{**0:aa},{***:aa2},{(Mpli):pli},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**8:>(Mli)):li},{(<**9:>(Mpp)):pp}


It is not pick 1, 2 or 3. You need to do all 3 steps.When setting up voip we have to define certain things in advance. For now this is the short answer.

Step 1 defines what digits are permited to be dialed on the phone line port
Step 2 defines what digits are permitted to be dialed on GV
Step 3 defines the call path and digit manipulation (add or subtract digits to what was dialed). Then decide which trunk we are using based on the rules implied in the outbound call route.

More clarification of #3:
3) Phone OutboundCallRoute: I added 208 & 209 as an example. Add as many area codes as you need. Separate each with a "|".
{(!1xxx xxx xxxx|x.540xxxxxxx|x.208xxxxxxx|x.209xxxxxxx):li},{(!x.540 xxx xxxx|1xxxxxxxxxx|011xx.|xx.):sp1},

Your example:
540>xxxxxxx|208xxxx|209xxxx|234xxxx|236xxxx....... Try this. Remove the ">". See above.
Logged

Owner of the 1st OBi110/100 units in service in Canada & South America. 1st OBi202 on my street.
Northern.Bob
Newbie
*
Posts: 28


« Reply #8 on: February 15, 2011, 12:59:03 am »

"but I was unable to make my GV the primary."

You need only go to Physical Interface>Phone Port, un-check PrimaryLine which is set to PSTN by default and change it to either Sp1 or Sp2 whichever is set up for GV. Click the Submit button on the bottom of the page and before leaving the page, reboot to save your changes.
Logged
tbaggott
Newbie
*
Posts: 13


« Reply #9 on: February 15, 2011, 02:02:52 pm »

OK this what I have done. I tried all that QBZappy and I failed. I must be missing some thing.  So I tried Northern.Bob Idea. I defaulted the unit back to factory settings. I did Google Voice Configuration Wizard and put GV as primary. Made only one change and that was to the Phone Port OutboundCallRoute. This is what I came up with.

{(<#:>|911|<1540:540>xxx xxxx|208xxxx|209xxxx|234xxxx|236xxxx|237xxxx|249xxxx|269xxxx|289xxxx|298xxxx|432xxxx|433xxxx |434xxxx|437xxxx|438xxxx|442xxxx|453xxxx|515xxxx|564xxxx|568xxxx|574xxxx|612xxxx|615xxxx|689xxxx |705xxxx|712xxxx|713xxxx|801xxxx|828xxxx|833xxxx|852xxxx|867xxxx|879xxxx|896xxxx|901xxxx|908xxxx |411):li},{**0:aa},{***:aa2},{(Mpli):pli},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**8:>(Mli)):li},{(<**9:>(Mpp)):pp}
or
{(<#:>|911|<1540:540>xxx xxxx|540208xxxx|540209xxxx|540234xxxx|540236xxxx|540237xxxx|540249xxxx|540269xxxx|540289xxxx |540298xxxx|540432xxxx|540433xxxx|540434xxxx|540437xxxx|540438xxxx|540442xxxx|540453xxxx |540515xxxx|540564xxxx|540568xxxx|540574xxxx|540612xxxx|540615xxxx|540689xxxx|540705xxxx| 540712xxxx|540713xxxx|540801xxxx|540828xxxx|540833xxxx|540852xxxx|540867xxxx|540879xxxx| 540896xxxx|540901xxxx|54008xxxx|411):li},{**0:aa},{***:aa2},{(Mpli):pli},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**8:>(Mli)):li},{(<**9:>(Mpp)):pp}

What works: Calling 11 digits (goes GV), calling any 540 xxx xxxx numbers and xxx xxxx with 540 add automatically (goes to pots line).
What does not work is calling 540 363 xxxx or 363 xxxx If I'm right that should goto GV. Or any other number not in OutboundCallRoute.
What is it that I'm missing?Huh?  
« Last Edit: February 18, 2011, 11:41:13 am by tbaggott » Logged
tbaggott
Newbie
*
Posts: 13


« Reply #10 on: February 16, 2011, 02:46:23 pm »

OK I got it, its a little messy. But it works. Did no changes to any DigitMap. (Google Voice when installed did change the default DigitMap in SP1) My primary line is SP1 (GV) so this is the phone OutboundCallRoute:{(<#:>|911|<1540:>208 xxxx|<1540:>209 xxxx|<1540:>234 xxxx|<1540:>236 xxxx|<1540:>237 xxxx|<1540:>249 xxxx|<1540:>269 xxxx|<1540:>289 xxxx|<1540:>298 xxxx|<1540:>432 xxxx|<1540:>433 xxxx|<1540:>434 xxxx|<1540:>437 xxxx|<1540:>438 xxxx|<1540:>442 xxxx|<1540:>453 xxxx|<1540:>515 xxxx|<1540:>564 xxxx|<1540:>568 xxxx|<1540:>574 xxxx|<1540:>612 xxxx|<1540:>615 xxxx|<1540:>689 xxxx|<1540:>705 xxxx|<1540:>712 xxxx|<1540:>713 xxxx|<1540:>801 xxxx|<1540:>828 xxxx|<1540:>833 xxxx|<1540:>852 xxxx|<1540:>867 xxxx|<1540:>879 xxxx|<1540:>896 xxxx|<1540:>901 xxxx|<1540:>908xxxx|):li},{**0:aa},{***:aa2},{(Mpli):pli},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**8:>(Mli)):li},{(<**9:>(Mpp)):pp}

A note about the spaces between "234 xxxx" Have to be there. So now all my local 540 028 xxxx and see above go out though my pots line and numbers like 540 363 xxxx got to SP1 GV

I saw hoping this could be cleaned up by the right person (not me)
Thanks for any help you been.  Tom
« Last Edit: February 16, 2011, 05:24:37 pm by tbaggott » Logged
QBZappy
Hero Member & Beta Tester
*****
Posts: 2314



« Reply #11 on: February 16, 2011, 04:04:50 pm »

Hi,
I see that the 208, 209 etc.. are not area codes. I understand now what you were trying to do. Congrats you made it work! Cheesy
Logged

Owner of the 1st OBi110/100 units in service in Canada & South America. 1st OBi202 on my street.
tbaggott
Newbie
*
Posts: 13


« Reply #12 on: February 17, 2011, 02:44:41 pm »

OK, with help from obi support (thank you!!!!) I was able to clean it up. Any numbers in the 7th digit. like 234/236/237 we put in there 23[467]   I'm assuming it will process faster this way and it looks cleaner. Both ways still work. Here it is.

{(<#:>|911|411|<1540:>20[89] xxxx|<1540:>23[467] xxxx|<1540:>249 xxxx|<1540:>269 xxxx|<1540:>289 xxxx|<1540:>298 xxxx|<1540:>43[23478] xxxx|<1540:>442 xxxx|<1540:>453 xxxx|<1540:>515 xxxx|<1540:>56[48] xxxx|<1540:>568 xxxx|<1540:>574 xxxx|<1540:>61[25] xxxx|<1540:>689 xxxx|<1540:>705 xxxx|<1540:>71[23] xxxx|<1540:>713 xxxx|<1540:>801 xxxx|<1540:>828 xxxx|<1540:>833 xxxx|<1540:>852 xxxx|<1540:>867 xxxx|<1540:>879 xxxx|<1540:>896 xxxx|<1540:>901 xxxx|<1540:>908xxxx):li},{**0:aa},{***:aa2},{(Mpli):pli},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**8:>(Mli)):li},{(<**9:>(Mpp)):pp}

This would be a good as a wizard. Unless all numbers are fee in your area code, on your pots line. These above are the only free calls I can make on the pots line. All other numbers get a 1540 (in my case) in front of them and go to GV. Thank you for all the help you guys have been.  Smiley Smiley Smiley Smiley Smiley Smiley
Logged
MichiganTelephone
OBi110 Beta Testers
***
Posts: 484


« Reply #13 on: February 17, 2011, 04:54:53 pm »

One other suggestion: Instead of using 911|411 you could use [49]11 to do the exact same thing, or [2-9]11 to send ALL *11 codes to the PSTN line.  And for anyone else reading this, if you wanted to send all codes but exclude 411 because your phone company charges an outrageous rate for 411 calls, you could do something like [235-9]11 (just make sure any numbers you don't want to go to the PSTN are excluded from the pattern).

In many areas, the following codes work:

211 - community information/access
311 - non-emergency police/fire/ambulance
411 - directory a$$i$tance (usually at a premium price if provided by a telco)
511 - local traffic information
611 - sometimes a telco customer service or repair service number
711 - TDD for hard of hearing
811 - underground utilities location
911 - fire, police, ambulance, etc.

Not all of the above work in all locations or with all telephone companies.
Logged

Inactive, no longer posting or responding to messages.  Goodbye and good luck.  Some of my old Obihai-related blog posts have been moved to http://tech.iprock.com - note this in NOT my blog; I have simply given the owner permission to repost some of my old stuff.
tbaggott
Newbie
*
Posts: 13


« Reply #14 on: February 17, 2011, 06:56:57 pm »

Here we go again. With more help (thank you!!) I cleaned more up and it works.

{(<#:>|[49]11|<1540:>20[89] xxxx|<1540:>23[467] xxxx|<1540:>2[468]9 xxxx|<1540:>298 xxxx|<1540:>43[23478] xxxx|<1540:>442 xxxx|<1540:>453 xxxx|<1540:>515 xxxx|<1540:>56[48] xxxx|<1540:>574 xxxx|<1540:>61[25] xxxx|<1540:>689 xxxx|<1540:>705 xxxx|<1540:>71[23] xxxx|1540:>801 xxxx|<1540:>828 xxxx|<1540:>833 xxxx|<1540:>852 xxxx|<1540:>867 xxxx|<1540:>879 xxxx|<1540:>896 xxxx|<1540:>90[18] xxxx):li},{**0:aa},{***:aa2},{(Mpli):pli},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**8:>(Mli)):li},{(<**9:>(Mpp)):pp}

Thanks Smiley Smiley

« Last Edit: February 18, 2011, 11:41:34 am by tbaggott » Logged
tbaggott
Newbie
*
Posts: 13


« Reply #15 on: February 19, 2011, 11:53:59 am »

Is there a way to shorten this up?

1540:>801 xxxx|<1540:>828 xxxx|<1540:>833 xxxx|<1540:>852 xxxx|<1540:>867 xxxx|<1540:>879 xxxx|<1540:>896 xxxx

Like 1540:>8[01,28,33,52,67,79,96] xxxx
Logged
RonR
Forum Member

Posts: 4528


« Reply #16 on: February 19, 2011, 01:19:59 pm »

Is there a way to shorten this up?

1540:>801 xxxx|<1540:>828 xxxx|<1540:>833 xxxx|<1540:>852 xxxx|<1540:>867 xxxx|<1540:>879 xxxx|<1540:>896 xxxx

Like 1540:>8[01,28,33,52,67,79,96] xxxx
1540:>8[01|28|33|52|67|79|96] xxxx

'|' means OR
Logged
tbaggott
Newbie
*
Posts: 13


« Reply #17 on: February 19, 2011, 01:56:58 pm »

Is there a way to shorten this up?

1540:>801 xxxx|<1540:>828 xxxx|<1540:>833 xxxx|<1540:>852 xxxx|<1540:>867 xxxx|<1540:>879 xxxx|<1540:>896 xxxx

Like 1540:>8[01,28,33,52,67,79,96] xxxx
1540:>8[01|28|33|52|67|79|96] xxxx

'|' means OR

Sorry, It did not work. It call out though GV not pots.
Logged
RonR
Forum Member

Posts: 4528


« Reply #18 on: February 19, 2011, 03:15:48 pm »

A shot in the dark (I haven't received my OBi yet):

1540:>8(01|28|33|52|67|79|96) xxxx
Logged
MichiganTelephone
OBi110 Beta Testers
***
Posts: 484


« Reply #19 on: February 19, 2011, 03:28:22 pm »

Is there a way to shorten this up?

1540:>801 xxxx|<1540:>828 xxxx|<1540:>833 xxxx|<1540:>852 xxxx|<1540:>867 xxxx|<1540:>879 xxxx|<1540:>896 xxxx

Like 1540:>8[01,28,33,52,67,79,96] xxxx

I may be mistaken, but I think you've actually shortened it as much as possible already.  I've never heard of putting groups of digits between the square brackets.  When you do 8[01,28,33,52,67,79,96] xxxx what you are actually defining is a SIX digit number where the second digit could be any of 0, 1, 2 (stated twice), 3 (stated twice), 5, 6 (stated twice), 7 (stated twice), 8, 9 (stated twice), or a comma character (stated six times - and yes, that makes no sense, but that's what you're defining).

Be happy that you've come up with an outbound call route that works!  Cheesy
Logged

Inactive, no longer posting or responding to messages.  Goodbye and good luck.  Some of my old Obihai-related blog posts have been moved to http://tech.iprock.com - note this in NOT my blog; I have simply given the owner permission to repost some of my old stuff.
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC