SOLVED Invalid extension 1

progs_00

Active Member
Joined
Jan 6, 2014
Messages
132
Reaction score
37
Hello guys,

Hope everyone is ok. I'm having this issue with latest Asterisk 13.11 (actually not latest as 13.11.2 has already been released) on Incredible GUI 12.0.39
Some calls (2 or 3 a day) get the "sorry you are having trouble" message (the people getting it are indeed very problematic but that's another story).
I'm asking here although I believe it's most probably an issue with Freepbx (less likely Asterisk core) in case someone else has faced it and resolved it somehow
Here is the cli output with the problem

Code:
2016-09-19 09:27:05] VERBOSE[7570][C-0000140d] pbx_builtins.c: Goto (ivr-2,s,1)
[2016-09-19 09:27:05] VERBOSE[7570][C-0000140d] pbx.c: Executing [s@ivr-2:1] Set("SIP/Cyta-0000016a", "_IVR_CONTEXT_ivr-2=") in new stack
[2016-09-19 09:27:05] VERBOSE[7570][C-0000140d] pbx.c: Executing [s@ivr-2:2] Set("SIP/Cyta-0000016a", "_IVR_CONTEXT=ivr-2") in new stack
[2016-09-19 09:27:05] VERBOSE[7570][C-0000140d] pbx.c: Executing [s@ivr-2:3] Set("SIP/Cyta-0000016a", "__IVR_RETVM=") in new stack
[2016-09-19 09:27:05] VERBOSE[7570][C-0000140d] pbx.c: Executing [s@ivr-2:4] GotoIf("SIP/Cyta-0000016a", "0?skip") in new stack
[2016-09-19 09:27:05] VERBOSE[7570][C-0000140d] pbx.c: Executing [s@ivr-2:5] Answer("SIP/Cyta-0000016a", "") in new stack
[2016-09-19 09:27:05] WARNING[7517][C-0000140a] chan_pjsip.c: Can't send 10 type frames with PJSIP
[2016-09-19 09:27:05] VERBOSE[7570][C-0000140d] pbx.c: Executing [s@ivr-2:6] Wait("SIP/Cyta-0000016a", "1") in new stack
[2016-09-19 09:27:05] WARNING[7517][C-0000140a] chan_pjsip.c: Can't send 10 type frames with PJSIP
[2016-09-19 09:27:06] VERBOSE[7570][C-0000140d] pbx.c: Executing [s@ivr-2:7] Set("SIP/Cyta-0000016a", "IVR_MSG=custom/gr-greetings") in new stack
[2016-09-19 09:27:06] VERBOSE[7570][C-0000140d] pbx.c: Executing [s@ivr-2:8] Set("SIP/Cyta-0000016a", "TIMEOUT(digit)=3") in new stack
[2016-09-19 09:27:06] VERBOSE[7570][C-0000140d] func_timeout.c: Digit timeout set to 3.000
[2016-09-19 09:27:06] VERBOSE[7570][C-0000140d] pbx.c: Executing [s@ivr-2:9] ExecIf("SIP/Cyta-0000016a", "1?Background(custom/gr-greetings)") in new stack
[2016-09-19 09:27:06] VERBOSE[7570][C-0000140d] file.c: <SIP/Cyta-0000016a> Playing 'custom/gr-greetings.slin' (language 'gr')
[2016-09-19 09:27:09] VERBOSE[7570][C-0000140d] pbx.c: Invalid extension '1' in context 'ivr-2' on SIP/Cyta-0000016a
[2016-09-19 09:27:09] VERBOSE[7570][C-0000140d] pbx.c: Executing [i@ivr-2:1] Playback("SIP/Cyta-0000016a", "sorry-youre-having-problems") in new stack
[2016-09-19 09:27:09] VERBOSE[7570][C-0000140d] file.c: <SIP/Cyta-0000016a> Playing 'sorry-youre-having-problems.alaw' (language 'gr')
[2016-09-19 09:27:12] WARNING[7517][C-0000140a] chan_pjsip.c: Can't send 10 type frames with PJSIP
[2016-09-19 09:27:12] WARNING[7517][C-0000140a] chan_pjsip.c: Can't send 10 type frames with PJSIP
[2016-09-19 09:27:14] WARNING[7517][C-0000140a] chan_pjsip.c: Can't send 10 type frames with PJSIP
[2016-09-19 09:27:14] WARNING[7517][C-0000140a] chan_pjsip.c: Can't send 10 type frames with PJSIP
[2016-09-19 09:27:18] VERBOSE[7570][C-0000140d] pbx.c: Executing [i@ivr-2:2] Goto("SIP/Cyta-0000016a", "hang,1") in new stack
[2016-09-19 09:27:18] VERBOSE[7570][C-0000140d] pbx_builtins.c: Goto (ivr-2,hang,1)
[2016-09-19 09:27:18] VERBOSE[7570][C-0000140d] pbx.c: Executing [hang@ivr-2:1] Playback("SIP/Cyta-0000016a", "vm-goodbye") in new stack
[2016-09-19 09:27:18] VERBOSE[7570][C-0000140d] file.c: <SIP/Cyta-0000016a> Playing 'vm-goodbye.alaw' (language 'gr')
[2016-09-19 09:27:18] VERBOSE[7570][C-0000140d] pbx.c: Executing [h@ivr-2:1] Hangup("SIP/Cyta-0000016a", "") in new stack
[2016-09-19 09:27:18] VERBOSE[7570][C-0000140d] pbx.c: Spawn extension (ivr-2, h, 1) exited non-zero on 'SIP/Cyta-0000016a'
[2016-09-19 09:27:18] VERBOSE[7585][C-0000140d] app_mixmonitor.c: MixMonitor close filestream (mixed)
[2016-09-19 09:27:18] VERBOSE[7585][C-0000140d] app_mixmonitor.c: End MixMonitor Recording SIP/Cyta-0000016a

