Obi110 and MyNetFone (AU)
dvlpr:
Sorry, I've tried to translate the rules using the admin docs, but don't understand them fully ??? For example, I don't think I need "|011xx.|", as I can't think of a number that starts with 011 here and also the "<1>[2-9]" - is this a USA format (since my understanding is that it prepends "1" to any number starting with 2-9)? Or I just mis-read the rules ;D
Thanks!
RonR:
As far as I know, all OBi's ship with default dialing rules for US/Canada numbers. ITSPx and LINE Port trunks also contain an xx. DigitMap rule that accepts anything. You said "Basically, all I want is for any number beginning with 0011 to go through my SP1 and the rest through PSTN." The two changes I proposed simply added that capability to the default rules but should accomplish the requested goal. Did you actually make those changes and try it?
The OutboundCallRoute rule set you proposed [{0011xx.:sp1},{@:li}] will send numbers beginning with 0011 to SP1 and single-digit numbers to the LINE Port (but they need some parenthesis to make them work correctly). If that's the complete set of rules, it would also eliminate the ability to access the Auto Attendant, Configuration Menu, and other OBi's.
You can eliminate unneeded US/Canada rules and/or add explicit rules for your locale, if you wish, but I would recommend a good understanding of the Digit Map syntax as well as the relationship between the PHONE Port DigitMap and OutboundCallRoute before starting. If I can be of assistance in that regard, I'd be happy to offer it.
dvlpr:
Quote from: RonR on June 02, 2011, 08:15:29 am
As far as I know, all OBi's ship with default dialing rules for US/Canada numbers. ITSPx and LINE Port trunks also contain an xx. DigitMap rule that accepts anything. You said "Basically, all I want is for any number beginning with 0011 to go through my SP1 and the rest through PSTN." The two changes I proposed simply added that capability to the default rules but should accomplish the requested goal. Did you actually make those changes and try it?
Ok, so that means I understood the rules more or less correctly :)
No, I haven't tried your suggestions yet, as I wanted to see what the rest of the rule does (and I think I understand the number formats now).
Quote
The OutboundCallRoute rule set you proposed [{0011xx.:sp1},{@:li}] will send numbers beginning with 0011 to SP1 and single-digit numbers to the LINE Port (but they need some parenthesis to make them work correctly). If that's the complete set of rules, it would also eliminate the ability to access the Auto Attendant, Configuration Menu, and other OBi's.
Ok, so @ is a single digit and @@. is an arbitrary number of digits, right? Parenthesis is another thing I didn't take care of (yet).
I'd like to keep the AA and the rest of it in of course, so my rules won't work in any case.
Quote
You can eliminate unneeded US/Canada rules and/or add explicit rules for your locale, if you wish, but I would recommend a good understanding of the Digit Map syntax as well as the relationship between the PHONE Port DigitMap and OutboundCallRoute before starting. If I can be of assistance in that regard, I'd be happy to offer it.
Thank you - I'd be happy to learn more about the relationship between those and I could then use the manual to try and come up with a set of rules based on Australian phone number formats.
RonR:
Quote from: dvlpr on June 02, 2011, 03:10:53 pm
Ok, so @ is a single digit and @@. is an arbitrary number of digits, right? Parenthesis is another thing I didn't take care of (yet).
I'd like to keep the AA and the rest of it in of course, so my rules won't work in any case.
An @ actually matches any alphanumeric character except #.
A DigitMap expression has to be enclosed in parenthesis:
{(0011xx.):sp1},{(@@.):li}
Otherwise, it's treated as a literal.
With an occasional exception, I try to leave the PHONE Port DigitMap and OutboundCallRoute untouched. Most of the time, anything you want to do can be done in the ITSPA, ITSPB, OBiTALK, and LINE DigitMaps.
Quote from: dvlpr on June 02, 2011, 03:10:53 pm
I'd be happy to learn more about the relationship between those and I could then use the manual to try and come up with a set of rules based on Australian phone number formats.
Start out by taking a look at this post:
http://www.obitalk.com/forum/index.php?topic=513.0
Then study pages 113 - 122 in the OBi Device Administration Guide.
dvlpr:
I've applied the rules as per your first post, but for some reason my calls are going through to SP1 instead of PSTN (numbers like 0410xxxxxx). Not sure why yet ;D
Navigation
[0] Message Index
[#] Next page
[*] Previous page