Queue Callback

Hey guys

I have been trying to use the code below to set up callback on my phone system. The code is here.

http://www.voip-info.org/wiki/view/Asterisk+Queue+Callback.

I have been using the Extended Queue Callback at the bottom. But the problem is I am using FreePBX to create the queue which means I cant seem to find a way to the add the context line to the queue as below.

[Spanish]
wrapuptime=0
timeout=15
strategy=rrmemory
retry=5
queue-youarenext=queue-youarenext
queue-thereare=queue-thereare
queue-thankyou=queue-thankyou
queue-callswaiting=queue-callswaiting
music=default
member=Agent/1036
monitor-join=yes
monitor-format=
maxlen=0
leavewhenempty=no
joinempty=Yes
context=set-callback
announce-holdtime=yes
announce-frequency=30
servicelevel=30
eventwhencalled=yes
eventmemberstatus=yes

I am new to Asterisk but am pretty sure that I need that context for the rest of the code to work.

Is there anyway I can still use FreePBX and still get that context to work somehow?

If I haven’t been clear enough, please let me know :slight_smile:

Thanks.

the page on the link says to put all this in queues_custom.conf suggesting (1) the author developed this using freePBX based system and (2) does not used the freePBX GUI to actually create the queue(s).

just follow the instructions on that page.

Note: I have never tried this code … I am just commenting based on the fact that the instructions look crystal clear to me.

I could use the way they suggested but I need to be able to control the queues from the Front panel and the only way I can seem do this is by creating the queue from the GUI or is there another way I can use the front panel and create the queues in the .conf files?

Thanks

to implement the code listed in that article, you have to do it his way. creating that structure using the GUI is not feasible.

what do you mean by “control the queues” anyway?

Read a bit on queues_post_custom.conf at http://www.freepbx.org/configuration_files

You create queue using GUI, and add additional context line in the queues_post_custom.conf

Spanish
context=set-callback

Not sure, never used it but it looks like the way to go.