You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sems/apps/webconference/tools/sems-webconference-addparti...

13 lines
343 B

#!/usr/bin/python
# -*- coding: utf-8 -*-
import sys
from xmlrpclib import *
if len(sys.argv) != 4:
print "usage: %s <room> <participant_id> <number>" % sys.argv[0]
sys.exit(1)
s = ServerProxy('http://localhost:8090')
print "Active calls: %d" % s.calls()
print s.di('webconference','addParticipant', sys.argv[1], sys.argv[2], sys.argv[3])