Endless loop is created after call enters queue from custom dialplan

I have seen my problem posted in many different forums but I have not found the solution. I have custom dial plan and after the caller presses the option to speak with customer service, the call is transferred to queue 1. If agents are logged into the queue, then the caller is transferred to queue 1 and moh is started.

The problem is the caller is never removed from the queue and sent to the agent. I have compared the log files from inbound calls on other routes and everything appears normal, except I have an endless loop originating from my dialplan.

Calls from other inbound routes going directly into the FreePBX generated IVR and queues are working great.

I am running FreePBX Version=

I have posted log files at http://pastebin.com/wD8tuPqA along with “dialplan show from-queue” output.

As far as I can tell I am not getting a (_NODEST=) variable passed to my Goto statement generated in Context ‘from-queue’.

I have referred to this posting many times and still having issues.


I am not using an AGI script to transfer calls into the queue. Here is a snapshot of the dialplan I used to transfer a caller into the queue.

exten => 4,1,Playback(baivr/Connect-Member-Services)
exten => 4,n,Queue(1,t,)
exten => 4,n,Voicemail(720)
exten => 4,n,Hangup()

Thanks in advance for any help.