Displaying 3 results from an estimated 3 matches for "dialexts".
Did you mean:
dialects
2019 Sep 13
2
if statement with true value that contains a colon
...n in it? The colon in the true value variable is being taken
as the delimiter for the false value.
The only solution I came up with was some hackery to use STRREPLACE to
replace the : with a % before the IF statement and then use STRREPLACE
again after to change the % back to a :.
i.e.:
Set(dialexts=${STRREPLACE(dialexts,:,%)});
Set(dialexts=${IFTIME(8:00-22:00?${dialexts}&${MBDR}:${dialexts})});
Set(dialexts=${STRREPLACE(dialexts,%,:)});
Is there no better alternative?
Cheers,
b.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc...
2006 Mar 11
2
IVR dial by extension option..
I'm working on an IVR that gives the users the option (number 5 in the main menu) to dial by extension:
exten => 5,1,Set(TIMEOUT(digit)=5) ; Dial Extension
exten => 5,2,Set(TIMEOUT(response)=10)
exten => 5,3,Background(LCL/prompt-60)
exten => 5,4,WaitExten(15)
When going option 5 you can dial some extensions such as 2802, it goes to the extension (all extens start with 28 on the
2010 Nov 04
0
[backport] Allow app_dial to play 'indication tone while ringing' back ported to 1.6.2.X
I have back ported the 'r' feature for app Dial from 1.8.0 to 1.6.2.X.
The link to the diff is below.
http://files.bluecrow.net/asterisk/backports/1.6.2/asterisk-1.6.2.4-app_
dial-play-indications.diff
I made the diff against 1.6.2.4 and later patched a 1.6.2.13 system.
All hunks passed.
I have this running on two production 1.6.2.X systems with no problems
yet.
The