Koozali.org: home of the SME Server

Obsolete Releases => SME VoIP (Asterisk, SAIL etc) => Topic started by: soprom on October 03, 2011, 06:28:42 PM

Title: Convert from sail-2.6.1-11 to sail-3.1.0-128
Post by: soprom on October 03, 2011, 06:28:42 PM
Hi,

I get errors like these when running "perl /opt/sark/scripts/srkinsertdbdata.pl"

Quote
[root@pbx2 ~]# perl /opt/sark/scripts/srkinsertdbdata.pl
DBD::SQLite::db prepare failed: near "=": syntax error(1) at dbdimp.c line 271 at /opt/sark/perl/modules/sark/SarkSubs.pm line 1204.
DBD::SQLite::db prepare failed: near "=": syntax error(1) at dbdimp.c line 271 at /opt/sark/perl/modules/sark/SarkSubs.pm line 1204.
Issuing rollback() for database handle being DESTROY'd without explicit disconnect().

I applied a submit from the GUI, then restored selintra-work from a temp folder to /home/e-smith/db, before running the script.

I've installed on sme8b6:
smesailenv-1.0.0-23.noarch
sail-3.1.0-128.noarch

Any help?
Title: Re: Convert from sail-2.6.1-11 to sail-3.1.0-128
Post by: soprom on October 05, 2011, 04:49:34 AM

Although I already had asterisk14 installed, I applied this (from the instructions):

Code: [Select]
yum install asterisk14 asterisk14-configs asterisk14-voicemail dahdi-linux dahdi-tools asterisk-sounds-extra-en-ulaw asterisk-sounds-moh-opsound-ulaw --enablerepo=asterisk-current
And the errors disappeared.
Title: Re: Convert from sail-2.6.1-11 to sail-3.1.0-128
Post by: SARK devs on October 06, 2011, 12:31:52 AM
Hi Sophie

Glad it worked out for you.  Let me know how you get on with V3.  There is a new release (129) just about to go up onto the server

Kind Regards

S

 
Title: Re: Convert from sail-2.6.1-11 to sail-3.1.0-128
Post by: soprom on October 06, 2011, 12:53:16 AM
Thanks!

I'm stuck with configuring a Aastra 480i phone. It is registering but inbound calls are not processed. I get these messages again and again until I hangup:

    -- Executing [5001@extensions:1] Goto("SIP/peer2622-00000001", "5001|1") in new stack
    -- Goto (extensions,5001,1)

Outbound calls processed neither. Working on it.
Title: Re: Convert from sail-2.6.1-11 to sail-3.1.0-128
Post by: soprom on October 06, 2011, 04:32:43 AM
Strangly, it now works for outbound calls. Didn't touch anything...
Title: Re: Convert from sail-2.6.1-11 to sail-3.1.0-128
Post by: soprom on October 06, 2011, 05:25:25 AM
Sail 3 is not providing conf for "user" in a trunk. I had to manually enter settings (very similar to the ones for "peer") to have inbound calls processed.

In V2, I had:
type=user
context=mainmenu
Title: Re: Convert from sail-2.6.1-11 to sail-3.1.0-128
Post by: soprom on October 06, 2011, 05:49:03 AM
About V3, well the first thing that came up is that I could recommend Sail to "experts" that do not want to work with smeserver because "they're so good at Linux". Yeah, those ones. Your port on Centos is a good move, although I am still using it on smeserver. Can't keep a heart from loving, as we say around here!!!

I still have to try DiSA and callback but it went very smoothly following your installation instructions. I'm not confortable at all with the process of migrating from V2 to V3. Too much of a blackbox for me when it comes to upgrade a production PBX. I wish I could import a working conf file from V2 (or V3 for that matter) into my new PBX.

The "Asterisk files edit" needs too much scrolling. Just to change the language, there is more scrolling than typing. That would be nice to have just one field in the "Global settings" where to set language.

So my first impression is quite good. The interface is neet. Great job!

Sophie