Open pd-Shah opened 6 years ago
Run as asterisk user.
sudo su asterisk -s /bin/bash
python
from pycall import CallFile, Call, Application
call = Call('SIP/flowroute/18882223333')
action = Application('Playback', 'hello-world')
c = CallFile(call, action)
c.spool()
im trying to run these lines of code in
atom
andpython3.6
:and my
sip.conf
andextension.conf
are shown below:sip.conf
extension.conf
main.py
finally i faced with this
error
:i would appreciate if you help me solving my problem. thank you in advance