Hi Dev Vitalpbx,
When I create queue from vitalpbx queue it will write to /etc/asterisk/vitalpbx/extensions__50-1-dialplan.conf file
Example Queue 401
/etc/asterisk/vitalpbx/extensions__50-1-dialplan.conf
[ext-queues]
exten => 401,1,NoOp(Queue: 401)
same => n,Set(__QUEUE_UID=${UNIQUEID})
same => n,Set(__QUEUE_CALL=TRUE)
same => n,Set(__SKIP_AA=TRUE)
same => n,Set(__FROM_QUEUE_ID=21)
same => n,Gosub(sub-set-moh,s,1(default,YES))
same => n,Set(__QUEUE_NUMBER=401)
same => n,Set(__QUEUE_NAME=Q401)
same => n,Gosub(sub-set-call-vars,app-incoming,1)
same => n(qconnect),NoOp(Connecting to Queue)
same => n,Set(ANSWER_CHANNEL=yes)
same => n,ExecIf($["${HIGH_PRIORITY}"="yes"]?Set(QUEUE_PRIO=${QUEUES_CALLBACK_PRIORITY}):)
same => n,ExecIf($[$["${SKIP_ANSWER}"="yes"]|$["${ANSWER_CHANNEL}"="no"]]?Progress():Answer())
same => n,NoCDR()
same => n,Queue(Q401,c,,,30)
same => n,ResetCDR(ve)
same => n,NoOp(Queue Status: ${QUEUESTATUS})
same => n,Set(__QUEUE_CALL=FALSE)
same => n,GotoIf($["${QUEUESTATUS}"="CONTINUE"]?app-termination,hangup,1)
same => n,Goto(app-termination,hangup,1)
same => n,Hangup()
exten => h,1,NoOp(Ending Queue Call)
same => n,Hangup()
I want to modify or add this line
same => n,Noop(CUSTOM WAIT 2 SECOND)
same => n,Wait(2)
[ext-queues]
exten => 401,1,NoOp(Queue: 401)
same => n,Set(__QUEUE_UID=${UNIQUEID})
same => n,Set(__QUEUE_CALL=TRUE)
same => n,Set(__SKIP_AA=TRUE)
same => n,Set(__FROM_QUEUE_ID=21)
same => n,Gosub(sub-set-moh,s,1(default,YES))
same => n,Set(__QUEUE_NUMBER=401)
same => n,Set(__QUEUE_NAME=Q401)
same => n,Gosub(sub-set-call-vars,app-incoming,1)
same => n(qconnect),NoOp(Connecting to Queue)
same => n,Set(ANSWER_CHANNEL=yes)
same => n,ExecIf($["${HIGH_PRIORITY}"="yes"]?Set(QUEUE_PRIO=${QUEUES_CALLBACK_PRIORITY}):)
same => n,ExecIf($[$["${SKIP_ANSWER}"="yes"]|$["${ANSWER_CHANNEL}"="no"]]?Progress():Answer())
same => n,NoCDR()
same => n,Noop(CUSTOM WAIT 2 SECOND)
same => n,Wait(2)
same => n,Queue(Q401,c,,,30)
same => n,ResetCDR(ve)
same => n,NoOp(Queue Status: ${QUEUESTATUS})
same => n,Set(__QUEUE_CALL=FALSE)
same => n,GotoIf($["${QUEUESTATUS}"="CONTINUE"]?app-termination,hangup,1)
same => n,Goto(app-termination,hangup,1)
same => n,Hangup()
exten => h,1,NoOp(Ending Queue Call)
same => n,Hangup()
What should I do so that vitalpbx reads the “ext-queues” dial plan I have changed?
If in freepbx, usually written in the file “extensions_custom.conf” or in “extensions_overwrite.conf” I want to know how the equation is in vitalpbx.
Thanks