Completed

Script Mikrotik para alta disponibilidad de servidores Sip

Published on the April 16, 2019 in IT & Programming

About this project

Open

Se necesita Generar un Scripts de Mikrotik que sea capaz de monitorear el estado de un servidor SIP mediante la ejecución de un Telnet al puerto 5060, si esta conexión falla debe ejecutar comandos para conmutar un nat sip al servidor de respaldo. Los comando están probados de forma aislada, solo se necesita programarlos en el Leguaje Scripts del Mikrotik. Los comandos ejecutar son los siguientes:
Ejecución de un telnet al servidor sip principal cada 30 segundos.


System telnet 172.3.0.2 5060
Si el telnet no se conecta entonces ejecutar la siguientes líneas de comando en el Mikrotik para cambiar el NAT al servidor de respaldo.

/ip firewall connection remove [/ip firewall connection find where connection-type="sip"]
/ip firewall nat enable numbers=2
/ip firewall nat disable numbers=1
/ip firewall connection remove [/ip firewall connection find where connection-type="sip"]

Category IT & Programming
Subcategory Other
Project size Medium
Is this a project or a position? Project
I currently have I have specifications
Required availability As needed
API Integrations Other (Other APIs)

Delivery term: Not specified

Skills needed

Other projects posted by E. R.