2 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
458
views
What should be the value of ARGS in pyst2(python asterisk library)?
>>>from asterisk.agi import *
>>>agi = AGI() #after execute this, below thing poped
>>>ARGS: ['']
ENV LINE:
>>>class AGI: self.env = {}
I just import pyst2's agi ...
1
vote
1
answer
905
views
How can I obtain a SIP peer list using pyst?
I would like to show Asterisk SIP peers in my Python application.
I can see such list executing:
[pbx:~] # asterisk -rx "sip show peers"
Name/username Host Dyn Forcerport ...