Yes if i change the language of the phone it’s working … But then i will not be able to edit french recording.
-- Executing [*[email protected]:1] Macro("SIP/235-000015f9", "user-callerid,") in new stack
-- Executing [[email protected]:1] Set("SIP/235-000015f9", "TOUCH_MONITOR=1528209603.92649") in new stack
-- Executing [[email protected]:2] Set("SIP/235-000015f9", "AMPUSER=235") in new stack
-- Executing [[email protected]:3] GotoIf("SIP/235-000015f9", "0?report") in new stack
-- Executing [[email protected]:4] ExecIf("SIP/235-000015f9", "1?Set(REALCALLERIDNUM=235)") in new stack
-- Executing [[email protected]:5] Set("SIP/235-000015f9", "AMPUSER=235") in new stack
-- Executing [[email protected]:6] GotoIf("SIP/235-000015f9", "0?limit") in new stack
-- Executing [[email protected]:7] Set("SIP/235-000015f9", "AMPUSERCIDNAME=Philippe Bolduc") in new stack
-- Executing [[email protected]:8] ExecIf("SIP/235-000015f9", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
-- Executing [[email protected]:9] GotoIf("SIP/235-000015f9", "0?report") in new stack
-- Executing [[email protected]:10] Set("SIP/235-000015f9", "AMPUSERCID=235") in new stack
-- Executing [[email protected]:11] Set("SIP/235-000015f9", "__DIAL_OPTIONS=trwW") in new stack
-- Executing [[email protected]:12] Set("SIP/235-000015f9", "CALLERID(all)="Philippe Bolduc" <235>") in new stack
-- Executing [[email protected]:13] GotoIf("SIP/235-000015f9", "0?limit") in new stack
-- Executing [[email protected]:14] ExecIf("SIP/235-000015f9", "0?Set(GROUP(concurrency_limit)=235)") in new stack
-- Executing [[email protected]:15] ExecIf("SIP/235-000015f9", "1?Set(CHANNEL(language)=fr)") in new stack
-- Executing [[email protected]:16] NoOp("SIP/235-000015f9", "Macro Depth is 1") in new stack
-- Executing [[email protected]:17] GotoIf("SIP/235-000015f9", "1?report2:macroerror") in new stack
-- Goto (macro-user-callerid,s,18)
-- Executing [[email protected]:18] GotoIf("SIP/235-000015f9", "0?continue") in new stack
-- Executing [[email protected]:19] ExecIf("SIP/235-000015f9", "1?Set(__CALLEE_ACCOUNCODE=)") in new stack
-- Executing [[email protected]:20] Set("SIP/235-000015f9", "__TTL=64") in new stack
-- Executing [[email protected]:21] GotoIf("SIP/235-000015f9", "1?continue") in new stack
-- Goto (macro-user-callerid,s,37)
-- Executing [[email protected]:37] Set("SIP/235-000015f9", "CALLERID(number)=235") in new stack
-- Executing [[email protected]:38] Set("SIP/235-000015f9", "CALLERID(name)=Philippe Bolduc") in new stack
-- Executing [[email protected]:39] GotoIf("SIP/235-000015f9", "0?cnum") in new stack
-- Executing [[email protected]:40] Set("SIP/235-000015f9", "CDR(cnam)=Philippe Bolduc") in new stack
-- Executing [[email protected]:41] Set("SIP/235-000015f9", "CDR(cnum)=235") in new stack
-- Executing [[email protected]:42] Set("SIP/235-000015f9", "CHANNEL(language)=fr") in new stack
-- Executing [*[email protected]:2] Wait("SIP/235-000015f9", "2") in new stack
-- Executing [*[email protected]:3] Macro("SIP/235-000015f9", "systemrecording,docheck,custom/test-rec-,1234") in new stack
-- Executing [[email protected]recording:1] GotoIf("SIP/235-000015f9", "0?invalid") in new stack
-- Executing [[email protected]:2] Set("SIP/235-000015f9", "TMPLANG=fr") in new stack
-- Executing [[email protected]:3] Set("SIP/235-000015f9", "RECFILE=fr/custom/test-rec-") in new stack
-- Executing [[email protected]:4] Set("SIP/235-000015f9", "LISTEN=docheck") in new stack
-- Executing [[email protected]:5] ExecIf("SIP/235-000015f9", "1?Authenticate(1234)") in new stack
-- <SIP/235-000015f9> Playing 'agent-pass.g722' (language 'fr')
-- Remote UNIX connection
-- Remote UNIX connection disconnected
-- <SIP/235-000015f9> Playing 'auth-thankyou.g722' (language 'fr')
-- Executing [[email protected]:6] Goto("SIP/235-000015f9", "docheck,1") in new stack
-- Goto (macro-systemrecording,docheck,1)
-- Executing [[email protected]:1] Playback("SIP/235-000015f9", "beep") in new stack
-- <SIP/235-000015f9> Playing 'beep.g722' (language 'fr')
-- Executing [[email protected]:2] BackGround("SIP/235-000015f9", "fr/custom/test-rec-,m,fr,macro-systemrecording") in new stack
[2018-06-05 10:40:08] WARNING[41314][C-00000e7d]: file.c:774 ast_openstream_full: File fr/custom/test-rec- does not exist in any format
[2018-06-05 10:40:08] WARNING[41314][C-00000e7d]: file.c:774 ast_openstream_full: File fr/custom/test-rec- does not exist in any format
[2018-06-05 10:40:08] WARNING[41314][C-00000e7d]: file.c:1247 ast_streamfile: Unable to open fr/custom/test-rec- (format (g722)): No such file or directory
[2018-06-05 10:40:08] WARNING[41314][C-00000e7d]: file.c:1247 ast_streamfile: Unable to open fr/custom/test-rec- (format (g722)): No such file or directory
[2018-06-05 10:40:08] WARNING[41314][C-00000e7d]: pbx_builtins.c:1100 pbx_builtin_background: ast_streamfile failed on SIP/235-000015f9 for fr/custom/test-rec-,m,fr,macro-systemrecording
[2018-06-05 10:40:08] WARNING[41314][C-00000e7d]: pbx_builtins.c:1100 pbx_builtin_background: ast_streamfile failed on SIP/235-000015f9 for fr/custom/test-rec-,m,fr,macro-systemrecording
– Executing [[email protected]:3] Wait(“SIP/235-000015f9”, “1”) in new stack
– Executing [[email protected]:4] Goto(“SIP/235-000015f9”, “confmenu,1”) in new stack
– Goto (macro-systemrecording,confmenu,1)
– Executing [[email protected]:1] BackGround(“SIP/235-000015f9”, “to-listen-to-it&press-1&to-accept-recording&press-2&to-rerecord-it&press-star&language&press-3,m,fr,macro-systemrecording”) in new stack
– <SIP/235-000015f9> Playing ‘to-listen-to-it.g722’ (language ‘fr’)
– <SIP/235-000015f9> Playing ‘press-1.g722’ (language ‘fr’)
== Spawn extension (macro-systemrecording, confmenu, 1) exited non-zero on ‘SIP/235-000015f9’ in macro ‘systemrecording’
== Spawn extension (from-internal, *29378, 3) exited non-zero on ‘SIP/235-000015f9’
– Executing [[email protected]:1] Macro(“SIP/235-000015f9”, “hangupcall”) in new stack
– Executing [[email protected]:1] GotoIf(“SIP/235-000015f9”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,3)
– Executing [[email protected]:3] ExecIf(“SIP/235-000015f9”, “0?Set(CDR(recordingfile)=)”) in new stack
– Executing [[email protected]:4] NoOp(“SIP/235-000015f9”, " monior file= ") in new stack
– Executing [[email protected]:5] AGI(“SIP/235-000015f9”, “attendedtransfer-rec-restart.php,”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/attendedtransfer-rec-restart.php
– <SIP/235-000015f9>AGI Script attendedtransfer-rec-restart.php completed, returning 0
– Executing [[email protected]:6] Hangup(“SIP/235-000015f9”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 6) exited non-zero on ‘SIP/235-000015f9’ in macro ‘hangupcall’
== Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/235-000015f9’