Learning about ..... dial plans!
Colic:
Im brand new to the Obi. I have set up some basic dial plans in a Billion router a while ago.
Im happy to take a lesson on using Google, or searching these forums (for I have failed to find what I need on both counts!). But because Im not quite sure where or in what place I will find it, Google is not my friend!
Surely there is something out there that fully explains the dial plan syntax used by OBI?
The best ive found to date is http://www.obitalk.com/forum/index.php?topic=34.0 which is a start. But lets say I wanted to understand this:
(<**8>[2-9]11|1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|<**8>xxxxxxx|011xx.|(Mipd)|[^*]@@.'@'@@.)
where Im not clear on the <**8> or the @'s
or this:
([1-9]x?*(Mpli)|[1-9]S9|[1-9][0-9]S9|911|**0|***|#|**1(Msp1)|**2(Msp2)|**8(Mli)|**9(Mpp)|(Mpli))
what is the # doing, and the **2, for example, without the angle brackets this time?
or what does <1aaa> mean?
And so on ..... Im sure someone could explain the individual questions above (which would be welcome btw!), but my point is I must be able to learn all this without bothering folk (ie reading a manual!!). Is there such a beast, or at least one place where I can glean 90% of what I need to know?
[^c[C]]o{l-l]i[C][..]
ianobi:
First thing to read for the details is:
http://www.obihai.com/docs/OBiDeviceAdminGuide.pdf
Around page 180 is a heading "Digit Map Configuration". This gives the basic rules. I doubt that it will answer all of your questions, so please feel free to come back here and ask more.
Even when you know the rules, how it all fits together is a big subject!
I'll have a go at detail in my next post.
ianobi:
Quote
(<**8>[2-9]11|1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|<**8>xxxxxxx|011xx.|(Mipd)|[^*]@@.'@'@@.)
This is a DigitMap. <**8> means prepend **8 to any number that matches the following rule. @ means any alphanumeric character. '@' means @ as in mynetwork@someplace.com. Putting single inverted commas around a character makes it a "literal". It is itself, not representing something else. so @@.'@'@@. can be used for sending sip uri calls to something@somewhere.com.
Quote
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))
This says what is allowed to be dialled from the phone port. It allows you to dial #, which gives direct access to the PSTN Line Port on an OBi110. It allows you to dial numbers beginning with **2 to give you access to services on sp2.
Quote
Physical Interfaces > PHONE Port > OutboundCallRoute:
{([1-9]x?*(Mpli)):pp},{(<#:>|911):li},{**0:aa},{***:aa2},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**8:>(Mli)):li},{(<**9:>(Mpp)):pp},{(Mpli):pli}
After the number you have dialled has been processed through the Phone Port DigitMap, then the Phone Port OutboundCallRoute decides how that number will be routed.
That's enought to think about for now. Come back with detailed questions anytime. There's lots of helpful people here :) By the way we are just OBi users, we don't work for Obihai.
Colic:
hey thanks for the replies - you seem to be a helpful bunch (yes Im concluding that on sample base of one!). One forum I joined recently introduced me with an autotype link to a google search!!
I will study the info and try some new configs, safe in the knowledge I can come back here if puzzled!
C
Colic:
OK, let me see how well I did my initial homework! It may not be quite correct as I am unable to dial 775 (PennyTel test/information) - or **2775 - being told both times the call was rejected by the service provider with error 400 and 404. If anyone can see an issue in these dial plans that might cause this Id be grateful (or suggest where else I might look) :
Here's what my homework produced :-)
SP1
( <:02>[2-9]xxxxxxx | 0[2-9]xxxxxxxx | 0011xx. | xxx | 18x. | 13x. )
Takes all Australian and international numbers (that I care about). xxx is to cater for SP specific numbers and a backup for 000 (ie 911).
SP2
( <:02>[2-9]xxxxxxx | 0[2-9]xxxxxxxx | 0011xx. | xxx | 18x. | 13x. )
Same.
Phone port digitmap :
( (Msp1) | (Msp2) | [1-9]x?*(Mpli)|[1-9]S9 | [1-9][0-9]S9 | **0|***|#|**1(Msp1)|**2(Msp2)|**8(Mli)|**9(Mpp)|(Mpli) )
Allows SP1 SP2 calls (Im not concerned about Obitalk just yet, but leave it in anyway), or calls directed using a ** command.
Outbound call route:
{([1-9]x?*(Mpli)):pp},{(<#:>|000):li},{1[258]1:sp1},{775:sp2},{x.8888888:sp2},{**0:aa},{***:aa2},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**8:>(Mli)):li},{(<**9:>(Mpp)):pp},{(Msp1):sp1},{(Msp2):sp2},{(Mpli):pli}
Should put emergency calls to POTS, but if thats down it would use Msp1 (as it accepts xxx) or if down Msp2. Is this right, obviously Im not in a hurry to test it! (Fyi 000 is the Australian 911). It also directs 8888888 to SP2 as that is the DID for SP1, from which Im usually calling (its the primary line).
So 121, 151 and 181 are Sp1 specific numbers. They work.
775 is an Sp2 specific number, but gives me error "rejected by Sp error 400", Or 404 if I use **2775 which I would expect to also work.
I know that 775 works because I can call it on Android Sip phone software connected to the same SP (Pennytel), which is connected to the same physical network (in fact the same hardware) as the Obi.
So I cant see my mistake that causes 775 to fail ? I was hoping syslog would give me some routing messages, but alas I discovered not!
Interestingly ***1 give me "there is no service available to complete your call", but Im thinking this is because I havent touched Obitalk yet.....
Any help/advice/improvements welcomed.
thanks
Navigation
[0] Message Index
[#] Next page