diff options
author | Dr Scofield | 2008-10-01 20:18:57 +0000 |
---|---|---|
committer | Dr Scofield | 2008-10-01 20:18:57 +0000 |
commit | e7cd583c1edcea7f600064fac89a94a52a84a553 (patch) | |
tree | 91be8efa11dad887b2e985fcdc0e4b8dbac2c4eb /share/python/asterisk/test-client.py | |
parent | remove tests for inventory (diff) | |
download | opensim-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-x | share/python/asterisk/test-client.py | 28 |
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 | |||
4 | import xmlrpclib | ||
5 | |||
6 | # XML-RPC URL (http_listener_port) | ||
7 | asteriskServerURL = 'http://127.0.0.1:53263' | ||
8 | |||
9 | # instantiate server object | ||
10 | asteriskServer = xmlrpclib.Server(asteriskServerURL) | ||
11 | |||
12 | try: | ||
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 | ||
26 | except Exception, e: | ||
27 | print e | ||
28 | |||