Soporte & Consultoria

Soporte Remoto y Consultoria skype : ambiorixg12.
Nota no se brinda ningun tipo de consulta o soporte fuera del blog de forma gratuita

lunes, 22 de abril de 2013

Restringir las llamadas basada en pines de seguridad

 [mycontext]
;disa
exten=>*4,1,Authenticate(/etc/asterisk/premiun_pass.conf,a)
same=n,Disa(no-password,mobile)

exten=>*5,1,Authenticate(/etc/asterisk/local_pass.conf,a)
same=n,Disa(no-password,localphone)


Create 2 password files, one with the premium pins, for call to mobiles and local and the second one just with the pins for local calls.


User with pins for calls to mobiles dial *4 and Asterisk will ask for the pin if the pin it is correct will be get access to the mobile context.


User with pins for just dial local dial *5 and Asterisk will ask for the pin if the pin it is correct will get access to the local context.

No hay comentarios:

Publicar un comentario