<div dir="auto">Se for usar o contexto default (o que eu acho arriscado) , faça com muito cuidado.<div dir="auto"><br></div><div dir="auto">Antes de mais nada confirme que o allowguest no sip.conf está setado como no (default é yes), pois se o mesmo estiver ativo ele permite conexões sip anônimas, ou seja, sem registro.</div><div dir="auto"><br></div><div dir="auto">Se você permitir conexões anônimas e se o seu contexto default permitir ou incluir outros contextos que permitam realizar chamadas externas, qualquer pessoa poderá usar seu servidor pra realizar chamadas de saída. </div><div dir="auto"><br></div><div dir="auto">Abraços, </div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, 5 Jun 2018, 14:39 Anderson Freitas, &lt;<a href="mailto:tmsi.freitas@gmail.com">tmsi.freitas@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;color:#444444"><span style="color:rgba(0,0,0,0.87);font-family:&quot;Roboto Slab&quot;,&quot;Times New Roman&quot;,serif;font-size:14px;font-style:normal;font-variant-ligatures:none;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(250,250,250);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Dentro do arquivo /etc/asterisk/extensions.conf verifique o contexto default.</span><br style="color:rgba(0,0,0,0.87);font-family:&quot;Roboto Slab&quot;,&quot;Times New Roman&quot;,serif;font-size:14px;font-style:normal;font-variant-ligatures:none;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(250,250,250);text-decoration-style:initial;text-decoration-color:initial"><br style="color:rgba(0,0,0,0.87);font-family:&quot;Roboto Slab&quot;,&quot;Times New Roman&quot;,serif;font-size:14px;font-style:normal;font-variant-ligatures:none;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(250,250,250);text-decoration-style:initial;text-decoration-color:initial"><span style="color:rgba(0,0,0,0.87);font-family:&quot;Roboto Slab&quot;,&quot;Times New Roman&quot;,serif;font-size:14px;font-style:normal;font-variant-ligatures:none;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(250,250,250);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Nas linhas onde apresenta:</span><br style="color:rgba(0,0,0,0.87);font-family:&quot;Roboto Slab&quot;,&quot;Times New Roman&quot;,serif;font-size:14px;font-style:normal;font-variant-ligatures:none;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(250,250,250);text-decoration-style:initial;text-decoration-color:initial"><br style="color:rgba(0,0,0,0.87);font-family:&quot;Roboto Slab&quot;,&quot;Times New Roman&quot;,serif;font-size:14px;font-style:normal;font-variant-ligatures:none;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(250,250,250);text-decoration-style:initial;text-decoration-color:initial"><span style="color:rgba(0,0,0,0.87);font-family:&quot;Roboto Slab&quot;,&quot;Times New Roman&quot;,serif;font-size:14px;font-style:normal;font-variant-ligatures:none;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(250,250,250);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">exten =&gt; _X.</span><br style="color:rgba(0,0,0,0.87);font-family:&quot;Roboto Slab&quot;,&quot;Times New Roman&quot;,serif;font-size:14px;font-style:normal;font-variant-ligatures:none;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(250,250,250);text-decoration-style:initial;text-decoration-color:initial"><br style="color:rgba(0,0,0,0.87);font-family:&quot;Roboto Slab&quot;,&quot;Times New Roman&quot;,serif;font-size:14px;font-style:normal;font-variant-ligatures:none;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(250,250,250);text-decoration-style:initial;text-decoration-color:initial"><span style="color:rgba(0,0,0,0.87);font-family:&quot;Roboto Slab&quot;,&quot;Times New Roman&quot;,serif;font-size:14px;font-style:normal;font-variant-ligatures:none;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(250,250,250);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Deixe como:</span><br style="color:rgba(0,0,0,0.87);font-family:&quot;Roboto Slab&quot;,&quot;Times New Roman&quot;,serif;font-size:14px;font-style:normal;font-variant-ligatures:none;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(250,250,250);text-decoration-style:initial;text-decoration-color:initial"><br style="color:rgba(0,0,0,0.87);font-family:&quot;Roboto Slab&quot;,&quot;Times New Roman&quot;,serif;font-size:14px;font-style:normal;font-variant-ligatures:none;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(250,250,250);text-decoration-style:initial;text-decoration-color:initial"><span style="color:rgba(0,0,0,0.87);font-family:&quot;Roboto Slab&quot;,&quot;Times New Roman&quot;,serif;font-size:14px;font-style:normal;font-variant-ligatures:none;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(250,250,250);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">exten =&gt; _.</span><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#444444"><span style="color:rgba(0,0,0,0.87);font-family:&quot;Roboto Slab&quot;,&quot;Times New Roman&quot;,serif;font-size:14px;font-style:normal;font-variant-ligatures:none;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(250,250,250);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#444444"><span style="color:rgba(0,0,0,0.87);font-family:&quot;Roboto Slab&quot;,&quot;Times New Roman&quot;,serif;font-size:14px;font-style:normal;font-variant-ligatures:none;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(250,250,250);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Depois, dentro da cli, digite: dialplan reload</span></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#444444"><span style="color:rgba(0,0,0,0.87);font-family:&quot;Roboto Slab&quot;,&quot;Times New Roman&quot;,serif;font-size:14px;font-style:normal;font-variant-ligatures:none;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(250,250,250);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#444444"><span style="color:rgba(0,0,0,0.87);font-family:&quot;Roboto Slab&quot;,&quot;Times New Roman&quot;,serif;font-size:14px;font-style:normal;font-variant-ligatures:none;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(250,250,250);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Isso vai parar o erro que está dando e começará a bater nas regras de negocio.</span></div></div><br><div class="gmail_quote"><div dir="ltr">Em ter, 5 de jun de 2018 às 10:13, junio hyago &lt;<a href="mailto:juniohyago@gmail.com" target="_blank" rel="noreferrer">juniohyago@gmail.com</a>&gt; escreveu:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Bom dia<br></div>para realizar chamadas esta funcionando porem não estou conseguindo configurar o recebimento de chamadas.<br><br>LOG DO ERRO NA CLI DO ASTERISK<br><br>[Jun  5 10:07:21] NOTICE[7067]: chan_iax2.c:13546 set_config: Ignoring bindport on reload<br>[Jun  5 10:07:21] NOTICE[7067]: chan_iax2.c:13610 set_config: Ignoring bindaddr on reload<br>[Jun  5 10:07:21] NOTICE[7067]: iax2/provision.c:562 iax_provision_reload: No IAX provisioning configuration found, IAX provisioning disabled.<br>  == Using SIP TOS bits 96<br>  == Using SIP TOS bits 96 in TCLASS field.<br>  == Using SIP CoS mark 4<br>    --     -- Ringing on port 10 - callstate=0<br>    --     -- Answering port 10<br>    --     -- (Dgv/10): Category Received - &#39;1&#39;, use DGV_CATEGORY_RECEIVED variable to read it!<br>[Jun  5 10:07:36] WARNING[7097][C-00000021]: pbx.c:4365 __ast_pbx_run: Channel &#39;DGV/10&#39; sent to invalid extension but no invalid handler: context,exten,priority=from-pstn,3000,1<br>[Jun  5 10:07:36] NOTICE[7097][C-00000021]: chan_dgv.c:25467 dgv_hangup: Calling dg_HangUp on port 10<br><br><br><br></div>no tronco do SNEP foi configurado<br><br><div class="m_-6523067065406125115m_8511052427518490633gmail-form-group">
          <label class="m_-6523067065406125115m_8511052427518490633gmail-col-sm-3 m_-6523067065406125115m_8511052427518490633gmail-control-label">Tecnologia do Canal</label>
          <div class="m_-6523067065406125115m_8511052427518490633gmail-col-sm-6">
            <input class="m_-6523067065406125115m_8511052427518490633gmail-form-control" name="channel" value="DGV/g3" type="text">
          </div>
        <br><div class="m_-6523067065406125115m_8511052427518490633gmail-form-group">
          <label class="m_-6523067065406125115m_8511052427518490633gmail-col-sm-3 m_-6523067065406125115m_8511052427518490633gmail-control-label">Expressão de Identificação</label>
          <div class="m_-6523067065406125115m_8511052427518490633gmail-col-sm-6">
            <input value="DGV/[123][0-9]" name="id_regex" class="m_-6523067065406125115m_8511052427518490633gmail-form-control" type="text">
          </div>
        </div><br></div><br><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">No dia 2 de junho de 2018 às 09:32, junio hyago <span dir="ltr">&lt;<a href="mailto:juniohyago@gmail.com" target="_blank" rel="noreferrer">juniohyago@gmail.com</a>&gt;</span> escreveu:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">Bom dia <div dir="auto">Estou em dúvida de como configurar o prefixo e o mcdu em uma placa de E1 da digivoice em um servidor snep</div><div dir="auto">Não sei qual o local que deve colocar o meu número</div><div dir="auto">3210- 4000 a 4099</div></div>
