Difference between revisions of "XMPP Manager"
(→SVN Manually add XMPP) |
|||
(9 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
XMPP manager is used to configure client side XMPP profiles. It can be used as a client to register to make and receive call with Google Talk or other XMPP servers. | XMPP manager is used to configure client side XMPP profiles. It can be used as a client to register to make and receive call with Google Talk or other XMPP servers. | ||
− | == | + | |
+ | ---- | ||
+ | |||
+ | |||
+ | Page migrated to http://docs.fusionpbx.com/en/latest/applications_optional/xmpp.html | ||
+ | |||
+ | |||
+ | ===SVN Manually add XMPP=== | ||
+ | |||
+ | After version 3.8 XMPP is optional. To add XMPP do the following | ||
+ | |||
+ | ~Goto command line~ | ||
+ | |||
+ | '''cd /var/www/fusionpbx/app''' | ||
+ | |||
+ | '''svn checkout http://fusionpbx.googlecode.com/svn/trunk/apps/xmpp''' | ||
+ | |||
+ | Goto Fusionpbx GUI | ||
+ | |||
+ | '''Advanced>Upgrade''' | ||
+ | click '''Schema, Data Types, then click execute''' | ||
+ | |||
+ | You should now have XMPP Manager under Accounts | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===GIT Manually add XMPP=== | ||
+ | |||
+ | After version 3.8 XMPP is optional. To add XMPP do the following | ||
+ | |||
+ | ~Goto command line~ | ||
+ | |||
+ | '''cd /tmp''' | ||
+ | |||
+ | '''git clone https://github.com/fusionpbx/fusionpbx-apps.git | ||
+ | |||
+ | '''cd fusionpbx-apps/''' | ||
+ | |||
+ | '''mv xmpp/ /var/www/fusionpbx/app/''' | ||
+ | |||
+ | '''cd /var/www/fusionpbx/app''' | ||
+ | |||
+ | '''chown www-data:www-data -R xmpp/''' | ||
+ | |||
+ | |||
+ | |||
+ | Goto Fusionpbx GUI | ||
+ | |||
+ | '''Goto the gui and click advanced > menu manager > edit icon > click "Restore Defaults" at top right''' | ||
+ | |||
+ | '''Then goto Advanced>Upgrade''' | ||
+ | click '''Schema, Data Types, and Permission Defaults then click execute''' | ||
+ | |||
+ | '''Click status > sip status > Flush Memcache''' | ||
+ | |||
+ | '''Log out then back in''' | ||
+ | |||
+ | You should now have XMPP Manager under Accounts | ||
+ | |||
+ | ==XMPP Profile== | ||
FusionPBX menu. | FusionPBX menu. | ||
Accounts -> XMPP manager. | Accounts -> XMPP manager. | ||
Line 29: | Line 88: | ||
Save the settings and restart the module. Restart the 'XMPP' module from System -> Modules page. | Save the settings and restart the module. Restart the 'XMPP' module from System -> Modules page. | ||
Go back to Accounts -> XMPP if the status says 'AUTHORIZED' then you are ready to go. | Go back to Accounts -> XMPP if the status says 'AUTHORIZED' then you are ready to go. | ||
+ | |||
+ | ==Outbound Routes== | ||
+ | For this example we will use 11 digit dialing. | ||
+ | Gateway: XMPP | ||
+ | Dialplan Expression: 11 digits | ||
+ | Description: Google Talk | ||
+ | Press Save | ||
+ | |||
+ | If your XMPP profile is named something other than gtalk edit the outbound route you just created. | ||
+ | Bridge statement should look like: dingaling/gtalk/+$1@voice.google.com replace gtalk with the profile name you chose and then save it. |
Latest revision as of 21:10, 4 February 2016
XMPP manager is used to configure client side XMPP profiles. It can be used as a client to register to make and receive call with Google Talk or other XMPP servers.
Page migrated to http://docs.fusionpbx.com/en/latest/applications_optional/xmpp.html
SVN Manually add XMPP
After version 3.8 XMPP is optional. To add XMPP do the following
~Goto command line~
cd /var/www/fusionpbx/app
svn checkout http://fusionpbx.googlecode.com/svn/trunk/apps/xmpp
Goto Fusionpbx GUI
Advanced>Upgrade click Schema, Data Types, then click execute
You should now have XMPP Manager under Accounts
GIT Manually add XMPP
After version 3.8 XMPP is optional. To add XMPP do the following
~Goto command line~
cd /tmp
git clone https://github.com/fusionpbx/fusionpbx-apps.git
cd fusionpbx-apps/
mv xmpp/ /var/www/fusionpbx/app/
cd /var/www/fusionpbx/app
chown www-data:www-data -R xmpp/
Goto Fusionpbx GUI
Goto the gui and click advanced > menu manager > edit icon > click "Restore Defaults" at top right
Then goto Advanced>Upgrade click Schema, Data Types, and Permission Defaults then click execute
Click status > sip status > Flush Memcache
Log out then back in
You should now have XMPP Manager under Accounts
XMPP Profile
FusionPBX menu. Accounts -> XMPP manager.
In this example we will setup Google Talk and by creating a profile called gtalk.
Profile Name: gtalk Username: your_user_account@gmail.com (use your account) Password: use the correct password Auto-Login: yes XMPP Server: talk.google.com
Two approaches can be used for the next part.
Option 1. Lets say my gmail number was 12081231234. This approach will send the inbound calls to the inbound routes with a destination number that is the default extension number that is set. Default extension: 12081231234 Advanced->Context: public
Option 2. On a single tenant system. This will send the call to extension 1001 in the default context. Default extension: 1001 Advanced -> Context: default
Option 3. On a single tenant system. This will send the call to extension 1001 in the tenant domain name. Default extension: 1001 Advanced -> Context: your.domain.com
Save the settings and restart the module. Restart the 'XMPP' module from System -> Modules page. Go back to Accounts -> XMPP if the status says 'AUTHORIZED' then you are ready to go.
Outbound Routes
For this example we will use 11 digit dialing. Gateway: XMPP Dialplan Expression: 11 digits Description: Google Talk Press Save
If your XMPP profile is named something other than gtalk edit the outbound route you just created. Bridge statement should look like: dingaling/gtalk/+$1@voice.google.com replace gtalk with the profile name you chose and then save it.