Diego,<br><br> No debug, a tentativa de originar a ligação retornou "Sending: NO SESSION" conforme cópia do log abaixo.<br><br><br>[Thu Jan 21 15:34:30 2010] DEBUG :: MonAst.threadClient (threadClient-0.0873871592169) :: Received: GET CHANGES<br>
[Thu Jan 21 15:34:30 2010] INFO :: MonAst.clientGetChanges (threadClient-0.0873871592169) :: Running...<br>[Thu Jan 21 15:34:30 2010] DEBUG :: MonAst.threadClient (threadClient-0.0873871592169) :: Sending: NO CHANGES<br>
[Thu Jan 21 15:34:31 2010] DEBUG :: MonAst.threadClient (threadClient-0.0873871592169) :: Received: GET CHANGES<br>[Thu Jan 21 15:34:31 2010] INFO :: MonAst.clientGetChanges (threadClient-0.0873871592169) :: Running...<br>
[Thu Jan 21 15:34:31 2010] DEBUG :: MonAst.threadClient (threadClient-0.0873871592169) :: Sending: NO CHANGES<br>[Thu Jan 21 15:34:32 2010] DEBUG :: MonAst.threadClient (threadClient-0.0873871592169) :: Received: GET CHANGES<br>
[Thu Jan 21 15:34:32 2010] INFO :: MonAst.clientGetChanges (threadClient-0.0873871592169) :: Running...<br>[Thu Jan 21 15:34:32 2010] DEBUG :: MonAst.threadClient (threadClient-0.0873871592169) :: Sending: NO CHANGES<br>
<br>******************************************************************************************************<br> TENTATIVA DE ORIGINAR A LIGAÇÃO<br>******************************************************************************************************<br>
[Thu Jan 21 15:34:33 2010] DEBUG :: MonAst.threadClient (threadClient-0.0873871592169) :: Received: {\\"Action\\": \\"OriginateCall\\", \\"Source\\": \\"SIP/6214\\", \\"Destination\\": \\"2087\\", \\"Type\\": \\"default\\"}<br>
[Thu Jan 21 15:34:33 2010] DEBUG :: MonAst.threadClient (threadClient-0.0873871592169) :: Sending: NO SESSION<br><br>******************************************************************************************************<br>
<br>[Thu Jan 21 15:34:33 2010] DEBUG :: MonAst.threadClient (threadClient-0.0873871592169) :: Received: GET CHANGES<br>[Thu Jan 21 15:34:33 2010] INFO :: MonAst.clientGetChanges (threadClient-0.0873871592169) :: Running...<br>
[Thu Jan 21 15:34:33 2010] DEBUG :: MonAst.threadClient (threadClient-0.0873871592169) :: Sending: NO CHANGES<br>[Thu Jan 21 15:34:40 2010] INFO :: AsteriskManager.threadPing :: PING<br>[Thu Jan 21 15:34:40 2010] DEBUG :: Action: PING<br>
[Thu Jan 21 15:34:40 2010] DEBUG :: AsteriskManager.threadRecvQueue :: Received: Response: Success\r\nPing: Pong<br>[Thu Jan 21 15:34:41 2010] INFO :: AsteriskManager.threadPing :: PONG<br>^C[Thu Jan 21 15:34:41 2010] INFO :: MonAst.start :: Received KeyboardInterrupt -- Shutting Down<br>
[Thu Jan 21 15:34:41 2010] NOTICE :: AsteriskManager.close :: Finishing...<br>[Thu Jan 21 15:34:42 2010] NOTICE :: AsteriskManager.logoff :: Logging off...<br>[Thu Jan 21 15:34:42 2010] DEBUG :: Action: logoff<br>[Thu Jan 21 15:34:42 2010] DEBUG :: AsteriskManager.threadRecvQueue :: Received: Response: Goodbye\r\nMessage: Thanks for all the fish.<br>
[Thu Jan 21 15:34:44 2010] NOTICE :: AsteriskManager.disconnect :: Closing connection to localhost:5038<br>[Thu Jan 21 15:34:44 2010] NOTICE :: Monast :: Finished...<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
José<br>
<br>
Rode o monast em modo debug, e veja se apos executar a ação pelo browser, acontece algum erro no log<br>
<br>
# monast.py --colored --debug<br>
<br>
Em 21-01-2010 12:12, José Augusto Dalgut Junior escreveu:<br>
> Diego,<br>
><br>
> Obrigado pela ajuda, realmente havia diferença nas linhas que você me<br>
> informou, mas mesmo alterando para as suas linhas e reiniciando o<br>
> asterisk e o monast, não funcionou.<br>
><br>
> Segue abaixo a configuração do manager.conf<br>
><br>
> [general]<br>
> displaysystemname=yes<br>
> enabled=yes<br>
> port=5038<br>
> bindaddr = 0.0.0.0<br>
><br>
> [monast]<br>
> secret=xxxx<br>
> deny=<a href="http://0.0.0.0/0.0.0.0" target="_blank">0.0.0.0/0.0.0.0</a> <<a href="http://0.0.0.0/0.0.0.0" target="_blank">http://0.0.0.0/0.0.0.0</a>><br>
> permit=<a href="http://127.0.0.1/255.255.255.255" target="_blank">127.0.0.1/255.255.255.255</a> <<a href="http://127.0.0.1/255.255.255.255" target="_blank">http://127.0.0.1/255.255.255.255</a>><br>
> ;read=system,call,log,verbose,command,agent,user,config<br>
> ;write=system,call,log,verbose,command,agent,user,config<br>
><br>
> read=system,call,log,verbose,command,agent,user,config,originate,reporting<br>
> write=system,call,log,verbose,command,agent,user,config,originate,reporting<br>
><br>
> Mais uma vez, obrigado.<br>
</blockquote></div><br>