<div dir="ltr">Cara, já tive este problema e resolvi colocando um ResetCDR() e um Answer() antes de fazer o Dial</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><blockquote style="text-align:left;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><b><font size="4">Henrique Antonio de Oliveira</font></b></blockquote><div><b>Tel: 47-84022327</b></div><div><b>E-Mail: <a href="mailto:haooliveira@gmail.com" target="_blank">haooliveira@gmail.com</a></b></div><div><b>Skype: henrique-o</b></div><div><br></div></div></div></div></div></div>
<br><div class="gmail_quote">Em 6 de outubro de 2016 16:04, Pedro Tel <span dir="ltr"><<a href="mailto:pedrotel2602@gmail.com" target="_blank">pedrotel2602@gmail.com</a>></span> escreveu:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="white" background="cid:image001.gif@01D21FEB.58298F60" lang="PT-BR" link="#6666CC" vlink="#996666"><img src="cid:image001.gif@01D21FEB.58298F60" width="0" height="0" class="m_-9038153974302464330shape" style="display:none;width:0;height:0"><div class="m_-9038153974302464330WordSection1"><p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d">Boa tarde<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d"> Estou tendo o seguinte problema ao utilizar o Sip Trunk da CTBC.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d"> Quando realizo uma chamada, assim que a mesma é atendida eu ouço a musica em espera do próprio Asterisk por +- uns 3 segundos, notei que isso acontece quando ligo para um número que tem bloqueio de chamadas a cobrar<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d"> <u></u><u></u></span></p><div style="border:solid windowtext 1.0pt;padding:1.0pt 4.0pt 1.0pt 4.0pt"><p class="MsoNormal" style="border:none;padding:0cm"><span style="font-size:10.0pt;color:#1f497d">-- Executing [39131397@c1-perm-tudo:1] Set("SIP/9570-00000313", "GRAVACAO=/pabx/gravacao/2016/<wbr>10/05/05102016_1735_S_9570_<wbr>39131397.WAV") in new stack<u></u><u></u></span></p><p class="MsoNormal" style="border:none;padding:0cm"><span style="font-size:10.0pt;color:#1f497d"> -- Executing [39131397@c1-perm-tudo:2] Set("SIP/9570-00000313", "AUDIOHOOK_INHERIT(MixMonitor)<wbr>=yes") in new stack<u></u><u></u></span></p><p class="MsoNormal" style="border:none;padding:0cm"><span style="font-size:10.0pt;color:#1f497d"> -- Executing [39131397@c1-perm-tudo:3] MixMonitor("SIP/9570-00000313"<wbr>, "/pabx/gravacao/2016/10/05/<wbr>05102016_1735_S_9570_39131397.<wbr>WAV,ab") in new stack<u></u><u></u></span></p><p class="MsoNormal" style="border:none;padding:0cm"><span style="font-size:10.0pt;color:#1f497d"> -- Executing [39131397@c1-perm-tudo:4] Set("SIP/9570-00000313", "CDR(userfield)=/pabx/<wbr>gravacao/2016/10/05/05102016_<wbr>1735_S_9570_39131397.WAV") in new stack<u></u><u></u></span></p><p class="MsoNormal" style="border:none;padding:0cm"><span style="font-size:10.0pt;color:#1f497d"> -- Executing [39131397@c1-perm-tudo:5] Set("SIP/9570-00000313", "CDR(hg)=1#98#") in new stack<u></u><u></u></span></p><p class="MsoNormal" style="border:none;padding:0cm"><span style="font-size:10.0pt;color:#1f497d"> -- Executing [39131397@c1-perm-tudo:6] Dial("SIP/9570-00000313", "SIP/CTBC/39131397,60,wW") in new stack<u></u><u></u></span></p><p class="MsoNormal" style="border:none;padding:0cm"><span style="font-size:10.0pt;color:#1f497d"> == Using SIP RTP CoS mark 5<u></u><u></u></span></p><p class="MsoNormal" style="border:none;padding:0cm"><span style="font-size:10.0pt;color:#1f497d"> == Begin MixMonitor Recording SIP/9570-00000313<u></u><u></u></span></p><p class="MsoNormal" style="border:none;padding:0cm"><span style="font-size:10.0pt;color:#1f497d"> -- Called SIP/CTBC/39131397<u></u><u></u></span></p><p class="MsoNormal" style="border:none;padding:0cm"><span style="font-size:10.0pt;color:#1f497d"> -- SIP/CTBC-00000314 is ringing<u></u><u></u></span></p><p class="MsoNormal" style="border:none;padding:0cm"><span style="font-size:10.0pt;color:#1f497d"> -- SIP/CTBC-00000314 is making progress passing it to SIP/9570-00000313<u></u><u></u></span></p><p class="MsoNormal" style="border:none;padding:0cm"><span style="font-size:10.0pt;color:#1f497d"> -- SIP/CTBC-00000314 answered SIP/9570-00000313<u></u><u></u></span></p><p class="MsoNormal" style="border:none;padding:0cm"><span style="font-size:10.0pt;color:#1f497d"> </span><span style="font-size:10.0pt;color:red">-- Started music on hold, class 'default', on SIP/9570-00000313<u></u><u></u></span></p><p class="MsoNormal" style="border:none;padding:0cm"><span style="font-size:10.0pt;color:red"> -- Stopped music on hold on SIP/9570-00000313<u></u><u></u></span></p><p class="MsoNormal" style="border:none;padding:0cm"><span style="font-size:10.0pt;color:#1f497d"> > [INSERT INTO cdr ("calldate","clid","src","dst"<wbr>,"dcontext","channel","<wbr>dstchannel","lastapp","<wbr>lastdata","duration","billsec"<wbr>,"disposition","amaflags","<wbr>accountcode","uniqueid","<wbr>userfield","hg","peeraccount",<wbr>"linkedid","sequence") VALUES ('2016-10-05 17:35:06','"Pedro" <9570>','9570','39131397','c1-<wbr>perm-tudo','SIP/9570-00000313'<wbr>,'SIP/CTBC-00000314','Dial','<wbr>SIP/CTBC/39131397,60,wW',11,5,<wbr>'ANSWERED',3,'','1475699706.<wbr>1653','/pabx/gravacao/2016/10/<wbr>05/05102016_1735_S_9570_<wbr>39131397.WAV','1#98#','','<wbr>1475699706.1653',2177)]<u></u><u></u></span></p></div><p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal" style="text-indent:35.4pt"><span style="font-size:10.0pt;color:#1f497d">Alguém já teve esse problema?<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d"><u></u> <u></u></span></p></div></div><br>______________________________<wbr>_________________<br>
KHOMP: completa linha de placas externas FXO, FXS, GSM e E1<br>
Media Gateways de 1 a 64 E1s para SIP com R2, ISDN e SS7<br>
Intercomunicador e acesso remoto via rede IP e telefones IP<br>
Conheça todo o portfólio em <a href="http://www.Khomp.com" rel="noreferrer" target="_blank">www.Khomp.com</a><br>
______________________________<wbr>_________________<br>
Para remover seu email desta lista, basta enviar um email em branco para <a href="mailto:asteriskbrasil-unsubscribe@listas.asteriskbrasil.org">asteriskbrasil-unsubscribe@<wbr>listas.asteriskbrasil.org</a><br></blockquote></div><br></div>