Displaying 2 results from an estimated 2 matches for "str_time_01".
2015 May 12
1
AEL keyword IfTime with variable on time range
Sorry, I forget to tell I tried, but not works.
*Context:*
context ivr_temp2 {
s => {
Proceeding();
str_time_01 = '06:00-12:00|*|*|*'; // Manh?
ifTime (${str_time_01}) {
Playback(ura/bom_dia);
}
}
}
The error is showed on "ael reload".
*Console errors:*
rs0000sr304*CLI> ael reload
Command 'ael reload' failed.
[May 12 14:31:52] NOTICE[20773]: pbx...
2015 May 12
2
AEL keyword IfTime with variable on time range
Hi
It's possible using a variable in the iftime keyword argument?
E.g:
context text {
s => {
timerange = '06:00-12:00|*|*|*';
ifTime(${timerange} {
Playback(ivr/goodbye);
}
}
}
thanks
[image: Sua Foto] <rafaelsnsa at gmail.com>Rafael S. SaraivaPorto Alegre - RS
| Mobile: (51) 8174-7956
<http://br.linkedin.com/pub/rafael-saraiva/52/aab/230>