Background broken when using contexts?

Hello has anyone experienced a problem usnig the “BackGround” app with a context?

If I try to specify a context to background, it seems to grab the first digit I hit and try to use that as an extension, rather than reading all the digits I hit.

If I use background without a context specified… it works.

below is an example extensions.conf plan that I created that shows it
breaking along with the asterisk CLI output. (I dial a “500” and
it only grabs the “5”, as such there is no extension for “5”

— extensions.conf
TRUNK=Zap/4
BRIANP=SIP/1004
BRIANP2=SIP/1005
BRIAN=SIP/brian
CHRIS=SIP/chris
BRAD=SIP/brad
STEVEN=SIP/steven

[Incoming]

exten => s,1,Answer()
exten => s,n,Wait(1)
exten => s,n,Background(ct.com/enter-ext,|||Internal)

[Internal]

exten => 1000,1,Dial(${BRIANP})
exten => 500,1,VoiceMailMain()

— CLI output while I try to dial in and it 500 (for voicemail)
—, note it only grabs the “5”
*CLI> – Starting simple switch on 'Zap/4-1’
Aug 10 17:19:13 NOTICE[4731]: chan_zap.c:6057 ss_thread: Got event 18 (Ring Begin)…
Aug 10 17:19:15 NOTICE[4731]: chan_zap.c:6057 ss_thread: Got event 2 (Ring/Answered)…
– Executing Answer(“Zap/4-1”, “”) in new stack
– Executing Wait(“Zap/4-1”, “1”) in new stack
– Executing BackGround(“Zap/4-1”, “ct.com/enter-ext|||Internal”) in new stack
– Playing ‘ct.com/enter-ext’ (language ‘’)
Aug 10 17:19:18 WARNING[4731]: pbx.c:2357 __ast_pbx_run: Channel ‘Zap/4-1’ sent into invalid extension ‘5’ in context ‘Internal’, but no invalid handler
– Hungup ‘Zap/4-1’

If noted if I put the extensions directly in the same context and remove the context specified to background… it works fine…
for example this extensions.conf works fine


TRUNK=Zap/4
BRIANP=SIP/1004
BRIANP2=SIP/1005
BRIAN=SIP/brian
CHRIS=SIP/chris
BRAD=SIP/brad
STEVEN=SIP/steven

[Incoming]

exten => s,1,Answer()
exten => s,n,Wait(1)
exten => s,n,Background(ct.com/enter-ext)

exten => 500,1,VoiceMailMain()
exten => 1000,1,Dial(${BRIANP})

[Internal]

exten => 1000,1,Dial(${BRIANP})
exten => 500,1,VoiceMailMain()