System hangs up when changing system recording's language

Weird bug here.
A customer wants to replace some system recordings. It works for the default language (French) but when he presses 3 to switch language, waits for the beep and presses 1 to select EN, the system just hangs up.

I configured my phone and tried to reproduce the issue but it’s works fine on my phone.

Here is what show up in the log when the problem occurs:

51[2020-10-21 13:57:49] VERBOSE[6633][C-00000849] file.c: <PJSIP/268-000004a8> Playing ‘fr/custom/Bienvenue.ulaw’ (language ‘fr’)

52[2020-10-21 13:57:51] DTMF[6633][C-00000849] channel.c: DTMF begin ‘3’ received on PJSIP/268-000004a8

53[2020-10-21 13:57:51] DTMF[6633][C-00000849] channel.c: DTMF begin ignored ‘3’ on PJSIP/268-000004a8

54[2020-10-21 13:57:51] DTMF[6633][C-00000849] channel.c: DTMF end ‘3’ received on PJSIP/268-000004a8, duration 100 ms

55[2020-10-21 13:57:51] DTMF[6633][C-00000849] channel.c: DTMF end passthrough ‘3’ on PJSIP/268-000004a8

56[2020-10-21 13:57:51] VERBOSE[6633][C-00000849] pbx.c: Executing [3@macro-systemrecording:1] Goto(“PJSIP/268-000004a8”, “switchlang,1”) in new stack

57[2020-10-21 13:57:51] VERBOSE[6633][C-00000849] pbx_builtins.c: Goto (macro-systemrecording,switchlang,1)

58[2020-10-21 13:57:51] VERBOSE[6633][C-00000849] pbx.c: Executing [switchlang@macro-systemrecording:1] Playback(“PJSIP/268-000004a8”, “language&is-set-to”) in new stack

59[2020-10-21 13:57:51] VERBOSE[6633][C-00000849] file.c: <PJSIP/268-000004a8> Playing ‘language.ulaw’ (language ‘fr’)

60[2020-10-21 13:57:52] VERBOSE[6633][C-00000849] file.c: <PJSIP/268-000004a8> Playing ‘is-set-to.ulaw’ (language ‘fr’)

61[2020-10-21 13:57:53] VERBOSE[6633][C-00000849] pbx.c: Executing [switchlang@macro-systemrecording:2] SayAlpha(“PJSIP/268-000004a8”, “fr”) in new stack

62[2020-10-21 13:57:53] VERBOSE[6633][C-00000849] file.c: <PJSIP/268-000004a8> Playing ‘letters/f.ulaw’ (language ‘fr’)

63[2020-10-21 13:57:53] VERBOSE[6633][C-00000849] file.c: <PJSIP/268-000004a8> Playing ‘letters/r.ulaw’ (language ‘fr’)

64[2020-10-21 13:57:54] VERBOSE[6633][C-00000849] pbx.c: Executing [switchlang@macro-systemrecording:3] Playback(“PJSIP/268-000004a8”, “after-the-tone”) in new stack

65[2020-10-21 13:57:54] VERBOSE[6633][C-00000849] file.c: <PJSIP/268-000004a8> Playing ‘after-the-tone.ulaw’ (language ‘fr’)

66[2020-10-21 13:57:56] VERBOSE[6633][C-00000849] pbx.c: Executing [switchlang@macro-systemrecording:4] BackGround(“PJSIP/268-000004a8”, “press-1”) in new stack

67[2020-10-21 13:57:56] VERBOSE[6633][C-00000849] file.c: <PJSIP/268-000004a8> Playing ‘press-1.ulaw’ (language ‘fr’)

68[2020-10-21 13:57:58] VERBOSE[6633][C-00000849] pbx.c: Executing [switchlang@macro-systemrecording:5] SayAlpha(“PJSIP/268-000004a8”, “en”) in new stack

69[2020-10-21 13:57:58] VERBOSE[6633][C-00000849] file.c: <PJSIP/268-000004a8> Playing ‘letters/e.ulaw’ (language ‘fr’)

70[2020-10-21 13:57:58] VERBOSE[6633][C-00000849] file.c: <PJSIP/268-000004a8> Playing ‘letters/n.ulaw’ (language ‘fr’)

71[2020-10-21 13:57:59] VERBOSE[6633][C-00000849] pbx.c: Executing [switchlang@macro-systemrecording:6] BackGround(“PJSIP/268-000004a8”, “press-2”) in new stack

72[2020-10-21 13:57:59] VERBOSE[6633][C-00000849] file.c: <PJSIP/268-000004a8> Playing ‘press-2.ulaw’ (language ‘fr’)

73[2020-10-21 13:57:59] DTMF[6633][C-00000849] channel.c: DTMF begin ‘1’ received on PJSIP/268-000004a8

74[2020-10-21 13:57:59] DTMF[6633][C-00000849] channel.c: DTMF begin ignored ‘1’ on PJSIP/268-000004a8

75[2020-10-21 13:57:59] DTMF[6633][C-00000849] channel.c: DTMF end ‘1’ received on PJSIP/268-000004a8, duration 100 ms

76[2020-10-21 13:57:59] DTMF[6633][C-00000849] channel.c: DTMF end passthrough ‘1’ on PJSIP/268-000004a8

77[2020-10-21 13:58:04] WARNING[6633][C-00000849] pbx.c: Invalid extension ‘1’, but no rule ‘i’ or ‘e’ in context ‘from-internal’

78[2020-10-21 13:58:04] VERBOSE[6633][C-00000849] pbx.c: Executing [h@from-internal:1] Macro(“PJSIP/268-000004a8”, “hangupcall”) in new stack

79[2020-10-21 13:58:04] VERBOSE[6633][C-00000849] pbx.c: Executing [s@macro-hangupcall:1] GotoIf(“PJSIP/268-000004a8”, “1?theend”) in new stack

80[2020-10-21 13:58:04] VERBOSE[6633][C-00000849] pbx_builtins.c: Goto (macro-hangupcall,s,3)

81[2020-10-21 13:58:04] VERBOSE[6633][C-00000849] pbx.c: Executing [s@macro-hangupcall:3] ExecIf(“PJSIP/268-000004a8”, “0?Set(CDR(recordingfile)=)”) in new stack

82[2020-10-21 13:58:04] VERBOSE[6633][C-00000849] pbx.c: Executing [s@macro-hangupcall:4] NoOp(“PJSIP/268-000004a8”, " montior file= ") in new stack

83[2020-10-21 13:58:04] VERBOSE[6633][C-00000849] pbx.c: Executing [s@macro-hangupcall:5] GotoIf(“PJSIP/268-000004a8”, “1?skipagi”) in new stack

84[2020-10-21 13:58:04] VERBOSE[6633][C-00000849] pbx_builtins.c: Goto (macro-hangupcall,s,7)

85[2020-10-21 13:58:04] VERBOSE[6633][C-00000849] pbx.c: Executing [s@macro-hangupcall:7] Hangup(“PJSIP/268-000004a8”, “”) in new stack

86[2020-10-21 13:58:04] VERBOSE[6633][C-00000849] app_macro.c: Spawn extension (macro-hangupcall, s, 7) exited non-zero on ‘PJSIP/268-000004a8’ in macro ‘hangupcall’

87[2020-10-21 13:58:04] VERBOSE[6633][C-00000849] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on ‘PJSIP/268-000004a8’

Any ideas ?
FreePBX is Clouded, Recording module is at version 15.0.3.13

I am trying to find for info on this part

Oh… I think that the person just doesn’t wait for the beep !
The Playing ‘beep.ulaw’ line is missing in the log… Duh !

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.