Displaying 3 results from an estimated 3 matches for "dialext".
Did you mean:
dialect
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
...=> n,ExecIf($["${DIALARGS}" = ""]?Set(DIALARGS=${DEFAULTDIALARGS}))
.
same => n,Set(DEVICES=${ARG4}
.
same =>
n(checkdevicestate),ExecIf($["${DEVICE_STATE(${CUT(DEVICES,&,1)})}" =
"INUSE"]?Set(DIALARGS=${DIALARGS}r(ringinuse)))
same => n(dialext),Dial(${DEVICES},${DIALTIME},${DIALARGS})
.
.
Hope this helps someone.
Mitch Sharp
BIG Networks
5647 Galeria Drive, Suite D
Baton Rouge, LA 70816
tel: 225.214.1444 x101
fax: 225.214.1443
email: msharp at bignetworks.com <mailto:msharp at bignetworks.com>
web: www.bignetworks.com
&l...