Hi
I am using Asterisk 16.28.0
Current PBX Version:
16.0.26
Current System Version:
12.7.8-2208-2.sng7
I am trying to send calls to an ext from a different host to the freePBX via php
On the voip server i have /etc/asterisk/manager.conf
[general]
enabled = yes
port = 5038
bindaddr = 0.0.0.0
displayconnects=no ;only effects 1.6+
[admin]
secret = ********
deny=0.0.0.0/0.0.0.0
permit=127.0.0.1/255.255.255.0
read = system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan,originate,message
write = system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan,originate,message
writetimeout = 5000
The problem that I have, is that it works after I run the script (from a different host ) multiple times . It might work from 3rd run or on the 10th run at random time. Every time I run the script it sends a signal to the voip server . But it triggers the extension at randomly and not every time I run the script.
Many Thanks,
Antonis