Outgoing call routing questions

<< < (2/2)

Marty.ba.calif.usa:
Quote from: drgeoff on July 10, 2016, 11:18:23 am

http://www.obihai.com/docs/OBi-DigitMapCallRoute-Tutorial-v1-1.pdf is recommended reading.

I'm having a problem with implementation of what should be a very simple rule.  I was having trouble, so I did a test; I added one rule to the beginning of the Phone 1 OutboundCallRoute.  It was just for calling my cell phone for testing.

First, I added the whole number like so (zeros represent my number, 925 is the area code):  {1 925 000 0000:sp1}, ... to direct my cell phone number to sp1 instead of sp3.  That worked.

Next, I changed it to {1 925 xxx xxxx:sp1}, ... thinking this would direct all area code 925 calls to sp1, but it didn't; the call to my cell phone then went via sp3. 

I very carefully did this a few times, editing just the 7 characters, double checking that the settings were saved, and the Obi rebooted before each test.  It was always the same results.

So, am I not understanding or missing something?

Taoman:
Go to the OBitalk web portal and click on the gear icon for your device.
Then click on the gear icon for SP1. (click on Accept button when prompted)
Enter your area code in the field for "7-Digit Dialing for USA & CAN"

Save your edits and your device should reboot.

Once device has restarted, go to Expert/Advanced Configuration:

Service Providers -> ITSP Profile A General-> DigitMap

Does it look any different?

Marty.ba.calif.usa:
Quote from: Taoman on July 11, 2016, 03:36:18 pm

Go to the OBitalk web portal and click on the gear icon for your device.
Then click on the gear icon for SP1. (click on Accept button when prompted)
Enter your area code in the field for "7-Digit Dialing for USA & CAN"

Save your edits and your device should reboot.

Once device has restarted, go to Expert/Advanced Configuration:

Service Providers -> ITSP Profile A General-> DigitMap

Does it look any different?

Thanks, but it was already entered for all 3 of my services.  I'm not really sure what this is supposed to check for, so I'm not sure what you might want to know.

FWIW, here are the DigitMaps for all the profiles:

ITSP Profile A/B/C
(*xx|1xxxxxxxxxx|<1925>[2-9]xxxxxx|<1>[2-9]xxxxxxxxx|011xx.|xx.|(Mipd)|[^*]@@.)

I'm guessing this adds "1925" to any 7 digit number not starting with 0 or 1.  Also, I'm guessing it automatically prepends a 1 to domestic numbers, which is what threw me the first time I tried this without that 1.

I still don't understand why an explicit number works, but a number wildcard does not.

Taoman:
Quote from: Marty.ba.calif.usa on July 11, 2016, 03:56:48 pm


I still don't understand why an explicit number works, but a number wildcard does not.


Because you didn't use a wildcard. You used literal elements. You would need to use parentheses to use wildcards.
I'm no guru with this stuff but I would guess something like:

{(1925xx.):SP1}

Edit: I tried it and it worked as expected for me.

Marty.ba.calif.usa:
Thanks a lot.  I'll look into it further tomorrow.  I was just looking at the examples from the Obihai admin guide, which I guess was not complete.   I'll have to look at it in more detail to learn some more.

EDIT: 

Indeed, that did fix it.  Simply changing {1 925 xxx xxxx:sp1} to {(1 925 xxx xxxx):sp1} causes it to work correctly for my cell phone.  Somehow, in reading all the docs on how DigitMaps work, I missed that one little requirement.

Navigation

[0] Message Index

[*] Previous page