Sep 15, 2011 1:58 PM
Says server is added, but it's not
-
Like (0)
I have installed the asterisk-im module and have gone through the server setup process, multiple times, and each time it says: Server created successfully
However no server shows up in the list and I can't go any further.
Asterisk 1.8.6
Openfire 3.6.4
Asterisk-IM 1.4.0
Asterisk-IM plugin is not in development for many years, so maybe it is not compatible with recent Openfire versions.
Oh...is there a replacement?
Sorry, don't know of any replacement.
your adding the wrong IP address for your server.
Try these:
Your domain name: mydomian.com
Your IP: 12.34.56.789
or the Lookback (which worked for me) 127.0.0.1
So should look like:
Server Name: asterisk
Server Address: 127.0.0.1
Port: 5038
Username: admin
Password: amp111
**Note: User name and passwords are the defaults for Asterisk.
All the info needed here can be found at /etc/amportal.conf.
I know this is an older message, but I was having the same issue and located the answer in a book.
Sometimes, when using Embedded Database, the server we just added will not be listed as shown in the figure above (although the message "Server created succesfully" does show up). This can be corrected simply by running the following two commands (in the Linux shell as root):
perl -pi.bak -e 's/(.*serverName.*)/ serverName varchar(255) not null,/' /opt/openfire/plugins/asterisk-im/database/asterisk-im_hsqldb.sql
service openfire restart
Thanx, it works!