<div dir="ltr">No FreePBX eu utilizo keylock, que funciona, mas anda meio esquecido.<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/6/5 Marcio Dias - Hotmail <span dir="ltr"><<a href="mailto:marciovndias@hotmail.com" target="_blank">marciovndias@hotmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="PT-BR" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="color:#1f497d">Pessoal boa noite, estou com um probleminha..<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Ativei o Pinsets em meu elastix, e cada funcionário tem uma senha, para efetuar ligações externas.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Porem o gerente não tem senha no ramal dele, eu ativei a função PINLESS do ramal do gerente, ou seja, ele liga sem colocar senha, somente no ramal dele.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">O que eu precisava? Precisava que quando este gerente saísse de sua sala ele digitasse um código e ou uma senha, para bloquear o ramal dele efetuar ligação, e quando ele voltasse a sala, ele digitasse o código e ou a senha para liberar o ramal dele novamente para efetuar ligações sem necessitar de senha.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Vi alguns posts na internet tentei colocar pra rodar mas não consegui no elastix.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Este contexto abaixo inseri ele no extensions_custom.conf e dei um include => cadeado<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Alguem pode me dar um help<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><pre style="line-height:14.25pt"><span style="font-size:10.5pt;font-family:Courier">[cadeado]<u></u><u></u></span></pre>
<pre style="line-height:14.25pt"><span style="font-size:10.5pt;font-family:Courier">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;<u></u><u></u></span></pre><pre style="line-height:14.25pt"><span style="font-size:10.5pt;font-family:Courier">;cadastrar senha cadeado<u></u><u></u></span></pre>
<pre style="line-height:14.25pt"><span style="font-size:10.5pt;font-family:Courier">exten => _*11*xxxx,1,NoCDR()<u></u><u></u></span></pre><pre style="line-height:14.25pt"><span style="font-size:10.5pt;font-family:Courier">exten => _*11*xxxx,2,DBget(senha=CADEPASS/${CALLERIDNUM})<u></u><u></u></span></pre>
<pre style="line-height:14.25pt"><span style="font-size:10.5pt;font-family:Courier">exten => _*11*xxxx,3,GoToIf($["${senha}" = ""]?5:4)<u></u><u></u></span></pre><pre style="line-height:14.25pt"><span lang="EN-US" style="font-size:10.5pt;font-family:Courier">exten => _*11*xxxx,4,Hangup<u></u><u></u></span></pre>
<pre style="line-height:14.25pt"><span lang="EN-US" style="font-size:10.5pt;font-family:Courier">exten => _*11*xxxx,5,DBput(CADEPASS/${CALLERIDNUM}=${EXTEN:4})<u></u><u></u></span></pre><pre style="line-height:14.25pt">
<span lang="EN-US" style="font-size:10.5pt;font-family:Courier">exten => _*11*xxxx,6,Wait(2)<u></u><u></u></span></pre><pre style="line-height:14.25pt"><span lang="EN-US" style="font-size:10.5pt;font-family:Courier">exten => _*11*xxxx,7,Playback(beep)<u></u><u></u></span></pre>
<pre style="line-height:14.25pt"><span lang="EN-US" style="font-size:10.5pt;font-family:Courier">exten => _*11*xxxx,8,Playback(beep)<u></u><u></u></span></pre><pre style="line-height:14.25pt"><span lang="EN-US" style="font-size:10.5pt;font-family:Courier">exten => _*11*xxxx,9,Playback(beep)<u></u><u></u></span></pre>
<pre style="line-height:14.25pt"><span style="font-size:10.5pt;font-family:Courier">exten => _*11*xxxx,10,Hangup<u></u><u></u></span></pre><pre style="line-height:14.25pt"><span style="font-size:10.5pt;font-family:Courier"><u></u> <u></u></span></pre>
<pre style="line-height:14.25pt"><span style="font-size:10.5pt;font-family:Courier">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;<u></u><u></u></span></pre><pre style="line-height:14.25pt"><span style="font-size:10.5pt;font-family:Courier">;trocar senha cadeado<u></u><u></u></span></pre>
<pre style="line-height:14.25pt"><span style="font-size:10.5pt;font-family:Courier">exten => _*12*xxxxxxxx,1,NoCDR()<u></u><u></u></span></pre><pre style="line-height:14.25pt"><span style="font-size:10.5pt;font-family:Courier">exten => _*12*xxxxxxxx,2,DBget(cadp=CADEPASS/${CALLERIDNUM})<u></u><u></u></span></pre>
<pre style="line-height:14.25pt"><span style="font-size:10.5pt;font-family:Courier">exten => _*12*xxxxxxxx,3,GoToIf($["${cadp}" = "${EXTEN:4:4}"]?4:9)<u></u><u></u></span></pre><pre style="line-height:14.25pt">
<span lang="EN-US" style="font-size:10.5pt;font-family:Courier">exten => _*12*xxxxxxxx,4,DBput(CADEPASS/${CALLERIDNUM}=${EXTEN:8})<u></u><u></u></span></pre><pre style="line-height:14.25pt"><span lang="EN-US" style="font-size:10.5pt;font-family:Courier">exten => _*12*xxxxxxxx,5,Wait(2)<u></u><u></u></span></pre>
<pre style="line-height:14.25pt"><span lang="EN-US" style="font-size:10.5pt;font-family:Courier">exten => _*12*xxxxxxxx,6,Playback(beep)<u></u><u></u></span></pre><pre style="line-height:14.25pt"><span lang="EN-US" style="font-size:10.5pt;font-family:Courier">exten => _*12*xxxxxxxx,7,Playback(beep)<u></u><u></u></span></pre>
<pre style="line-height:14.25pt"><span lang="EN-US" style="font-size:10.5pt;font-family:Courier">exten => _*12*xxxxxxxx,8,Playback(beep)<u></u><u></u></span></pre><pre style="line-height:14.25pt"><span lang="EN-US" style="font-size:10.5pt;font-family:Courier">exten => _*12*xxxxxxxx,9,Hangup<u></u><u></u></span></pre>
<pre style="line-height:14.25pt"><span lang="EN-US" style="font-size:10.5pt;font-family:Courier">exten => _*12*xxxxxxxx,10,Hangup<u></u><u></u></span></pre><pre style="line-height:14.25pt"><span style="font-size:10.5pt;font-family:Courier">;colocar cadeado<u></u><u></u></span></pre>
<pre style="line-height:14.25pt"><span style="font-size:10.5pt;font-family:Courier">exten => _*13*xxxx,1,NoCDR()<u></u><u></u></span></pre><pre style="line-height:14.25pt"><span lang="EN-US" style="font-size:10.5pt;font-family:Courier">exten => _*13*xxxx,2,DBget(cadp=CADEPASS/${CALLERIDNUM})<u></u><u></u></span></pre>
<pre style="line-height:14.25pt"><span lang="EN-US" style="font-size:10.5pt;font-family:Courier">exten => _*13*xxxx,3,GoToIf($["${cadp}" = "${EXTEN:4}"]?4:9)<u></u><u></u></span></pre><pre style="line-height:14.25pt">
<span lang="EN-US" style="font-size:10.5pt;font-family:Courier">exten => _*13*xxxx,4,DBput(CADEADO/${CALLERIDNUM}=y)<u></u><u></u></span></pre><pre style="line-height:14.25pt"><span lang="EN-US" style="font-size:10.5pt;font-family:Courier">exten => _*13*xxxx,5,Wait(2)<u></u><u></u></span></pre>
<pre style="line-height:14.25pt"><span lang="EN-US" style="font-size:10.5pt;font-family:Courier">exten => _*13*xxxx,6,Playback(beep)<u></u><u></u></span></pre><pre style="line-height:14.25pt"><span lang="EN-US" style="font-size:10.5pt;font-family:Courier">exten => _*13*xxxx,7,Playback(beep)<u></u><u></u></span></pre>
<pre style="line-height:14.25pt"><span lang="EN-US" style="font-size:10.5pt;font-family:Courier">exten => _*13*xxxx,8,Playback(beep)<u></u><u></u></span></pre><pre style="line-height:14.25pt"><span lang="EN-US" style="font-size:10.5pt;font-family:Courier">exten => _*13*xxxx,9,Hangup<u></u><u></u></span></pre>
<pre style="line-height:14.25pt"><span lang="EN-US" style="font-size:10.5pt;font-family:Courier">exten => _*13*xxxx,10,Hangup<u></u><u></u></span></pre><pre style="line-height:14.25pt"><span style="font-size:10.5pt;font-family:Courier">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;<u></u><u></u></span></pre>
<pre style="line-height:14.25pt"><span style="font-size:10.5pt;font-family:Courier">;retirar cadeado<u></u><u></u></span></pre><pre style="line-height:14.25pt"><span style="font-size:10.5pt;font-family:Courier">exten => _*14*xxxx,1,NoCDR()<u></u><u></u></span></pre>
<pre style="line-height:14.25pt"><span lang="EN-US" style="font-size:10.5pt;font-family:Courier">exten => _*14*xxxx,2,DBget(cad=CADEPASS/${CALLERIDNUM})<u></u><u></u></span></pre><pre style="line-height:14.25pt"><span lang="EN-US" style="font-size:10.5pt;font-family:Courier">exten => _*14*xxxx,3,GoToIf($["${cad}" = "${EXTEN:4}"]?4:10)<u></u><u></u></span></pre>
<pre style="line-height:14.25pt"><span lang="EN-US" style="font-size:10.5pt;font-family:Courier">exten => _*14*xxxx,4,DBdel(CADEADO/${CALLERIDNUM})<u></u><u></u></span></pre><pre style="line-height:14.25pt"><span lang="EN-US" style="font-size:10.5pt;font-family:Courier">exten => _*14*xxxx,5,Wait(2)<u></u><u></u></span></pre>
<pre style="line-height:14.25pt"><span lang="EN-US" style="font-size:10.5pt;font-family:Courier">exten => _*14*xxxx,6,Playback(beep)<u></u><u></u></span></pre><pre style="line-height:14.25pt"><span lang="EN-US" style="font-size:10.5pt;font-family:Courier">exten => _*14*xxxx,7,Playback(beep)<u></u><u></u></span></pre>
<pre style="line-height:14.25pt"><span lang="EN-US" style="font-size:10.5pt;font-family:Courier">exten => _*14*xxxx,8,Playback(beep)<u></u><u></u></span></pre><pre style="line-height:14.25pt"><span lang="EN-US" style="font-size:10.5pt;font-family:Courier">exten => _*14*xxxx,9,Hangup<u></u><u></u></span></pre>
<pre style="line-height:14.25pt"><span style="font-size:10.5pt;font-family:Courier">exten => _*14*xxxx,10,Hangup<u></u><u></u></span></pre><pre style="line-height:14.25pt"><span style="font-size:10.5pt;font-family:Courier">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;<u></u><u></u></span></pre>
<pre style="line-height:14.25pt"><span style="font-size:10.5pt;font-family:Courier">;extensao de ligação que verificar se o ramal tem cadeado<u></u><u></u></span></pre><pre style="line-height:14.25pt"><span style="font-size:10.5pt;font-family:Courier"><u></u> <u></u></span></pre>
<pre style="line-height:14.25pt"><span lang="EN-US" style="font-size:10.5pt;font-family:Courier">exten => _*10xxxxxxxx,1,DBget(cad=CADEADO/${CALLERIDNUM})<u></u><u></u></span></pre><pre style="line-height:14.25pt"><span lang="EN-US" style="font-size:10.5pt;font-family:Courier">exten => _*10xxxxxxxx,2,GoToIf($["${cad}" = "y"]?4:3)<u></u><u></u></span></pre>
<pre style="line-height:14.25pt"><span lang="EN-US" style="font-size:10.5pt;font-family:Courier">exten => _*10xxxxxxxx,3,dial(sip/osi/5511${EXTEN:4},90,tT)<u></u><u></u></span></pre><pre style="line-height:14.25pt"><span lang="EN-US" style="font-size:10.5pt;font-family:Courier">exten => _*10xxxxxxxx,4,Hangup()<u></u><u></u></span></pre>
<pre style="line-height:14.25pt"><span style="font-size:10.5pt;font-family:Courier">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;<u></u><u></u></span></pre><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><u></u> <u></u></span></p>
</div></div><br>_______________________________________________<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>
Intercomunicadores para acesso remoto via rede IP. Conheça em <a href="http://www.Khomp.com" target="_blank">www.Khomp.com</a>.<br>
_______________________________________________<br>
ALIGERA – Fabricante nacional de Gateways SIP-E1 para R2, ISDN e SS7.<br>
Placas de 1E1, 2E1, 4E1 e 8E1 para PCI ou PCI Express.<br>
Channel Bank – Appliance Asterisk - Acesse <a href="http://www.aligera.com.br" target="_blank">www.aligera.com.br</a>.<br>
_______________________________________________<br>
Para remover seu email desta lista, basta enviar um email em branco para <a href="mailto:asteriskbrasil-unsubscribe@listas.asteriskbrasil.org">asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</a><br></blockquote></div>
<br></div>