diff options
author | Sean Dague | 2008-04-15 14:24:15 +0000 |
---|---|---|
committer | Sean Dague | 2008-04-15 14:24:15 +0000 |
commit | 6f8ff326307ae1522e2f3163596b0bf1cdd2157f (patch) | |
tree | 4517fcd0560e9cf05ad170c0032fc9a60e7a01e4 /share/python/asterisk/create-user.sql | |
parent | From: dirk husemann <hud@zurich.ibm.com> (diff) | |
download | opensim-SC-6f8ff326307ae1522e2f3163596b0bf1cdd2157f.zip opensim-SC-6f8ff326307ae1522e2f3163596b0bf1cdd2157f.tar.gz opensim-SC-6f8ff326307ae1522e2f3163596b0bf1cdd2157f.tar.bz2 opensim-SC-6f8ff326307ae1522e2f3163596b0bf1cdd2157f.tar.xz |
From: Dr Scofield <hud@zurich.ibm.com>
ansgar and i have been working on an asterisk voice module that will allow
us to couple opensim with an asterisk VoIP gateway.
the patch below consists of
* AsteriskVoiceModule region module: alternative to the plain-vanilla
VoiceModule, will make XmlRpc calls out to an asterisk-opensim
frontend
* asterisk-opensim.py frontend, living in share/python/asterisk, takes
XmlRpc calls from the AsteriskVoiceModule
* account_update: to update/create a new SIP account (on
ProvisionVoiceAccountRequest)
* region_update: to update/create a new "region" conference call
(on ParcelVoiceInfo)
* a asterisk-opensim test client, living in share/python/asterisk, to
exercise astersik-opensim.py
this still does not give us voice in OpenSim, but it's another step on
this path...
Diffstat (limited to 'share/python/asterisk/create-user.sql')
-rw-r--r-- | share/python/asterisk/create-user.sql | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/share/python/asterisk/create-user.sql b/share/python/asterisk/create-user.sql new file mode 100644 index 0000000..68b8147 --- /dev/null +++ b/share/python/asterisk/create-user.sql | |||
@@ -0,0 +1,5 @@ | |||
1 | USE %(database)s; | ||
2 | REPLACE INTO ast_sipfriends (port,context,disallow,allow,type,secret,host,name) VALUES ('5060','avatare','all','ulaw','friend','%(password)s','dynamic','%(username)s'); | ||
3 | REPLACE INTO `extensions_table` (context,exten,priority,app,appdata) VALUES ('avatare', '%(username)s', 1, 'Answer', ''); | ||
4 | REPLACE INTO `extensions_table` (context,exten,priority,app,appdata) VALUES ('avatare', '%(username)s', 2, 'Wait', '1'); | ||
5 | REPLACE INTO `extensions_table` (context,exten,priority,app,appdata) VALUES ('avatare', '%(username)s', 3, 'Dial', 'SIP/%(username)s,60'); \ No newline at end of file | ||