Endless loop in queue

Hi;

I’m using freepbx 13.0.95 and changing extensions_custom.conf, add this code;

exten => 11011,101,Answer
exten => 11011,102,WaitExten
exten => 11011,103,Queue(9666)
exten => 11011,104,Hangup

I’m calling 11011, my queue ringing but i’m hangup call asterisk endless loop.

my console;

-- Goto (from-queue,h,1)
-- Executing [h@from-queue:1] Set("Local/11014@from-queue-00000000;2", "QAGENT=h") in new stack
-- Executing [h@from-queue:2] Goto("Local/11014@from-queue-00000000;2", ",1") in new stack
-- Goto (from-queue,h,1)
-- Executing [h@from-queue:1] Set("Local/11014@from-queue-00000000;2", "QAGENT=h") in new stack
-- Executing [h@from-queue:2] Goto("Local/11014@from-queue-00000000;2", ",1") in new stack

what’s problem ?

thanks for help.

How are you getting to step 101?

Your output says you are going straight to the HangUp step in ‘from-queue’, so something is unhappy. Without more information (like the steps you took to get to the from-queue,h,1 steps, three’s no way of knowing.

this conf in extensions_custom.conf, context from-internal-custom. Freepbx going to from-internal-custom after from-internal.

OK - so “from-internal” is pulling it in: Good.

The problem I see is that you can’t just start at 101 - you have to have a step 1 someplace. Getting to 101 is simple enough (you can do it with a goto from another context or an error on this context’s and extension’s step 1) but your system won’t let you just start there.

Of course, I could be wrong - I’ve only been writing custom contexts since Asterisk 1.4, so I’m relatively new at it.

Now, having said that - the log entry you showed us doesn’t seem to reference any of this context - you are jumping to the “from-queue” context and going straight to the “hangup” extension.

You still haven’t given us enough clues to even start helping you.