ru:jingle_bots
Различия
Показаны различия между двумя версиями страницы.
Следующая версия | Предыдущая версия | ||
ru:jingle_bots [2010/09/05 23:21] – внешнее изменение 127.0.0.1 | ru:jingle_bots [2019/04/28 13:52] (текущий) – внешнее изменение 127.0.0.1 | ||
---|---|---|---|
Строка 1: | Строка 1: | ||
- | #summary|Jingle bots, offering Asterisk services to Psi and Psi+ (ru) | + | ====== |
- | = Вступление = | + | |
+ | |||
+ | ===== Вступление | ||
Данная страница содержит информацию по работе с сервисом Asterisk в Psi+. | Данная страница содержит информацию по работе с сервисом Asterisk в Psi+. | ||
- | = Подробности = | ||
- | Для того, чтобы использовать Asterisk с Psi +, необходимо использовать сервис Asterisk (Jingle branch) с некоторыми патчами. (This patches on the Psi side are not necessary anymore.) | ||
- | = Публичные Jingle-боты = | + | ===== Подробности ===== |
+ | |||
+ | Для того, чтобы использовать Asterisk с Psi+, необходимо использовать сервис Asterisk (Jingle branch) с некоторыми патчами. (This patches on the Psi side are not necessary anymore.) | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ===== Публичные Jingle-боты ===== | ||
+ | |||
+ | Ниже представлен список известных на данный момент jingle-ботов: | ||
- | Ниже представлен список изветсных на данный момент jingle-ботов Here: | ||
|| JID || Описание || Работает с (проверено) | || JID || Описание || Работает с (проверено) | ||
- | || echo@haar.student.utwente.nl || Простой тест echo || Psi, Psi+, Pidgin, Google Talk, QIP, Nokia N900, SIP || | + | || echo@haar.student.utwente.nl || Простой тест echo || Psi, Psi+, Pidgin, |
- | || psi-dev@haar.student.utwente.nl || A conference room to talk about Psi+ (psi+ and psiplus@haar.student.utwente.nl work too) || Psi, Psi+, Pidgin, Google Talk, QIP, Nokia N900, SIP || | + | || psi-dev@haar.student.utwente.nl || A conference room to talk about Psi+ (psi+ and psiplus@haar.student.utwente.nl work too) || Psi, Psi+, Pidgin, |
- | || tellme@haar.student.utwente.nl | + | || tellme@haar.student.utwente.nl |
|| echo@test.collabora.co.uk || A test bot by [[http:// | || echo@test.collabora.co.uk || A test bot by [[http:// | ||
- | = Инструкция по использованию = | + | |
+ | |||
+ | |||
+ | ===== Инструкция по использованию | ||
To use one of the bots listed above: | To use one of the bots listed above: | ||
+ | |||
* Add the JID to your roster | * Add the JID to your roster | ||
* The contact should authorize you and appear online | * The contact should authorize you and appear online | ||
Строка 32: | Строка 46: | ||
- | == Настройка Asterisk для использования с Psi+ == | ||
- | | + | |
+ | |||
+ | ===== Настройка Asterisk для использования с Psi+ ===== | ||
+ | |||
+ | | ||
< | < | ||
- | svn co http:// | + | svn -r 281181 |
</ | </ | ||
- | |||
* Obtain the patch to work around some bugs and the patch to allow dealing with wideband speex | * Obtain the patch to work around some bugs and the patch to allow dealing with wideband speex | ||
+ | |||
< | < | ||
wget http:// | wget http:// | ||
wget " | wget " | ||
</ | </ | ||
- | |||
* Enter the tree and apply the patches | * Enter the tree and apply the patches | ||
+ | |||
< | < | ||
cd jingle-support | cd jingle-support | ||
Строка 53: | Строка 71: | ||
patch -p0 < ../ | patch -p0 < ../ | ||
</ | </ | ||
- | |||
* Compile and install Asterisk as usual, make sure res_jabber and chan_jingle are enabled | * Compile and install Asterisk as usual, make sure res_jabber and chan_jingle are enabled | ||
+ | |||
< | < | ||
./configure | ./configure | ||
Строка 64: | Строка 82: | ||
</ | </ | ||
+ | * Register a XMPP account (using Psi for example, you can remove it from Psi afterwards) | ||
- | * Register a Jabber | + | * Edit / |
- | |||
- | * Edit / | ||
< | < | ||
[echo]] | [echo]] | ||
Строка 81: | Строка 98: | ||
</ | </ | ||
- | | + | Note that in the above case, Asterisk is running on the same server as the XMPP daemon. |
* Edit / | * Edit / | ||
- | | + | |
+ | Make sure speex is allowed, the two lines below should work | ||
< | < | ||
disallow=all | disallow=all | ||
Строка 91: | Строка 109: | ||
</ | </ | ||
- | | + | Take note of the context or change it to something like public |
< | < | ||
context=public | context=public | ||
</ | </ | ||
+ | * Edit / | ||
+ | |||
+ | Edit or create a new context and set your dialing rules: | ||
+ | |||
+ | This is the example for an echo test: | ||
- | * Edit / | ||
- | Edit or create a new context and set your dialing rules: | ||
- | This is the example for an echo test: | ||
< | < | ||
exten => echo@haar.student.utwente.nl, | exten => echo@haar.student.utwente.nl, | ||
Строка 107: | Строка 128: | ||
</ | </ | ||
- | | + | You can also set up a SIP bridge: |
< | < | ||
exten => tellme@haar.student.utwente.nl, | exten => tellme@haar.student.utwente.nl, | ||
Строка 113: | Строка 135: | ||
- | = Изветсные проблемы = | + | |
+ | |||
+ | |||
+ | ===== Изветсные проблемы | ||
* Asterisk sometimes doesn' | * Asterisk sometimes doesn' | ||
+ | |||
* The video test with the Collabora bot is completely untested with Psi and probably won't work. | * The video test with the Collabora bot is completely untested with Psi and probably won't work. | ||
+ | |||
+ | |||
+ | |||
+ |
ru/jingle_bots.1283728885.txt.gz · Последнее изменение: 2010/10/17 15:36 (внешнее изменение)