All is fine until the moment I want to add record() method.
[comink]
exten => _[+0-9a-zA-Z*].,1,Verbose(“u4 works |”{EXTEN})
exten => _[+0-9a-zA-Z*].,n,GotoIf(["{EXTEN}"="0000"]?3:4)
exten => 0000,n,Answer()
exten => _[+0-9a-zA-Z*].,n,Set(u4msg={MESSAGE(body)})
same => n,Verbose("Message: "{u4msg}" | "{EXTEN})
exten => _[+0-9a-zA-Z*].,n,Record(/var/spool/asterisk/recording/rec.wav,15,15)
exten => _[+0-9a-zA-Z*].,n,Stasis(COMINK-ARI,${u4msg})
exten => _[+0-9a-zA-Z*].,n(hangup),Hangup()
After adding method, this error appears:
Logs:
[Oct 28 18:01:12] ERROR[96218][C-00000003]: channel.c:5568 set_format: Unable to set format because channel Message/ast_msg_queue supports no formats
[Oct 28 18:01:12] WARNING[96218][C-00000003]: file.c:1252 ast_streamfile: Unable to open beep (format (none)): Function not implemented
[Oct 28 18:01:12] WARNING[96218][C-00000003]: app_record.c:361 record_exec: ast_streamfile failed on Message/ast_msg_queue
[Oct 28 18:01:12] ERROR[96218][C-00000003]: channel.c:5568 set_format: Unable to set format because channel Message/ast_msg_queue supports no formats
[Oct 28 18:01:12] WARNING[96218][C-00000003]: app_record.c:372 record_exec: Unable to set to linear mode, giving up