From e7cd583c1edcea7f600064fac89a94a52a84a553 Mon Sep 17 00:00:00 2001 From: Dr Scofield Date: Wed, 1 Oct 2008 20:18:57 +0000 Subject: removing asterisk: it's now living at http://forge.opensimulator.org/gf/project/asteriskvoice/ --- share/python/asterisk/test-client.py | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100755 share/python/asterisk/test-client.py (limited to 'share/python/asterisk/test-client.py') 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 @@ -#!/usr/bin/python -# -*- encoding: utf-8 -*- - -import xmlrpclib - -# XML-RPC URL (http_listener_port) -asteriskServerURL = 'http://127.0.0.1:53263' - -# instantiate server object -asteriskServer = xmlrpclib.Server(asteriskServerURL) - -try: - # invoke admin_alert: requires password and message - res = asteriskServer.region_update({ - 'admin_password': 'c00lstuff', - 'region' : '941ae087-a7da-43b4-900b-9fe48387ae57@secondlife.zurich.ibm.com' - }) - print res - - res = asteriskServer.account_update({ - 'admin_password': 'c00lstuff', - 'username' : '0780d90b-1939-4152-a283-8d1261fb1b68@secondlife.zurich.ibm.com', - 'password' : '$1$dd02c7c2232759874e1c205587017bed' - }) - print res -except Exception, e: - print e - -- cgit v1.1