{"id":586,"date":"2013-09-13T13:05:08","date_gmt":"2013-09-13T16:05:08","guid":{"rendered":"http:\/\/blog.abratel.com.br\/?p=586"},"modified":"2013-09-13T13:05:08","modified_gmt":"2013-09-13T16:05:08","slug":"problemas-ao-checar-mensagens-antigas-voicemail-asterisk-odbc","status":"publish","type":"post","link":"https:\/\/blog.abratel.com.br\/?p=586","title":{"rendered":"Problemas ao checar mensagens antigas voicemail asterisk odbc"},"content":{"rendered":"<p>Asterisk 1.11<\/p>\n<p>Problema: No meu de voz ao acessar a caixa postal e verificar mensagens antigas n\u00e3o eram ouvidas. Recebia na cli as mensagens abaixo:<\/p>\n<p>No banco nota que o campo msg_id em voicemail_messages em 90% n\u00e3o continha dados (NULL).<\/p>\n<p>Para solu\u00e7\u00e3o, aplica\u00e7\u00e3o do patch abaixo:<br \/>\nhttps:\/\/reviewboard.asterisk.org\/r\/2220\/diff\/4\/raw\/<\/p>\n<p>Fonte: https:\/\/reviewboard.asterisk.org\/r\/2220\/diff\/4\/<\/p>\n<p><strong>Para aplicar o patch:<\/strong><\/p>\n<p><strong>1 &#8211; Ir at\u00e9 o diret\u00f3rio da instala\u00e7\u00e3o do asterisk<\/strong><br \/>\n    [root@ipbx apps]# cd  \/asterisk\/asterisk-11.2.1\/apps\/<\/p>\n<p><strong>2 &#8211; Executar o comando:<\/strong><br \/>\n    [root@ipbx apps]# patch -p0 < rb2220.patch\ncan't find file to patch at input line 5\nPerhaps you used the wrong -p or --strip option?\nThe text leading up to this was:\n--------------------------\n|Index: \/branches\/11\/apps\/app_voicemail.c\n|===================================================================\n|--- \/branches\/11\/apps\/app_voicemail.c  (revision 378414)\n|+++ \/branches\/11\/apps\/app_voicemail.c  (working copy)\n--------------------------\nFile to patch: \/asterisk\/asterisk-11.2.1\/apps\/app_voicemail.c\npatching file \/asterisk\/asterisk-11.2.1\/apps\/app_voicemail.c\n\n<strong>3 &#8211; Se solicitado o caminho coloque completo: <\/strong><br \/>\n   \/asterisk\/asterisk-11.2.1\/apps\/app_voicemail.c<\/p>\n<p><strong>4 &#8211; Compilar novamente asterisk:<\/strong><br \/>\n    [root@ipbx apps]# cd  \/asterisk\/asterisk-11.2.1\/<br \/>\n    make<br \/>\n    make install<\/p>\n<p><strong>5 &#8211; Restart asterisk<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Asterisk 1.11 Problema: No meu de voz ao acessar a caixa postal e verificar mensagens antigas n\u00e3o eram ouvidas. Recebia na cli as mensagens abaixo: No banco nota que o campo msg_id em voicemail_messages em 90% n\u00e3o continha dados (NULL). Para solu\u00e7\u00e3o, aplica\u00e7\u00e3o do patch&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=\/wp\/v2\/posts\/586"}],"collection":[{"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=586"}],"version-history":[{"count":1,"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=\/wp\/v2\/posts\/586\/revisions"}],"predecessor-version":[{"id":587,"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=\/wp\/v2\/posts\/586\/revisions\/587"}],"wp:attachment":[{"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=586"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=586"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=586"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}