Инструменты пользователя

Инструменты сайта


ru:jingle_bots

Различия

Показаны различия между двумя версиями страницы.

Ссылка на это сравнение

Следующая версия
Предыдущая версия
ru:jingle_bots [2010/09/05 23:21] – внешнее изменение 127.0.0.1ru:jingle_bots [2019/04/28 13:52] (текущий) – внешнее изменение 127.0.0.1
Строка 1: Строка 1:
-#summary|Jingle bots, offering Asterisk services to Psi and Psi+ (ru)+====== Jingle bots, offering Asterisk services to Psi+ ======
  
-= Вступление =+ 
 + 
 +===== Вступление =====
  
 Данная страница содержит информацию по работе с сервисом 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, <del>Google Talk, QIP,</del> 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, 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, <del>Google Talk, QIP,</del> Nokia N900, SIP || 
-|| tellme@haar.student.utwente.nl  || A SIP bridge to the Tell Me service (hint, say Black Jack from the main menu) || Psi, Psi+, Pidgin, Google Talk, QIP, Nokia N900 ||+|| tellme@haar.student.utwente.nl  || A SIP bridge to the Tell Me service (hint, say Black Jack from the main menu) || Psi, Psi+, Pidgin, <del>Google Talk, QIP,</del> Nokia N900 ||
 || echo@test.collabora.co.uk || A test bot by [[http://www.collabora.co.uk/|Collabora]] with several tests including an echo and a video test || Psi, Psi+ || || echo@test.collabora.co.uk || A test bot by [[http://www.collabora.co.uk/|Collabora]] with several tests including an echo and a video test || Psi, Psi+ ||
  
  
-= Инструкция по использованию =+ 
 + 
 + 
 +===== Инструкция по использованию =====
  
 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+ == 
  
-  * Check out the special Jingle branch of Asterisk:+ 
 + 
 +===== Настройка Asterisk для использования с Psi+ ===== 
 + 
 +  * Check out the special Jingle branch of Asterisk (revision 281181 is the last revision that is still working): 
 <code> <code>
-svn co http://svn.digium.com/svn/asterisk/team/phsultan/jingle-support/+svn -r 281181 co http://svn.digium.com/svn/asterisk/team/phsultan/jingle-support/
 </code> </code>
- 
  
   * 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
 +
 <code> <code>
 wget http://haar.student.utwente.nl/~julius/patches/asterisk-jingle-hacks-20100430.patch.txt wget http://haar.student.utwente.nl/~julius/patches/asterisk-jingle-hacks-20100430.patch.txt
 wget "https://issues.asterisk.org/file_download.php?file_id=25936&type=bug" -O patch-jingle_speex-1.diff wget "https://issues.asterisk.org/file_download.php?file_id=25936&type=bug" -O patch-jingle_speex-1.diff
 </code> </code>
- 
  
   * Enter the tree and apply the patches   * Enter the tree and apply the patches
 +
 <code> <code>
 cd jingle-support cd jingle-support
Строка 53: Строка 71:
 patch -p0 < ../patch-jingle_speex-1.diff patch -p0 < ../patch-jingle_speex-1.diff
 </code> </code>
- 
  
   * 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
 +
 <code> <code>
 ./configure ./configure
Строка 64: Строка 82:
 </code> </code>
  
 +  * Register a XMPP account (using Psi for example, you can remove it from Psi afterwards)
  
-  * Register a Jabber account (using Psi for example, you can remove it from Psi afterwards)+  * Edit /etc/asterisk/jabber.conf and add the new account:
  
- 
-  * Edit /etc/asterisk/jabber.conf and add the new account: 
 <code> <code>
 [echo]] [echo]]
Строка 81: Строка 98:
 </code> </code>
  
-    Note that in the above case, Asterisk is running on the same server as the Jabber daemon. +Note that in the above case, Asterisk is running on the same server as the XMPP daemon.
  
   * Edit /etc/asterisk/jingle.conf:   * Edit /etc/asterisk/jingle.conf:
-    Make sure speex is allowed, the two lines below should work+ 
 +Make sure speex is allowed, the two lines below should work 
 <code> <code>
 disallow=all disallow=all
Строка 91: Строка 109:
 </code> </code>
  
-    Take note of the context or change it to something like public+Take note of the context or change it to something like public 
 <code> <code>
 context=public context=public
 </code> </code>
  
 +* Edit /etc/asterisk/extensions.conf:
 +
 +Edit or create a new context and set your dialing rules:
 +
 +This is the example for an echo test:
  
-  * Edit /etc/asterisk/extensions.conf: 
-    Edit or create a new context and set your dialing rules: 
-    This is the example for an echo test: 
 <code> <code>
 exten => echo@haar.student.utwente.nl,1,Playback(demo-echotest) ; Let them know what's going on exten => echo@haar.student.utwente.nl,1,Playback(demo-echotest) ; Let them know what's going on
Строка 107: Строка 128:
 </code> </code>
  
-    You can also set up a SIP bridge:+You can also set up a SIP bridge: 
 <code> <code>
 exten => tellme@haar.student.utwente.nl,1,Dial(SIP/18005558355@proxy01.sipphone.com) exten => tellme@haar.student.utwente.nl,1,Dial(SIP/18005558355@proxy01.sipphone.com)
Строка 113: Строка 135:
  
  
-= Изветсные проблемы =+ 
 + 
 + 
 +===== Изветсные проблемы =====
  
   * Asterisk sometimes doesn't choose the correct IPv4 address from the offers for the actual stream, resulting in no audio being received.   * Asterisk sometimes doesn't choose the correct IPv4 address from the offers for the actual stream, resulting in no audio being received.
 +
   * 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 (внешнее изменение)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki