O LOG de execução é este:<br><br>VoiceMail("SIP/250-00000002", "250@default") in new stack<br> -- <SIP/250-00000002> Playing 'vm-intro' (language 'pt_BR')<br> -- <SIP/250-00000002> Playing 'beep' (language 'pt_BR')<br>
-- Recording the message<br> -- x=0, open writing: /var/spool/asterisk/voicemail/default/250/tmp/xzTbqe format: wav49, 0x1a446c18<br> -- User hung up<br>[Jun 21 08:57:35] WARNING[2760]: app_voicemail.c:2344 generic_prepare: SQL Prepare failed![DELETE FROM voicemessages WHERE dir=? AND msgnum=?]<br>
[Jun 21 08:57:35] WARNING[2760]: res_odbc.c:130 ast_odbc_prepare_and_execute: SQL Prepare failed. Attempting a reconnect...<br>[Jun 21 08:57:35] NOTICE[2760]: res_odbc.c:537 odbc_obj_connect: Connecting asterisk<br>[Jun 21 08:57:35] NOTICE[2760]: res_odbc.c:565 odbc_obj_connect: res_odbc: Connected to asterisk [asterisk-connector]<br>
[Jun 21 08:57:35] WARNING[2760]: app_voicemail.c:2344 generic_prepare: SQL Prepare failed![DELETE FROM voicemessages WHERE dir=? AND msgnum=?]<br>[Jun 21 08:57:35] WARNING[2760]: res_odbc.c:130 ast_odbc_prepare_and_execute: SQL Prepare failed. Attempting a reconnect...<br>
[Jun 21 08:57:35] NOTICE[2760]: res_odbc.c:537 odbc_obj_connect: Connecting asterisk<br>[Jun 21 08:57:35] NOTICE[2760]: res_odbc.c:565 odbc_obj_connect: res_odbc: Connected to asterisk [asterisk-connector]<br>[Jun 21 08:57:35] WARNING[2760]: app_voicemail.c:2623 delete_file: SQL Execute error!<br>
[DELETE FROM voicemessages WHERE dir=? AND msgnum=?]<br><br> == Parsing '/var/spool/asterisk/voicemail/default/250/INBOX/msg0000.txt': Found<br>[Jun 21 08:57:35] WARNING[2760]: app_voicemail.c:2690 insert_cb: SQL Prepare failed![INSERT INTO voicemessages (dir,msgnum,recording,context,macrocontext,callerid,origtime,duration,mailboxuser,mailboxcontext) VALUES (?,?, ? , ?,?,?,?,?,?,?)]<br>
[Jun 21 08:57:35] WARNING[2760]: res_odbc.c:130 ast_odbc_prepare_and_execute: SQL Prepare failed. Attempting a reconnect...<br>[Jun 21 08:57:35] NOTICE[2760]: res_odbc.c:537 odbc_obj_connect: Connecting asterisk<br>[Jun 21 08:57:35] NOTICE[2760]: res_odbc.c:565 odbc_obj_connect: res_odbc: Connected to asterisk [asterisk-connector]<br>
[Jun 21 08:57:35] WARNING[2760]: app_voicemail.c:2690 insert_cb: SQL Prepare failed![INSERT INTO voicemessages (dir,msgnum,recording,context,macrocontext,callerid,origtime,duration,mailboxuser,mailboxcontext) VALUES (?,?, ? , ?,?,?,?,?,?,?)]<br>
[Jun 21 08:57:35] WARNING[2760]: res_odbc.c:130 ast_odbc_prepare_and_execute: SQL Prepare failed. Attempting a reconnect...<br>[Jun 21 08:57:35] NOTICE[2760]: res_odbc.c:537 odbc_obj_connect: Connecting asterisk<br>[Jun 21 08:57:35] NOTICE[2760]: res_odbc.c:565 odbc_obj_connect: res_odbc: Connected to asterisk [asterisk-connector]<br>
== Parsing '/var/spool/asterisk/voicemail/default/250/INBOX/msg0000.txt': Found<br> == Parsing '/var/spool/asterisk/voicemail/default/250/INBOX/msg0000.txt': Found<br> == Spawn extension (interno, 1, 1) exited non-zero on 'SIP/250-00000002'<br>
<br>-- <br>Moisés P. Sena <<a href="mailto:moises@oriontec.com.br">moises@oriontec.com.br</a>><br>(Desenvolvedor WEB)<br>Oriontec Automação Comercial<br><a href="http://www.oriontec.com.br">http://www.oriontec.com.br</a><br>