📁
SKYSHELL MANAGER
PHP v8.1.34
Create
Create
Path:
root
/
home
/
terracebizon
/
public_html
/
wp-includes
/
js
/
tinymce
/
themes
/
Name
Size
Perm
Actions
📁
inlite
-
0755
🗑️
🏷️
🔒
📁
modern
-
0755
🗑️
🏷️
🔒
📄
config.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
error_log
14580.02 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
Edit: asterisk.cpython-36.pyc
3 ��ji� � @ s8 d dl Z d dlZG dd� de j�Zedkr4e� j� dS )� Nc @ s e Zd ZdZ dd� ZdS )�PluginZasteriskc C s� |j td�}tjdtjdd�}|j� d jd�jdd�}tjd tjdd�}|j� d jd�jdd�}tjd | tjdd�}|j� d jd�jdd�}|||d�}|S )NZsbcipzDsudo asterisk -rx 'core show calls' | grep 'active' | cut -f1 -d ' 'T)�stdout�shellr zutf-8� � zRsudo asterisk -rx 'core show channels verbose' | cut -c1-15 | grep 'pstn_' | wc -lz6sudo asterisk -rx 'sip show peers' | grep '%s' | wc -l)ZcallsZ incomingcalls�devices)�get�__name__� subprocess�Popen�PIPE�communicate�decode�replace)�self�config�ip�p�incomingr �res� r �B/root/tmp/pip-build-31b9end2/agent360/agent360/plugins/asterisk.py�run s z Plugin.runN)r � __module__�__qualname__r r r r r r s r �__main__)Zpluginsr Z BasePluginr r �executer r r r �<module> s
Save