And here is an output with no issues

Code:
[2016-09-19 08:23:26] VERBOSE[1668][C-000013d2] pbx_builtins.c: Goto (ivr-2,s,1)
[2016-09-19 08:23:26] VERBOSE[1668][C-000013d2] pbx.c: Executing [s@ivr-2:1] Set("SIP/Cyta-0000014f", "_IVR_CONTEXT_ivr-2=") in new stack
[2016-09-19 08:23:26] VERBOSE[1668][C-000013d2] pbx.c: Executing [s@ivr-2:2] Set("SIP/Cyta-0000014f", "_IVR_CONTEXT=ivr-2") in new stack
[2016-09-19 08:23:26] VERBOSE[1668][C-000013d2] pbx.c: Executing [s@ivr-2:3] Set("SIP/Cyta-0000014f", "__IVR_RETVM=") in new stack
[2016-09-19 08:23:26] VERBOSE[1668][C-000013d2] pbx.c: Executing [s@ivr-2:4] GotoIf("SIP/Cyta-0000014f", "0?skip") in new stack
[2016-09-19 08:23:26] VERBOSE[1668][C-000013d2] pbx.c: Executing [s@ivr-2:5] Answer("SIP/Cyta-0000014f", "") in new stack
[2016-09-19 08:23:26] VERBOSE[1668][C-000013d2] pbx.c: Executing [s@ivr-2:6] Wait("SIP/Cyta-0000014f", "1") in new stack
[2016-09-19 08:23:27] VERBOSE[1668][C-000013d2] pbx.c: Executing [s@ivr-2:7] Set("SIP/Cyta-0000014f", "IVR_MSG=custom/gr-greetings") in new stack
[2016-09-19 08:23:27] VERBOSE[1668][C-000013d2] pbx.c: Executing [s@ivr-2:8] Set("SIP/Cyta-0000014f", "TIMEOUT(digit)=3") in new stack
[2016-09-19 08:23:27] VERBOSE[1668][C-000013d2] func_timeout.c: Digit timeout set to 3.000
[2016-09-19 08:23:27] VERBOSE[1668][C-000013d2] pbx.c: Executing [s@ivr-2:9] ExecIf("SIP/Cyta-0000014f", "1?Background(custom/gr-greetings)") in new stack
[2016-09-19 08:23:27] VERBOSE[1668][C-000013d2] file.c: <SIP/Cyta-0000014f> Playing 'custom/gr-greetings.slin' (language 'gr')
[2016-09-19 08:23:31] VERBOSE[1668][C-000013d2] pbx.c: Executing [s@ivr-2:10] WaitExten("SIP/Cyta-0000014f", "1,") in new stack
[2016-09-19 08:23:32] VERBOSE[1668][C-000013d2] pbx_builtins.c: Timeout on SIP/Cyta-0000014f, going to 't'
[2016-09-19 08:23:32] VERBOSE[1668][C-000013d2] pbx.c: Executing [t@ivr-2:1] Goto("SIP/Cyta-0000014f", "app-languages,4,1") in new stack
[2016-09-19 08:23:32] VERBOSE[1668][C-000013d2] pbx_builtins.c: Goto (app-languages,4,1)
[2016-09-19 08:23:32] VERBOSE[1668][C-000013d2] pbx.c: Executing [4@app-languages:1] NoOp("SIP/Cyta-0000014f", "Changing Channel to language: gr (Greek Language Prompts)") in n$
[2016-09-19 08:23:32] VERBOSE[1668][C-000013d2] pbx.c: Executing [4@app-languages:2] Set("SIP/Cyta-0000014f", "CHANNEL(language)=gr") in new stack
[2016-09-19 08:23:32] VERBOSE[1668][C-000013d2] pbx.c: Executing [4@app-languages:3] Goto("SIP/Cyta-0000014f", "timeconditions,13,1") in new stack


Does anyone have any ideas what could be going on?

Thank you all
 
Last edited:

progs_00

Active Member
Joined
Jan 6, 2014
Messages
132
Reaction score
37
Finally understood what goes on and I'm posting it here in case someone needs it.
If the user presses a button while the greeting message is playing I get the sorry you are having trouble error.
Now, from what I saw, this is probably caused by the fact that the context for greeting is using playback instead of background() or read().
Not true. It's using Background() so I can't understand why when I pass a DTMF it goes to an error.
A really ugly fix I used, was to assign to every digit my main menu, but I hope there is a better solution

Thank you
 
Last edited:

Members online

Forum statistics

Threads
25,778
Messages
167,504
Members
19,198
Latest member
serhii
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top