From 0d149ae6e96ba8378ace9ebdb2dea41de8dcb11d Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Fri, 28 Nov 2014 06:44:50 +0000 Subject: a simple matrix->verto bot, distantly related to the irc bridge --- contrib/vertobot/config.yaml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 contrib/vertobot/config.yaml (limited to 'contrib/vertobot/config.yaml') diff --git a/contrib/vertobot/config.yaml b/contrib/vertobot/config.yaml new file mode 100644 index 0000000000..b251e405f3 --- /dev/null +++ b/contrib/vertobot/config.yaml @@ -0,0 +1,33 @@ +# Generic Matrix connection params +matrix: + server: 'matrix.org' + SSL: 1 + +# Bot-user connection details +matrix-bot: + user_id: '@vertobot:matrix.org' + password: '' + +# Extra registration params required for creating new "ghost" users +matrix-register: + captcha_bypass_secret: '' + +verto-bot: + host: webrtc.freeswitch.org + service: 8081 + url: "ws://webrtc.freeswitch.org:8081/" + +verto-config: + passwd: 1234 + +verto-dialog-params: + useVideo: false + useStereo: false + tag: "webcam" + login: "1008@webrtc.freeswitch.org" + destination_number: "9664" + caller_id_name: "FreeSWITCH User" + caller_id_number: "1008" + callID: "" + remote_caller_id_name: "Outbound Call" + remote_caller_id_number: "9664" -- cgit 1.4.1 From 72c1cc743ef42bfd7e1760b40fc1fc8ac798a930 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Fri, 28 Nov 2014 06:55:05 +0000 Subject: clean up a vertobot a bit --- contrib/vertobot/bot.pl | 1 - contrib/vertobot/config.yaml | 4 ---- 2 files changed, 5 deletions(-) (limited to 'contrib/vertobot/config.yaml') diff --git a/contrib/vertobot/bot.pl b/contrib/vertobot/bot.pl index 30cde41ce7..0c693cdc1d 100644 --- a/contrib/vertobot/bot.pl +++ b/contrib/vertobot/bot.pl @@ -11,7 +11,6 @@ use JSON; use YAML; use Data::UUID; use Getopt::Long; -use Digest::SHA qw( hmac_sha1_base64 ); use Data::Dumper; binmode STDOUT, ":encoding(UTF-8)"; diff --git a/contrib/vertobot/config.yaml b/contrib/vertobot/config.yaml index b251e405f3..04403670a9 100644 --- a/contrib/vertobot/config.yaml +++ b/contrib/vertobot/config.yaml @@ -8,10 +8,6 @@ matrix-bot: user_id: '@vertobot:matrix.org' password: '' -# Extra registration params required for creating new "ghost" users -matrix-register: - captcha_bypass_secret: '' - verto-bot: host: webrtc.freeswitch.org service: 8081 -- cgit 1.4.1