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. .

Leave a Comment

Required

Required, hidden

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Trackback this post  |  Subscribe to the comments via RSS Feed


Calendar

Maio 2007
S T Q Q S S D
« Abr   Jun »
 123456
78910111213
14151617181920
21222324252627
28293031  

Most Recent Posts