Hello,
I’m looking for Asterisk.
There was a project to implement Asterisk in my company. This project was stopped.
I’m trying to start it again.
My first aim is to improve call center features implemented during the first step of this project.
The dialplan is recorded in extensions.ael file and in the documentation I’ve found, that people are speaking about extensions.conf.
What is the best way to manage dialplan ?
Is ther some restrictions with ael features as :
if (${QUEUE_MEMBER(${QUEUE_HOTLINE},logged)} > 0)
This syntax doesn’t work, it 's return allways “true”.
Here is the dialplan I try to implement :
// Hotline
12345 => {
Answer();
Wait(${DEFAULT_WAIT});
Playback(custom/mb/hotline/welcome);
ifTime(08:30-12:30|mon-sat|*|*) {
ifTime(14:00-19:29|mon-sat|*|*) {
if (${QUEUE_MEMBER(${QUEUE_HOTLINE},logged)} > 0) {
if (${QUEUE_WAITING_COUNT(${QUEUE_HOTLINE})} < 10) {
Set(CALLERID(name)=! ${CALLERID(name)});
Set(MONITOR_FILENAME=hotline-${UNIQUEID});
ResetCDR();
Playback(custom/mb/hotline/legalmessage);
if (${IFTIME(*|sat|*|*?1:0)} = 1)
Playback(custom/mb/hotline/saturday);
Playback(custom/mb/hotline/waitmessage);
Queue(${QUEUE_HOTLINE},${CHAN_OPTS}${OPTS_TO_INT});
// Queue will return if the queue is full
}
Playback(custom/mb/hotline/notavailable);
Playback(custom/mb/hotline/goodbye);
Hangup();
}
}
}
// Hotline is closed
Playback(custom/mb/hotline/closed);
Playback(custom/mb/hotline/goodbye);
Hangup();
}
Do you find some big mistakes ?
Sorry for my poor english.
Thanks in advance for your answers, best regards.