Koozali.org: home of the SME Server

Obsolete Releases => SME VoIP (Asterisk, SAIL etc) => Topic started by: SARK devs on March 11, 2009, 12:06:41 AM

Title: Note on Asterisk DAHDI and kmdls
Post by: SARK devs on March 11, 2009, 12:06:41 AM
You can find the note on the wiki...

http://sarkpbx.com/twiki/bin/view/Main/AsteriskDahdi

Kind Regards

S
Title: Re: Note on Asterisk DAHDI and kmdls
Post by: David Harper on March 11, 2009, 01:34:04 AM
Jeff, I think we may end up harvesting packages from atrpms and then serving them up from a custom Selintra repository, where we can control archiving and release policies. As it's all open source, you could use the SME mirror network rather than your own bandwidth. With regards to DAHDI, I think that SME 7.x will be around for a while yet, so it would be a good idea to have a DAHDI compatible SAIL release for 7.x IMHO.
Title: Re: Note on Asterisk DAHDI and kmdls
Post by: Teviot on March 11, 2009, 08:16:34 AM
Jeff, I think we may end up harvesting packages from atrpms and then serving them up from a custom Selintra repository, where we can control archiving and release policies. As it's all open source, you could use the SME mirror network rather than your own bandwidth. With regards to DAHDI, I think that SME 7.x will be around for a while yet, so it would be a good idea to have a DAHDI compatible SAIL release for 7.x IMHO.

For what it is worth ... I like that idea and agree with it
Title: Re: Note on Asterisk DAHDI and kmdls
Post by: SARK devs on March 11, 2009, 12:48:27 PM
Agreed but we don't know who to ask about using contibs mirrors

Best

S
Title: Re: Note on Asterisk DAHDI and kmdls
Post by: David Harper on March 11, 2009, 01:58:28 PM
Charlie Brady would be best I think - either he is responsible for this or knows who is. You can use the forum messaging system to contact him, or file a bug and add his address (charlieb-contribs-bugzilla | AT | budge DOT apana DOT org DOT au) on the CC list - he haunts Bugzilla regularly (I mean this in a good way! 8)).
Title: Re: Note on Asterisk DAHDI and kmdls
Post by: Daniel B. on March 11, 2009, 02:06:45 PM
DAHDI drivers have been pushed in smecontribs repo (I needed it for my FreePBX contrib). So it should now be available for the current SME Server kernel without problem.
Title: Re: Note on Asterisk DAHDI and kmdls
Post by: David Harper on March 11, 2009, 02:27:49 PM
Thanks VIP-ire

I think that because SARK UCS is a controlled solution spanning multiple packages - SAIL, Zaptel/DAHDI, Asterisk, bristuff, mISDN - it requires that the maintainer (Selintra) be in control of a seperate repository. So if, for example, you update Asterisk in smecontribs for FreePBX, or the atrpms maintainer updates Zaptel for a newer kernel release, it doesn't break SARK as a unified solution.

That breakage is the big issue IMHO. SARK is a commercial-grade business solution; if every other yum update breaks it then it becomes very difficult to support.
Title: Re: Note on Asterisk DAHDI and kmdls
Post by: Daniel B. on March 11, 2009, 02:36:39 PM
Thanks VIP-ire

I think that because SARK UCS is a controlled solution spanning multiple packages - SAIL, Zaptel/DAHDI, Asterisk, bristuff, mISDN - it requires that the maintainer (Selintra) be in control of a seperate repository. So if, for example, you update Asterisk in smecontribs for FreePBX, or the atrpms maintainer updates Zaptel for a newer kernel release, it doesn't break SARK as a unified solution.
I won't upgrade asterisk, nor DAHDI, these upgrades are according to ATrpms upgrades, just recompiled for SME Server.
Additionnaly, asterisk is more or less DAHDI version independant. (just like it was for zaptel), so it shouldn't be a big problem. Once SAIL is modified to use DAHDI instead of zaptel, everything should be ok.

