This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
define('PJSIP_PEER_NAME', 'mgts'); | |
define('PJSIP_PEER_FILE', '/etc/asterisk/pjsip-mgts.conf'); | |
define('ONU_ADDRESS', '192.168.1.1'); | |
define('ONU_USER', 'admin'); | |
define('ONU_PASSWORD', 'admin'); | |
define('ONU_COMMAND', '/sbin/omcicli mib get 00148'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:local password "password" | |
:global headers | |
:global header | |
:global cookie | |
:global index | |
:global data | |
:global key | |
:set data (([/tool fetch url=http://192.168.0.1/login.html output=user-with-headers as-value])->"data") |
OlderNewer