Here is some measurements as an FYI with a possible issue to flag:
When I enter the <S2:#> rule, it seems that the DMP goes first into the "long" interdigit timeout.
So, the "#" is sent only after around 12 seconds (10sec is the long interdigit timer setting as per the documentation+2 secs for the delay I added through the S2 rule). So this option is out (on top of agreeing to your comments that the overall setup gets cludgey.
I also made some other measurements by ringing a specific international number in Europe by entering
a 15 digit number. I started making the measurements after I dialed that number a few times
to make sure that any intermediate softswitches and routers have cached route information.
Below are configurations/rules and the time it takes to get the ring back tone:
+ default digit map: 16.5 seconds
+ default digit map and entering # after number: 7secs
+ modified digit map as: "011xxxxxxxxxxxxS0": 7secs
+ modified digit map as: "011xxxxxxxxxxxx": 9 secs
The 2nd and 3rd entry seem about right as per your previous calculations: it takes about
5 secs to play out the digits with default tone durations. And it takes couple secs for my
phone provider to dial out and send back the ring back tone.
The 4th entry seems also consistent with 2nd and 3rd: since I didn't add the S0 rule, a default
2 sec interdigit timer will be fired before the digits start being played out.
The 1st entry though seems excessively long. So Stewart was right that something doesn't seem right.
It looks to me that when the "xx." rule is matched, the long interdigit timer is fired which adds
about 10sec delay before the digits will start being played out. When I scanned through the documentation
I thought that once a digit is entered, the short interdigit timer applies but I may have misunderstood.
It's certainly not obvious to me why the long timer is triggered in this case. May be someone would like
to take a look in this.
BTW, I did try to shorten the tone duration on/off intervals to 120msec ON and 80msec OFF.
These values are 2x or 3x the values required by the standards. I'll keep monitoring this change though
for any side effects. Naturally, the interval to get a ring back tone was reduced to about 4.5 secs in this case
and this is certainly very acceptable.
L.