On 1/26/2011 11:06 AM, Matt White wrote:
The dependancy in 4.2.1 is purely in the rpm's. Freeswitch in 4.2.1 is not
modified for sipx specifically. Though the name is changed to sipx-freeswitch
and is referenced as a dependancy.
We use a custom sipx build (SuSe) for all our installs and we have always used
the current freeswitch builds.
So you can build freeswitch from source and just make sure target directories
match what sipx expects. You can get this from the source rpm spec file in the
sipx-freeswitch rpm.
Of course, you completely break upgrades as yum will still expect the
dependancy of sipx-freeswitch. And any upgrade would conflict/overwrite any
freeswitch built from source.
Or you can always compile sipx 4.2.1 from the srpms and simply drop in the
latest freeswitch srpms but use the older spec file which still uses the
sipx-freeswitch name.
There is a current opensuse build project that has the centos 4.2.1 rpms. A
simple clone of the project and you can pop in the new freeswitch srpms.
-m
Thank you for the info. I don't see any source available for 4.2.1. It
could easily be that I am not looking in the correct place. I got the
attached spec file from the sipxfreeswitch-4.4.0-46.g01752.src.rpm file.
Will that do? Any major changes needed to it? Do you always pull the
latest freeswitch form their git repository? Their page indicates 1.0.6
is obsolete and only the latest 1.0.7 should be used. Any other general
tips? Do you use these steps for installation and configuration
http://wiki.sipfoundry.org/display/sipXecs/G729 or something else?
Thanks again. Getting this working would really get me out of a
situation that I didn't realize I had put myself into by upgrading to 4.2.1.
_______________________________________________
sipx-users mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-users/
Name: sipxfreeswitch
Version: 4.4.0
Release: 46.g01752
Summary: FreeSWITCH startup scripts.
License: LGPL
Group: Productivity/Telephony/SIP/Servers
Url: http://www.sipfoundry.org
Packager: SIPfoundry <[email protected]>
Vendor: SIPfoundry
BuildRequires: automake
BuildRequires: sipxcommserverlib-devel >= %version
Requires: freeswitch >= 1.0.7
Requires: sipxcommserverlib >= %version
# Now using standard FS, this is best place to pull off these RPMs on 4.2.1 or
older systems by declaring them obsolete
Obsoletes: sipx-freeswitch
Obsoletes: sipx-freeswitch-codec-passthru-g723_1
Obsoletes: sipx-freeswitch-codec-passthru-amr
Obsoletes: sipx-freeswitch-codec-passthru-g729
Source: %name-%version.tar.gz
Prefix: %_prefix
BuildRoot: %{_tmppath}/%name-%version-root
%description
FreeSWITCH startup scripts for sipx.
%prep
%setup -q
%build
%configure SIPXPBXUSER=sipxchange
cp config.log %name.configlog
make all
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,sipxchange,sipxchange,755)
%dir %{_datadir}/sipxecs
%dir %{_datadir}/sipxecs/process.d
%attr(644,root,root) %{_datadir}/sipxecs/process.d/freeswitch-process.xml
%attr(755,root,root) %{_bindir}/freeswitch.sh
%dir %{_libexecdir}/sipXecs
%dir %{_libexecdir}/sipXecs/setup.d
%attr(755,root,root) %{_libexecdir}/sipXecs/setup.d/freeswitch_setup.sh
%post
freeswitch.sh --config
if test -e %{_sysconfdir}/logrotate.d/freeswitch; then rm -f
%{_sysconfdir}/logrotate.d/freeswitch; fi
%triggerin -- freeswitch
%if %{_vendor} == redhat
/sbin/chkconfig freeswitch off
%endif
# may not be running, so eat stderr
/etc/init.d/freeswitch stop 1>/dev/null
_______________________________________________
sipx-users mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-users/