Originando uma chamada com o PySt
15 Maio, 2007
import asterisk.manager as manager
m = manager.Manager()
m.connect('localhost', '5038')
m.login('user', 'password')response = m.originate(
channel='sip/teste',
exten='9999999',
context='context-originate',
caller_id='my_caller_id,
priority='1',
)
m.close()
Entry Filed under: Uncategorized. .
Trackback this post | Subscribe to the comments via RSS Feed