Добрый день, прошу помочь, есть код (приведен в конце)выдает ошибку ImportError: No module named AGI.
Пробую ввести команду
python3 -m pip install AGI
Collecting AGI
Using cached agi-0.0.1-py3-none-any.whl (6.1 kB)
ERROR: Could not find a version that satisfies the requirement asignificantimprovementuponcurrentaicapabilities (from AGI) (from versions: none)
ERROR: No matching distribution found for asignificantimprovementuponcurrentaicapabilities (from AGI)
Спасибо.
#!/usr/bin/python
import sys
import asterisk
import AGI
agi = AGI()
Call_id = agi.env['agi_callerid']
f = open ('/usr/share/asterisk/agi-bin/1.txt','a')
f.write("call_id")
f.write(Call_id)
f.close()
Пробую ввести команду
python3 -m pip install AGI
Collecting AGI
Using cached agi-0.0.1-py3-none-any.whl (6.1 kB)
ERROR: Could not find a version that satisfies the requirement asignificantimprovementuponcurrentaicapabilities (from AGI) (from versions: none)
ERROR: No matching distribution found for asignificantimprovementuponcurrentaicapabilities (from AGI)
Спасибо.
#!/usr/bin/python
import sys
import asterisk
import AGI
agi = AGI()
Call_id = agi.env['agi_callerid']
f = open ('/usr/share/asterisk/agi-bin/1.txt','a')
f.write("call_id")
f.write(Call_id)
f.close()