aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/share/python/asterisk/test-client.py
diff options
context:
space:
mode:
authorDr Scofield2008-10-01 20:18:57 +0000
committerDr Scofield2008-10-01 20:18:57 +0000
commite7cd583c1edcea7f600064fac89a94a52a84a553 (patch)
tree91be8efa11dad887b2e985fcdc0e4b8dbac2c4eb /share/python/asterisk/test-client.py
parentremove tests for inventory (diff)
downloadopensim-SC-e7cd583c1edcea7f600064fac89a94a52a84a553.zip
opensim-SC-e7cd583c1edcea7f600064fac89a94a52a84a553.tar.gz
opensim-SC-e7cd583c1edcea7f600064fac89a94a52a84a553.tar.bz2
opensim-SC-e7cd583c1edcea7f600064fac89a94a52a84a553.tar.xz
removing asterisk: it's now living at http://forge.opensimulator.org/gf/project/asteriskvoice/
Diffstat (limited to '')
-rwxr-xr-xshare/python/asterisk/test-client.py28
1 files changed, 0 insertions, 28 deletions
diff --git a/share/python/asterisk/test-client.py b/share/python/asterisk/test-client.py
deleted file mode 100755
index d1872cd..0000000
--- a/share/python/asterisk/test-client.py
+++ /dev/null
@@ -1,28 +0,0 @@
1#!/usr/bin/python
2# -*- encoding: utf-8 -*-
3
4import xmlrpclib
5
6# XML-RPC URL (http_listener_port)
7asteriskServerURL = 'http://127.0.0.1:53263'
8
9# instantiate server object
10asteriskServer = xmlrpclib.Server(asteriskServerURL)
11
12try:
13 # invoke admin_alert: requires password and message
14 res = asteriskServer.region_update({
15 'admin_password': 'c00lstuff',
16 'region' : '941ae087-a7da-43b4-900b-9fe48387ae57@secondlife.zurich.ibm.com'
17 })
18 print res
19
20 res = asteriskServer.account_update({
21 'admin_password': 'c00lstuff',
22 'username' : '0780d90b-1939-4152-a283-8d1261fb1b68@secondlife.zurich.ibm.com',
23 'password' : '$1$dd02c7c2232759874e1c205587017bed'
24 })
25 print res
26except Exception, e:
27 print e
28