en:jingle_bots
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:jingle_bots [2010/10/19 18:42] – z_god | en:jingle_bots [2019/04/28 13:51] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | #summary|Jingle bots, offering Asterisk services to Psi/Psi+ (en) | + | ====== |
| - | + | ||
| - | + | ||
| - | + | ||
| - | = Introduction | + | |
| - | + | ||
| + | ===== Introduction ===== | ||
| This page contains information on using Asterisk with Psi+. | This page contains information on using Asterisk with Psi+. | ||
| - | + | ===== Details ===== | |
| - | + | ||
| - | + | ||
| - | = Details = | + | |
| - | + | ||
| - | + | ||
| To be able to use Asterisk with Psi+, you need to use the Jingle branch of Asterisk with some patches. (This patches on the Psi side are not necessary anymore.) | To be able to use Asterisk with Psi+, you need to use the Jingle branch of Asterisk with some patches. (This patches on the Psi side are not necessary anymore.) | ||
| - | + | ===== Public Bots ===== | |
| - | + | ||
| - | + | ||
| - | = Public Bots = | + | |
| - | + | ||
| - | + | ||
| Here is a list of currently known public Jingle bots: | Here is a list of currently known public Jingle bots: | ||
| - | |||
| - | |||
| - | |||
| || JID || notes || Works with (tested with) || | || JID || notes || Works with (tested with) || | ||
| - | + | || echo@haar.student.utwente.nl || A simple echo test || Psi, Psi+, Pidgin, | |
| - | || echo@haar.student.utwente.nl || A simple echo test || 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 || A SIP bridge to the Tell Me service (hint, say Black Jack from the main menu) || 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 || | + | |
| - | + | ||
| - | || 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 || | + | |
| || echo@test.collabora.co.uk || A test bot by [[http:// | || echo@test.collabora.co.uk || A test bot by [[http:// | ||
| - | + | ===== How to use ===== | |
| - | + | ||
| - | + | ||
| - | = How to use = | + | |
| - | + | ||
| - | + | ||
| 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 | ||
| - | |||
| * Make a voice call to the contact | * Make a voice call to the contact | ||
| - | |||
| - | |||
| The contact should pick up the call and offer the noted service. | The contact should pick up the call and offer the noted service. | ||
| - | + | ===== Setting up Asterisk for use with Psi+ ===== | |
| - | + | * Check out the special Jingle branch of Asterisk | |
| - | + | ||
| - | = Setting up Asterisk for use with Psi+ = | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | * Check out the special Jingle branch of Asterisk: | + | |
| < | < | ||
| - | |||
| svn -r 281181 co http:// | svn -r 281181 co http:// | ||
| - | |||
| </ | </ | ||
| - | |||
| - | |||
| - | |||
| Line 84: | Line 39: | ||
| < | < | ||
| - | |||
| wget http:// | wget http:// | ||
| - | |||
| wget " | wget " | ||
| - | |||
| </ | </ | ||
| - | |||
| - | |||
| - | |||
| Line 98: | Line 47: | ||
| < | < | ||
| - | |||
| cd jingle-support | cd jingle-support | ||
| - | |||
| patch -p1 < ../ | patch -p1 < ../ | ||
| - | |||
| 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 | ||
| - | |||
| make menuselect | make menuselect | ||
| - | |||
| make | make | ||
| - | |||
| make install | make install | ||
| - | |||
| make samples | make samples | ||
| - | |||
| </ | </ | ||
| - | + | | |
| - | + | ||
| - | + | ||
| - | | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| * Edit / | * Edit / | ||
| < | < | ||
| - | |||
| [echo]] | [echo]] | ||
| - | |||
| type=client | type=client | ||
| - | |||
| serverhost=localhost | serverhost=localhost | ||
| - | |||
| username=echo@haar.student.utwente.nl/ | username=echo@haar.student.utwente.nl/ | ||
| - | |||
| secret=< | secret=< | ||
| - | |||
| port=5222 | port=5222 | ||
| - | |||
| usetls=no | usetls=no | ||
| - | |||
| usesasl=no | usesasl=no | ||
| - | |||
| statusmessage=voice: | statusmessage=voice: | ||
| - | |||
| </ | </ | ||
| - | + | 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 | ||
| - | |||
| allow=speex | allow=speex | ||
| - | |||
| </ | </ | ||
| - | + | Take note of the context or change it to something like public | |
| - | | + | |
| < | < | ||
| - | |||
| context=public | context=public | ||
| - | |||
| </ | </ | ||
| - | |||
| - | |||
| - | |||
| - | |||
| * Edit / | * 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, | ||
| - | |||
| exten => echo@haar.student.utwente.nl, | exten => echo@haar.student.utwente.nl, | ||
| - | |||
| exten => echo@haar.student.utwente.nl, | exten => echo@haar.student.utwente.nl, | ||
| - | |||
| exten => echo@haar.student.utwente.nl, | exten => echo@haar.student.utwente.nl, | ||
| - | |||
| </ | </ | ||
| - | + | You can also set up a SIP bridge: | |
| - | | + | |
| < | < | ||
| - | |||
| exten => tellme@haar.student.utwente.nl, | exten => tellme@haar.student.utwente.nl, | ||
| - | |||
| </ | </ | ||
| - | + | ===== Known issues ===== | |
| - | + | ||
| - | = Known issues = | + | |
| - | + | ||
| - | + | ||
| * 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. | ||
en/jingle_bots.1287513771.txt.gz · Last modified: 2010/10/19 18:42 (external edit)
