Sent into invalid extension error

Hello

I’m trying to set up a conference bridge extension and it works from the inside but I get the following error when I call from outside:

— Executing 501@voicemenu-custom-2:1 Goto(“IAX2/trunk_1-1994”, “_50X,1”) in new stack
— Goto (voicemenu-custom-2,_50X,1)
— Sent into invalid extension ‘_50X’ in context ‘voicemenu-custom-2’ on IAX2/trunk_1-1994

in my extensions.conf I have the following for voicemenu-custom-2:

voicemenu-custom-2
include = default
exten = s,1,NoOp(New Main Menu)
exten = s,2,Wait(2)
exten = s,3,Answer()
exten = s,4,Background(Valydate_welcome)
exten = s,5,WaitExten(4)
exten = s,6,Playback(goodbye)
exten = 0,1,Goto(ringroups-custom-1,s,1)
exten = *,1,Goto(voicemenu-custom-2,s,1)
exten = #,1,Goto(directory|120|1)
exten = t,1,Hangup
exten = i,1,Goto(voicemenu-custom-2,s,1)

and for the conference bridge I have:

conferences
exten => _50X,1,Answer
exten => _50X,n,ConfBridge(${EXTEN},Ms,256)

What am I doing wrong?

You must have an actual extension, not a pattern, in the Goto parameter.

I found out why it didn’t work

It turns out I had not included the [conferences] group in the [voicemenu-custom-2] definition. Once I had done that it all worked.

Thanks