Pessoal, quando uma ligação falha, só consigo pegar do Asterisk a informação de BUSY (21), mesmo quando não é ocupado e sim alguma outra falha qualquer na rota.<div>   Como eu faço pra conseguir pegar a informação correta, como o 603 &quot;Declined&quot; ? Já tentei pelo cabeçalho (<span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">X-Asterisk-HangupCause e </span><span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">X-Asterisk-HangupCauseCode), mas sem sucesso.</span></div>
<div>   Obrigado<br><div><br></div><div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">-- Called gvt_trunk/551140521000</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
-- Got SIP response 603 &quot;Declined&quot; back from 201.55.44.33</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">-- SIP/gvt_trunk-000000eb is busy</div>
<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
&lt;--- SIP read from <a href="http://201.55.44.33:5060">201.55.44.33:5060</a> ---&gt;</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">SIP/2.0 603 Declined</div>
</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<div><br></div></div></div>