That breakage is the big issue IMHO. SARK is a commercial-grade business solution; if every other yum update breaks it then it becomes very difficult to support.
FreePBX is also a commercial-grade product, even more used than SAIL (I mean globally, not specific to SME).
Title: Re: Note on Asterisk DAHDI and kmdls
Post by: David Harper on March 11, 2009, 03:13:05 PM
I won't upgrade asterisk, nor DAHDI, these upgrades are according to ATrpms upgrades, just recompiled for SME Server.

Unfortunately atrpms upgrades have outpaced SAIL.

Quote
Additionnaly, asterisk is more or less DAHDI version independant. (just like it was for zaptel), so it shouldn't be a big problem. Once SAIL is modified to use DAHDI instead of zaptel, everything should be ok.

True, but one of the things about Linux development in general is that nothing tends to stay fixed for very long.... imho anyway.

Quote
FreePBX is also a commercial-grade product, even more used than SAIL (I mean globally, not specific to SME).

My mistake! ;-)
Title: Re: Note on Asterisk DAHDI and kmdls
Post by: SARK devs on March 11, 2009, 11:28:39 PM
Thanks everyone,

It looks as tho' VIP-ire has already begun to harvest the rpms (at least 78.0.13 is there), for which - well done!

I'm a bit puzzled though... Why did you harvest Asterisk and the add-ons?.. and why only half of libpri?

Do you intend to continue this harvesting exercise or are these modules sufficient to your needs? 

Quote
...just recompiled for SME Server.

Why would you recompile the ATrpms rpms?..  Or have I misunderstood?

Kind Regards

S







Title: Re: Note on Asterisk DAHDI and kmdls
Post by: Daniel B. on March 12, 2009, 02:34:33 PM
Hi.
In fact, I asked my contrib smeserver-freepbx, dahdi-linux(-kmdl), dahdi-tool, and misdn(-kmdl) to be imported in the buildsystem. You're right that only the kernel modules needs to be recompilled to match SME kernel. We can use directly the rpms from Atrpms (I used them a lot before). But the goal of the smecontribs repo is to include any dependencies needed by a contrib. As my freepbx contrib needs asterisk and some others tools, they were imported also.
There's still some componant missing (for example the chan_misdn rpm), I'll try to ask a developper to import it (well, to enable it during asterisk compilation in the build system), and the libpri srpm.
What other componant do you need for SAIL ?

I think it could be easier for you if all the needed dependencies are in smecontribs.

Cheers, Daniel
Title: Re: Note on Asterisk DAHDI and kmdls
Post by: David Harper on March 12, 2009, 10:02:46 PM
Unfortunately the version of Asterisk in smecontribs (1.4.23) is incompatible with SAIL (which requires 1.4.21). This is what I mean about external factors creating issues. You update Asterisk for freepbx (perfectly legitimately) and it breaks SAIL.

Thus the need to have a seperate selintra repo, IMHO.
Title: Re: Note on Asterisk DAHDI and kmdls
Post by: SARK devs on March 12, 2009, 10:58:50 PM
Maybe not...

FreePBX is a little ahead of us with their support for DAHDI.  But not by much.  In the end, Asterisk releases are a given.  We'll take another look at the workload requirement for DAHDI this weekend.  After all, we already have it running on SME 8.0, so it shouldn't be too big a stretch to backport it.

Best

S



 

   
Title: Re: Note on Asterisk DAHDI and kmdls
Post by: SARK devs on March 16, 2009, 01:18:28 PM
Basic 8.0->7.3 backport is done.  We have tested on Digium, OpenVox and Atcom TDM cards without issue.  Deliverables will be -720+ releases, expect stable by around -725.  These releases will support CentOS4 and CentOS5 (SME7.4 and 8.0).  In keeping with our "lightweight" philosophy for SARK/SAIL, we have managed to remove about 800 lines of code from the base as part of the change.  We also made the decision that this release will NOT be dual purpose (DAHDI/Zaptel), it will be DAHDI ONLY, so it may be released as 2.2.2-720.  FreePBX have committed to dual purpose but in our view this will simply make the product "heavier" and more difficult to support, especially in view of the fact that 1.4.22 was the only Asterisk dual release and Zaptel won't run with 1.4.23 (the current release).   

We can use any available DAHDI release which matches whichever kernel you have.  This means that you can use the Firewall Services Contribs archive as long as they update it to include libpri.

