Digitmap help

<< < (2/3) > >>

ianobi:
This should be ok:

Physical Interfaces > PHONE Port > DigitMap:
(***|(Msp1))

Physical Interfaces > PHONE Port > OutboundCallRoute:
{***:aa2},{(xx.):sp1}

In this case I'm using xx. rather than x. to prevent spurious "nothings" being sent to sp1. xx. requires at least one digit to be dialled.

Gonzo:
Hi,

I would greatly appreciate your help with configuring digitmap for an Obi 110.

Local port = need to be able to dial any number starting with 00 (international) or 8 digits (local numbers)
Sp1= google voice.   Any number starting with 1 or 011

Currently my Obi is configured so all calls are routed through google voice and if I want to do local port, I need to dial **8 first which is annoying.


Thanks

azrobert:
Service Providers > ITSP Profile A General > DigitMap:
(1xxxxxxxxxx|011xx.S3)

Physical Interfaces > PHONE Port > DigitMap:
([1-9]x?*(Mpli)|[1-9]S9|[1-9][0-9]S9|911|**0|***|#|**1(Msp1)|**2(Msp2)|**8(Mli)|**9(Mpp)|(Mpli)|(Mli))

Physical Interfaces > PHONE Port > OutboundCallRoute:
{(Mli):li},{([1-9]x?*(Mpli)):pp},{(<#:>|911):li},{**0:aa},{***:aa2},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**8:>(Mli)):li},{(<**9:>(Mpp)):pp},{(Mpli):pli}

Physical Interfaces > Line Port > DigitMap:
(00xx.S3|xxxxxxxx)

The BOLD items in the Phone Port have been added to the default.

Gonzo:
It works great.  Just one thing I forgot and it does not work.  There are some mobile numbers that are 9 digits.  Always start with 09 which I also need to go through local port.  These do not work, so for example

099555555 it does not work withe the digitmap and I cannot figure out how to make the change on your setting to make it work.  Apreciate greatly your help.

Thanks,

azrobert:
Instead of me telling you how to do this, why don't you tell me?
First, I'll explain what I did.
This is the DigitMap for the local port:
(00xx.S3|xxxxxxxx)

00xx.S3
00 matches 00
x matches any single digit
x. matches zero or more digits
When a rule ends in x. you will get a 10 delay
S3 overrides the delay to 3 seconds
You need a delay, I won't explain now
This rule will match a number beginning with 00 followed by 1 or more digits.

xxxxxxxx
Each x matches a single digit, so this will match any eight digit number

The vertical bar separates the rules

All the rules are enclosed between ( )

Now tell me how to code a rule that matches a number starting with 09 followed by 7 digits.
Then how to add the new rule to the other rules.

It would have been easier just to tell you. LOL
Sorry for the quiz.

Navigation

[0] Message Index

[#] Next page

[*] Previous page