Quote from: ianobi on October 05, 2013, 12:04:13 PM
azrobert,
That's clever thinking! I really must look deeper into Star Codes - seems they are a digit map with actions before digits are passed to the Phone Port DigitMap.
I don't quite understand the function of "< >" would this not work:
*98(sp1(*98)), Voice Mail, call($Code)
ianobi,
Like I said in my previous post, I think there is a bug where the OBi ignores the 2nd right paren. Therefore, I wanted a solution without two adjacent right parens.
Since there is zero documentation on star code, the following is my guess based on the default Star Codes and my testing.
You can dial extra digits after the star code, but it must pass the Star Code DigitMap.
If the extra digits pass the DigitMap, they are placed in variable $Code.
The Star Code DigitMap is immediately after the star code between parentheses.
You can test with this:
*98(xxxxxxx), Set Speed Dial, set($Spd[99],$Code)
Dial *981234567
Then look at speed dial#99.
I'm not dialing any extra digits with my solution. Anything between the < > will be added to the variable $Code, the same concept as a Phone Port DigitMap. My solution dials out immediately and never gets to the Phone Port DigitMap.
If you dial more digits than the Star Code DigitMap allows, the extra digits will be sent to the Phone Port DigitMap.
In my example test above:
Dial *9812345678
Speed Dial#99 will be set to 1234567 and
8 will be sent to the Phone Port DigitMap
Speed Dial#8 will be executed.
I hope the above is correct.
Bob