This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import asyncio | |
from panoramisk import Manager | |
manager = Manager(loop=asyncio.get_event_loop(), | |
host='127.0.0.1', | |
username='webhookuser', | |
secret='wow') | |
@manager.register_event('Bridge') | |
def callback(manager, message): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[custom-demo-agi] | |
exten => s,1,NoOp(*** Start custom AGI call ***) | |
same => n,Answer() | |
same => n,AGI(odoo.py) | |
same => n,Hangup() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2 | |
import sys | |
import urllib2 | |
def read_agi_variables(): | |
agi_vars = {} | |
while True: | |
line = sys.stdin.readline().strip() | |
if not line: | |
break |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
db: | |
image: postgres:13 | |
container_name: pgodoo | |
ports: | |
- "5432:5432" | |
logging: | |
driver: "json-file" | |
options: |