No such extension/context dummy@fop2-dummy

  1. 8 years ago

    Hello, I´m receiving this message in Asterisk log:

    core_local.c: No such extension/context dummy@fop2-dummy while calling Local channel

    Can you explain why?

    Thank you

  2. admin

    21 Jun 2016 Administrator

    Perhaps you forgot to run /usr/local/fop2/generate_override_contexts.pl -w at install time ?

  3. Hi Nicolás, thanks for your answer.

    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

  4. admin

    29 Jun 2016 Administrator

    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:

    [fop2-dummy] exten => dummy,1,Answer exten => dummy,n,Wait(1) exten => dummy,n,NoCDR() exten => dummy,n,Hangup

  5. Nicolás,

    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])

  6. admin

    29 Jun 2016 Administrator

    You are calling the application incorrectly, it is not a problem with FOP2 but with the way you are passing data, try changing the pipe to a comma.

    Best regards,

  7. Thanks Nicolás it works !

    By the way, the script "Callbacks.pm" is written with pipes.

    Thanks and regards

  8. admin

    29 Jun 2016 Administrator

    You might have a very old version..

or Sign Up to reply!