Thursday, April 15, 2010

How to install sipXecs 4.2 for testing from suse build service

As of, 04/15/10, this is not an official 4.2 release, more testing needs to be done. The instructions may even change, but here's what I got so far.

Right now all I have is CentOS and RHEL 5 binaries for 32 and 64 bit.

To install them, create repo file /etc/yum.repos.d/sipxecs.repo

[sipxecs]
name=sipxecs
baseurl=http://download.opensuse.org/repositories/home:/sipfoundry/CentOS_5/
gpgcheck=0
enabled=1


I recommend gpgcheck=0 because although the rpms are signed, I haven't figured out where to get the key.

The source for these binaries is here

http://github.com/dhubler/sipxecs

Which periodically stays in sync w/svn but also has:

  • patches to build on suse build service

  • Support for P-Preferred-Identity XX-6893

  • Routing by To: field in sipXbridge. I do not have a bug number for this feature, not sure how to track this.

  • Return of sipXimbot (i.e. My Buddy)

  • Return of sipXopenfire IM commands (i.e. @call, @conf, @xfer)



What else I'd like to do

  • with Eric's patches, I will quickly be working on getting Fedora 11/12 binaries available.

  • Finish support for P-Preferred-Identity when ITSP requires registration.

  • Return support for IM Federation with Kraken



Any help testing would be appreciated. I'm about to verify a report that "My Buddy" doesn't show up in the roster.

I'll leave comments open on this blog assuming spam stays under control, you can post here, anonymously if you wish.

12 comments:

  1. sure enough, My Buddy doesn't show up, but he's there, i can see the bugger in the openfire logs, just not automatically in the roster.

    sipXrelay seems to tie up about 504 udp ports mostly in the 30000 and up range. I wonder if that's normal?

    ReplyDelete
  2. This is awesome news. Thanks!

    Can this be ran on an existing 4.0.4 update?

    The existings sipxecs.repo does not work. and putting in what is suggest in the release email doesn't work either.

    If this can be run from an existing installatio, I'll try it this evening and report back.

    ReplyDelete
  3. yes, it can. I personally haven't tested an upgrade, but presumably many have of the svn code branch. Your results welcomed. You'll probably need to disable/delete any configs in /etc/yum.repos.d/ that point to sipfoundry.

    ReplyDelete
  4. If you have an error about the above repo file not working, what is the error?

    ReplyDelete
  5. It errors in not being able to find the Centos 5.2 files.

    Loading "basearchonly" plugin
    Loading "fastestmirror" plugin
    Loading "downloadonly" plugin
    Loading mirror speeds from cached hostfile
    YumRepo Warning: not using ftp, http[s], or file for repos, skipping - 5.2 is not a valid release or hasnt been released yet
    removing mirrorlist with no valid mirrors: //var/cache/yum/centos-5.2-updates/mirrorlist.txt
    Error: Cannot find a valid baseurl for repo: centos-5.2-updates

    I've tried on two different systems, both installed from ISO with the same error.

    Probably a simple thing to fix, but this should be tested and corrected with instructions prior to release or along with release. IMHO.

    ReplyDelete
  6. Sorry, i removed your terminal output because it was too long and further comments were getting lost. It appears java is not willing to update

    ---> Package java-1.6.0-sun-fonts.i586 0:1.6.0.19-1 set to be updated
    --> Processing Dependency: /usr/bin/mkfontdir for package: java-1.6.0-sun-fonts

    i recall having been in this situation before. I ended up downloading the java rpms and force installing them but there might be a better way. The URL to the repo, you can download rpms from there.

    ReplyDelete
  7. No problem, I didn't see a practical reason for the terminal updates to remain.

    I did modify the RPM and got the 4.0.4 to update to 4.2.0.

    I will try to update this to your version later this evening. I'll post results.

    BTW, looks like an opening was given to Erik to create a community repository, which might be a great place for this application you are working on to reside initially.

    ReplyDelete
  8. Do you recognize this issue:

    --> Missing Dependency: expat-devel is needed by package sipxpbx-4.2.0-18581.1.i386 (sipxecs)
    Error: Missing Dependency: expat-devel is needed by package sipxpbx-4.2.0-18581.1.i386 (sipxecs)

    Found when attempting to follow your installation. Maybe it is a mistake to try those instructions on a 4.2 system?

    ReplyDelete
  9. you mean 4.0 system? Does yum install expat-devel work? Sorry, I'm not being a whole lot of help, but I would probably install 4.0 system and work out the kinks to be sure. Can you update centos from 5.2 to 5.4 first?

    ReplyDelete
  10. i'm going to test a clean 4.0.4 to suse build tomorrow. i did a clean 4.0.4 to the avaya 4.2.0 this morning without issue.

    See my blog at www.sipxecs.info for fixing the 5.2 yum update problem.

    Mike

    ReplyDelete
  11. Ok, just finished a clean 4.0.4 to 4.2.1-18591.1 upgrade.

    To perform the upgrade I substituted Douglas' sipXecs repo code above over the sipXecs info I had in my sipxecs.repo file and made sure that all of my CentOS repositories were pointing to 5 instead of 5.2 on the mirror lines.

    Noticed the following errors while packages were flying by:

    ...

    Installing FreeSWITCH folder

    ...

    Updating : kbd ##################### [230/527]
    Updating : vsftpd ##################### [231/527]
    warning: /etc/vsftpd/vsftpd.conf created as /etc/vsftpd/vsftpd.conf.rpmnew
    Updating : sipxconfig-ftp ##################### [232/527]
    error: %post(sipxconfig-ftp-4.2.1-18599.1.i386) scriptlet failed, exit status 1
    Updating : mcstrans ##################### [233/527]
    Installing: sipxcdrlog ##################### [234/527]
    Installing: sipxcallcontroller ##################### [235/527]
    Installing: sipxrecording ##################### [236/527]

    ...

    sipxchange homedir /etc/sipxpbx or its parent directory conflicts with a
    defined context in /etc/selinux/targeted/contexts/files/file_contexts,
    /usr/sbin/genhomedircon will not create a new context. This usually indicates an incorrectly defined system account. If it is a system account please make sure its login shell is /sbin/nologin.
    Updating : cups ##################### [258/527]
    Updating : caching-nameserver ##################### [259/527]


    GUI take a long time before it is ready. This is the same as the Avaya 4.2 build.

    On this particular box I had a custom logo and start page graphic. These didn't carry forward cleanly at all. Start page can not include a graphic in the way it did and the logo in the upper left is a different size.

    Other than the above, the box came up cleanly.

    Mike

    ReplyDelete
  12. Can somebody else test a Polycom 601? I'm throwing a config file error on a test set. Polycom 330 is fine.

    Tried 3.1.3c and 3.2.3. Did factory reset on phone with 4,6,8,* also.

    Thanks,
    Mike

    ReplyDelete