<p>Olá a todos da lista, estou com o seguinte problema:</p><p> </p><p>Preciseir criar um contexto no extensions_custom para que alguns ramais deixassem de fazer ligação externas e apenas comunicassem entre si.</p><p> </p><p> </p><p><span style="color: #0000ff" class="Apple-style-span">[ramal-ramal]</span></p><p><span style="color: #0000ff" class="Apple-style-span"><br /></span></p><p><span style="color: #0000ff" class="Apple-style-span">exten=>_7[01]XX,1,Dial(DGV/g2/${EXTEN},,tT)</span></p><p><span style="color: #0000ff" class="Apple-style-span">exten=>_7[01]XX,n,Hangup</span></p><p><span style="color: #0000ff" class="Apple-style-span"><br /></span></p><p><span style="color: #0000ff" class="Apple-style-span">exten=>_720[1-7],1,Dial(SIP/${EXTEN},,tT)</span></p><p><span style="color: #0000ff" class="Apple-style-span">exten=>_720[1-7],n,Hangup</span></p><p><span style="color: #0000ff" class="Apple-style-span"><br /></span></p><p><span style="color: #0000ff" cla
ss="Apple-style-span">exten=>_7222,1,Dial(SIP/${EXTEN},,tT)</span></p><p><span style="color: #0000ff" class="Apple-style-span">exten=>_7222,n,Hangup</span></p><p><span style="color: #0000ff" class="Apple-style-span"><br /></span></p><p><span style="color: #0000ff" class="Apple-style-span">exten=>_7237,1,Dial(SIP/${EXTEN},,tT)</span></p><p><span style="color: #0000ff" class="Apple-style-span">exten=>_7237,n,Hangup</span></p><p><span style="color: #0000ff" class="Apple-style-span"><br /></span></p><p><span style="color: #0000ff" class="Apple-style-span">exten=>_730[1-9],1,Dial(SIP/${EXTEN},,tT)</span></p><p><span style="color: #0000ff" class="Apple-style-span">exten=>_730[1-9],n,Hangup</span></p><p><span style="color: #0000ff" class="Apple-style-span"><br /></span></p><p><span style="color: #0000ff" class="Apple-style-span">exten=>_731[0-2],1,Dial(SIP/${EXTEN},,tT)</span></p><p><span style="color: #0000ff" class="Apple-style-span">exten=>_731[0-2],n,Han
gup</span></p><p><span style="color: #0000ff" class="Apple-style-span"><br /></span></p><p><span style="color: #0000ff" class="Apple-style-span">exten=>_7444,1,Dial(SIP/${EXTEN},,tT)</span></p><p><span style="color: #0000ff" class="Apple-style-span">exten=>_7444,n,Hangup</span></p><p><span style="color: #0000ff" class="Apple-style-span"><br /></span></p><p><span style="color: #0000ff" class="Apple-style-span">exten=>_760[1-2],1,Dial(SIP/${EXTEN},,tT)</span></p><p><span style="color: #0000ff" class="Apple-style-span">exten=>_760[1-2],n,Hangup</span></p><p><span style="color: #0000ff" class="Apple-style-span"><br /></span></p><p><span style="color: #0000ff" class="Apple-style-span">exten=>_770[1-2],1,Dial(SIP/${EXTEN},,tT)</span></p><p><span style="color: #0000ff" class="Apple-style-span">exten=>_770[1-2],n,Hangup</span></p><p><span style="color: #0000ff" class="Apple-style-span"><br /></span></p><p><span style="color: #0000ff" class="Apple-style-span">exten=
>_780[1-2],1,Dial(SIP/${EXTEN},,tT)</span></p><p><span style="color: #0000ff" class="Apple-style-span">exten=>_780[1-2],n,Hangup</span></p><p><span style="color: #0000ff" class="Apple-style-span"><br /></span></p><p><span style="color: #0000ff" class="Apple-style-span">exten=>_790[1-2],1,Dial(SIP/${EXTEN},,tT)</span></p><p><span style="color: #0000ff" class="Apple-style-span">exten=>_790[1-2],n,Hangup</span></p><p><span style="color: #0000ff" class="Apple-style-span"><br /></span></p><p><span style="color: #0000ff" class="Apple-style-span">exten=>_877[89],1,Dial(SIP/${EXTEN},,tT)</span></p><p><span style="color: #0000ff" class="Apple-style-span">exten=>_877[89],n,Hangup</span></p><p><span style="color: #0000ff" class="Apple-style-span"><br /></span></p><p><span style="color: #0000ff" class="Apple-style-span">exten=>_878[01],1,Dial(SIP/${EXTEN},,tT)</span></p><p><span style="color: #0000ff" class="Apple-style-span">exten=>_878[01],n,Hangup</span></p><p
><span style="color: #0000ff" class="Apple-style-span"><br /></span></p><p><span style="color: #0000ff" class="Apple-style-span">exten=>_XXXX,1,Dial(IAX2/${EXTEN},,tT)</span></p><p><span style="color: #0000ff" class="Apple-style-span">exten=>_XXXX,n,Hangup</span></p><p><span style="color: #0000ff" class="Apple-style-span"><br /></span></p><p><span style="color: #0000ff" class="Apple-style-span">exten=>7200,1,Dial(SIP/7201,15,tT)</span></p><p><span style="color: #0000ff" class="Apple-style-span">exten=>7200,2,Dial(SIP/7201&SIP/7202&SIP/7203&SIP/7204&SIP/7205&SIP/7206,15,tT)</span></p><p><span style="color: #0000ff" class="Apple-style-span">exten=>7200,n,Hangup</span></p><p><span style="color: #0000ff" class="Apple-style-span"><br /></span></p><p><span style="color: #0000ff" class="Apple-style-span">exten=>7600,1,Dial(SIP/7601,15,tT)</span></p><p><span style="color: #0000ff" class="Apple-style-span">exten=>7600,2,Dial(SIP/7601&SIP/7
602,15,tT)</span></p><p><span style="color: #0000ff" class="Apple-style-span">exten=>7600,n,Hangup</span></p><p><span style="color: #0000ff" class="Apple-style-span"><br /></span></p><p><span style="color: #0000ff" class="Apple-style-span">exten=>7700,1,Dial(SIP/7701,15,tT)</span></p><p><span style="color: #0000ff" class="Apple-style-span">exten=>7700,2,Dial(SIP/7701&SIP/7702,15,tT)</span></p><p><span style="color: #0000ff" class="Apple-style-span">exten=>7700,n,Hangup</span></p><p><span style="color: #0000ff" class="Apple-style-span"><br /></span></p><p><span style="color: #0000ff" class="Apple-style-span">exten=>7800,1,Dial(SIP/7801,15,tT)</span></p><p><span style="color: #0000ff" class="Apple-style-span">exten=>7800,2,Dial(SIP/7801&SIP/7802,15,tT)</span></p><p><span style="color: #0000ff" class="Apple-style-span">exten=>7800,n,Hangup</span></p><p><span style="color: #0000ff" class="Apple-style-span"><br /></span></p><p><span style="color: #000
0ff" class="Apple-style-span">exten=>7900,1,Dial(SIP/7901,15,tT)</span></p><p><span style="color: #0000ff" class="Apple-style-span">exten=>7900,2,Dial(SIP/7901&SIP/7902,15,tT)</span></p><p><span style="color: #0000ff" class="Apple-style-span">exten=>7900,n,Hangup</span></p><p> </p><p> </p><p>Minha intenção era a de ir liberando aos poucos os ramais que pudessem ter acesso à linha. O problema é que, desde que esse contexto foi implantado que os usuários não recebem mais no Zoiper o NOME de quem está discando, apenas o NÚMERO do ramal. Basta mudar o contexto para o from-internal que tudo volta ao normal. Que modificações teria de fazer esse contexto para ter de volta a identificação de quem está ligando.</p><p> </p><p> </p><p>Desculpem a dúvida simplória, mas estou iniciando agora no Asterisk.</p><p> </p><p> </p><p>Grato,</p><p> </p><p>João Queiroz</p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p>
</p><p> </p><p> </p><p> </p><p> </p>