Adding [fop2-dummy] cpntext to my dialplan, as it is in usr/local/fop2/generate_override_contexts.pl will work?
Additionally, I modified FOP "Callbacks.pm" file. I changed "LEAVE" command to "QUEUECALLERLEAVE" as I'm using Asterisk 13. Is it OK? It will work to write the picked up call as NOTABANDON in queue log?
You will still use Leave even if you use Asterisk 13 as the fop2 server will translate events to make the interface uniform across versions. Now, I would suggest to use plugins instead of modifying the FOP2callbacks.pm file. Purpose is the same but plugins are actually plugins that can be installed/uninstalled .
The context looks like this, you can create it by hand:
Comments
I'm not using FreePBX, just Asterisk.
Adding [fop2-dummy] cpntext to my dialplan, as it is in usr/local/fop2/generate_override_contexts.pl will work?
Additionally, I modified FOP "Callbacks.pm" file. I changed "LEAVE" command to "QUEUECALLERLEAVE" as I'm using Asterisk 13. Is it OK? It will work to write the picked up call as NOTABANDON in queue log?
Thanks
The context looks like this, you can create it by hand:
[fixed][fop2-dummy]
exten => dummy,1,Answer
exten => dummy,n,Wait(1)
exten => dummy,n,NoCDR()
exten => dummy,n,Hangup[/fixed]
Great, context is working now. But still hace a problem. Picked up calls fails to write at Queue Log
127.0.0.1 -> Action: Originate
127.0.0.1 -> Application: QueueLog
127.0.0.1 -> Channel: Local/dummy@fop2-dummy/n
127.0.0.1 -> Async: true
127.0.0.1 -> Data: cola_soporte_ingles|1467214520.9274|NONE|NOTABANDON|0|0|0
127.0.0.1 -> ActionID: 40
[Jun 29 12:35:43] WARNING[24735] app_queue.c: QueueLog requires arguments (queuename,uniqueid,membername,event[,additionalinfo])
Best regards,
By the way, the script "Callbacks.pm" is written with pipes.
Thanks and regards