</blockquote></div><br></div>
_______________________________________________<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 noreferrer" target="_blank">www.Khomp.com</a><br>
_______________________________________________<br>
Para remover seu email desta lista, basta enviar um email em branco para <a href="mailto:asteriskbrasil-unsubscribe@listas.asteriskbrasil.org" target="_blank" rel="noreferrer">asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="m_-6523067065406125115gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><font face="verdana, sans-serif" color="#444444">No mais, fico a disposição!</font></div><div><font face="verdana, sans-serif" color="#444444"><br></font></div><div><font face="verdana, sans-serif" color="#444444">Atenciosamente, </font></div><div><table cellpadding="0" cellspacing="0" width="473" style="border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(102,102,102);font-size:16px;font-family:Arial;color:rgb(58,54,55);margin-bottom:5px"><tbody><tr><td style="text-align:initial"><span style="border-bottom-width:3px;border-bottom-style:solid;border-bottom-color:rgb(102,102,102);padding:0px 15px 0px 5px"><b style="color:rgb(51,51,51)">Anderson Freitas</b>   <span style="font-size:13px">Especialista em SL e Telecomunicações</span></span></td></tr></tbody></table><table border="0" style="font-size:small;width:440px;font-family:Arial"><tbody><tr valign="top"><td style="max-width:300px;width:70px"><img src="https://s3.amazonaws.com/ucwebapp.wisestamp.com/88144daa-99d7-4b3a-9e7e-adb59d54b37a/IMG_20160308_233226.format_png.resize_200x.png" width="65" height="86.3263525305" alt="photo" style="max-width:295px;max-height:295px;border-radius:4px;width:65px;height:86.3264px"></td><td style="text-align:initial;color:rgb(78,75,76);padding:0px 10px"><span style="color:rgb(102,102,102);font-size:12px">Mobile:</span><a style="color:rgb(78,75,76);font-size:12px;text-decoration:none" rel="noreferrer"> 48 9845-8568</a><br><span style="color:rgb(102,102,102);font-size:12px">Email: <a href="mailto:tmsi.freitas@gmail.com" target="_blank" rel="noreferrer">tmsi.freitas@gmail.com</a></span><br><span style="color:rgb(102,102,102);font-size:12px">Skype:</span><a href="https://mail.google.com/mail/u/0/#" style="color:rgb(78,75,76);text-decoration:none;font-size:12px" target="_blank" rel="noreferrer"> dialplan.reload</a><br><span style="color:rgb(102,102,102);font-size:12px">Website:</span><a href="http://dialplanreload.com/" style="color:rgb(78,75,76);font-size:12px;text-decoration:none" target="_blank" rel="noreferrer"> http://dialplanreload.com</a><br><span style="color:rgb(102,102,102);font-size:12px">Linux user:</span> <span style="font-size:12px">#566437</span><br><span style="color:rgb(102,102,102);font-size:12px">.:</span> <span style="font-size:12px">Software livre é mais que uma ideologia :.</span><br><div style="padding-top:3px"><a href="http://www.linkedin.com/in/dialplanreload" style="color:rgb(17,85,204)" target="_blank" rel="noreferrer"><img width="16" height="16" src="https://s3.amazonaws.com/images.wisestamp.com/icons_32/linkedin.png" style="border-radius:0px;border:0px;width:16px;height:16px"></a> <a href="http://www.facebook.com/andy.freitas07" style="color:rgb(17,85,204)" target="_blank" rel="noreferrer"><img width="16" height="16" src="https://s3.amazonaws.com/images.wisestamp.com/icons_32/facebook.png" style="border-radius:0px;border:0px;width:16px;height:16px"></a> <a href="http://twitter.com/dialplanreload" style="color:rgb(17,85,204)" target="_blank" rel="noreferrer"><img width="16" height="16" src="https://s3.amazonaws.com/images.wisestamp.com/icons_32/twitter.png" style="border-radius:0px;border:0px;width:16px;height:16px"></a> <a href="http://plus.google.com/+AndersonFreitas_DialplanReload/posts" style="color:rgb(17,85,204)" target="_blank" rel="noreferrer"><img width="16" height="16" src="https://s3.amazonaws.com/images.wisestamp.com/icons_32/googleplus.png" style="border-radius:0px;border:0px;width:16px;height:16px"></a> <a href="http://www.instagram.com/dialplan.reload/" style="color:rgb(17,85,204)" target="_blank" rel="noreferrer"><img width="16" height="16" src="https://s3.amazonaws.com/images.wisestamp.com/icons_32/instagram.png" style="border-radius:0px;border:0px;width:16px;height:16px"></a> <a href="http://pt.slideshare.net/AndersonFreitas39" style="color:rgb(17,85,204)" target="_blank" rel="noreferrer"><img width="16" height="16" src="https://s3.amazonaws.com/images.wisestamp.com/icons_32/slideshare.png" style="border-radius:0px;border:0px;width:16px;height:16px"></a></div><div><br></div></td></tr></tbody></table></div></div></div></div></div>
_______________________________________________<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 noreferrer" target="_blank">www.Khomp.com</a><br>
_______________________________________________<br>
Para remover seu email desta lista, basta enviar um email em branco para <a href="mailto:asteriskbrasil-unsubscribe@listas.asteriskbrasil.org" target="_blank" rel="noreferrer">asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</a></blockquote></div>