New install instructions will be posted to the Wiki upon release, which is expected late this week/early next.

S







 
Title: Re: Note on Asterisk DAHDI and kmdls
Post by: David Harper on March 16, 2009, 01:31:19 PM
Great, thanks for the update Selintra.
Title: Re: Note on Asterisk DAHDI and kmdls
Post by: Daniel B. on March 19, 2009, 09:21:28 AM
libpri and agx-ast-addons are in smecontribs now. misdnuser and asterisk-misdn should be available soon too.
Anything else needed for SAIL ?
Title: Re: Note on Asterisk DAHDI and kmdls
Post by: David Harper on March 19, 2009, 09:37:29 AM
Definitely bristuff. I think there is a package sme-asterisk-extra-sounds or similar that should go in. Perhaps the music on hold package as well.

It would be great to have OSLEC compiled for SME as well.

Thanks for this Daniel -- much appreciated 8)
Title: Re: Note on Asterisk DAHDI and kmdls
Post by: SARK devs on March 19, 2009, 10:06:43 AM
Hi Daniel.

We are just finishing up the alpha test on DAHDI.  I will post the rpm list we used but I think you have most of it already. 

Thanks for your kind assistance with this.

S
Title: Re: Note on Asterisk DAHDI and kmdls
Post by: wires on April 11, 2009, 05:49:54 AM
any news on this ?

i am trying to install asterisk-misdn with below command but yum tells me below error:

yum install asterisk-misdn --enablerepo=smecontribs

No Match for argument: asterisk-misdn
Nothing to do

thanks in advance.
Title: Re: Note on Asterisk DAHDI and kmdls
Post by: David Harper on April 11, 2009, 06:30:24 AM
Try enabling the dag repository instead. Does that help?
Title: Re: Note on Asterisk DAHDI and kmdls
Post by: wires on April 13, 2009, 05:49:42 AM
yum install asterisk-misdn --enablerepo=dag

same problem,

No Match for argument: asterisk-misdn
Nothing to do



Title: Re: Note on Asterisk DAHDI and kmdls
Post by: SARK devs on April 14, 2009, 01:36:54 PM
which kernel do you have? (uname -r)

Best

S

Title: Re: Note on Asterisk DAHDI and kmdls
Post by: Franco on April 14, 2009, 03:27:58 PM
Same here:
Code: [Select]
[root@servidor ~]# uname -r
2.6.9-78.0.13.ELsmp
[root@servidor ~]# yum install dahdi-linux-kmdl-`uname -r` --enablerepo=smecontribs
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "smeserver" plugin
Loading "installonlyn" plugin
Loading "fastestmirror" plugin
Loading "protect-packages" plugin
Setting up Install Process
Setting up repositories
smecontribs               100% |=========================| 1.9 kB    00:00     
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished
Parsing package install arguments
Nothing to do
================================================================
No new rpms were installed. No additional commands are required.
================================================================
[root@servidor ~]# yum install dahdi-linux-kmdl-`uname -r` --enablerepo=smecontribs --enablerepo=dag
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "smeserver" plugin
Loading "installonlyn" plugin
Loading "fastestmirror" plugin
Loading "protect-packages" plugin
Setting up Install Process
Setting up repositories
dag                       100% |=========================| 1.1 kB    00:00     
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
primary.xml.gz            100% |=========================| 3.7 MB    00:32     
sqlite cache needs updating, reading in metadata
dag       : ################################################## 10469/10469
Excluding Packages from Dag - EL4
Finished
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished
Parsing package install arguments
Nothing to do
================================================================
No new rpms were installed. No additional commands are required.
================================================================
Title: Re: Note on Asterisk DAHDI and kmdls
Post by: Franco on April 14, 2009, 04:15:22 PM
Just an update, I went here http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/7/smecontribs/i386/RPMS/ (http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/7/smecontribs/i386/RPMS/) and manually downloaded the modules and installed them.
Works fine.

Thanks,
Title: Re: Note on Asterisk DAHDI and kmdls
Post by: David Harper on April 14, 2009, 06:01:07 PM
If the package is physically present, but yum can't find it, I imagine that would be a bug.

EDIT: Late night typo, up minding sick dog :?