Hello how we can develop the wall board for Asterisk like this
That’s a very broad question. What exactly are you hoping to get out of a forum post like this?
sorry for the mis communication im developing wallboard applications using python
im getting folling errors
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\hp\AppData\Local\Programs\Python\Python311\Lib\socket.py”, line 851, in create_connection
raise exceptions[0]
File “C:\Users\hp\AppData\Local\Programs\Python\Python311\Lib\socket.py”, line 836, in create_connection
sock.connect(sa)
ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it
PS D:\Asterisk-Wall-Board\backend>
manager.conf
[general]
enabled = yes ; Enable AMI
port = 5038 ; Port on which AMI will listen
bindaddr = 0.0.0.0 ; Listen on all available interfaces
[myuser]
secret = mypassword ; Password for authentication
read = system,call,log,verbose,command,agent,user ; Permissions for reading information
write = system,call,log,verbose,command,agent,user ; Permissions for writing commands
[anotheruser]
secret = anotherpassword
read = system,call,log
write = system,call,log
; Include additional configuration files
#include “manager.d/*.conf”
Whatever you have tried to connect to refused it, so now you have to figure out why. You’ve provided configuration that indicates port 5038 on something should be open so now you have to figure out why that isn’t the case.
- Are you connecting to the right IP address?
- Is a firewall in use?
- Can you connect to that port outside of your application?
Break down the problem and verify things, until you find where it is wrong.
On Tuesday 05 March 2024 at 11:55:04, sachithsulakkhana via Asterisk Community
wrote:
sorry for the mis communication im developing wallboard applications using
python im getting folling errors
Start simple - omit Python - just try:
telnet aster.isk.ser.ver 5038
from the machine you want to run the Python script on.
If that works, you have a Python problem. If it doesn’t, you have a
networking or Asterisk manager config problem.
At least that narrows things down.
Antony.
–
“Can you keep a secret?”
“Well, I shouldn’t really tell you this, but… no.”
Please reply to the list;
please *don't* CC me.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.