Koozali.org: home of the SME Server

[Announce]SAIL 2.1.10-115/Asterisk-SME7 i386

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
[Announce]SAIL 2.1.10-115/Asterisk-SME7 i386
« on: March 09, 2006, 05:11:22 PM »
Hello Everyone,

Thanks for your response to SAIL, our FTP server has been on its knees since tuesday!  

Just a quick note to let you know that we'll put up two new rpms this afternoon.  

Asterisk-SME7-1.2.3-100.i383

Build 100-i383 is an alpha release for non-686 chips, in particular the dinky little VIA C3 mini-ITX  boards.  It chugs along happily on our little VIA Eden.

selintra-sail-2.1.10-115.noarch

Build-115 fixes the MySQL logging problem reported by JonB (thanks Jon) allowing Areski Stats to work properly, plus we've cleaned up a few rough edges in the agi.

You can install this rpm straight over the old one (113).  However, if you do,  please run

Code: [Select]
perl /etc/selintra/selnav

after the install.  This addresses a minor snafu in our previous rpms.  You shouldn't have to run this in future upgrades (we hope).

Many Thanks


Selintra

Offline JonB

  • *
  • 351
  • +0/-0
[Announce]SAIL 2.1.10-115/Asterisk-SME7 i386
« Reply #1 on: March 10, 2006, 06:40:44 AM »
You will also need to do

Code: [Select]
cd /home/e-smith/db
mv -f selintra_old selintra


otherwise you will find that everything that you set up has disappeared.

Go into extensions, choose a phone and hit update. This will rebuild the asterisk .conf then



Code: [Select]
service asterisk restart

Jon
...

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
[Announce]SAIL 2.1.10-115/Asterisk-SME7 i386
« Reply #2 on: March 10, 2006, 12:40:47 PM »
Well spotted Jon...  You wouldn't like to come and live in the UK would you?

Only joking.  Seriously tho' we really appreciate the input.

We've found the problem in the rpm.  Pure finger trouble on our part coupled with the fact that we were anxious to get a fix out for Stats.  We've already cut a new version and we're going to run it through a few cycle tests here, so it should go up onto ftp later today if it hangs together.

Please accept our apologies.

Selintra

Offline JonB

  • *
  • 351
  • +0/-0
[Announce]SAIL 2.1.10-115/Asterisk-SME7 i386
« Reply #3 on: March 10, 2006, 01:29:36 PM »
Like all good Kiwi's I've spent time in the UK.  :pint:

No need to apologise. Thats what bug testing is all about.

Jon
...

Offline NickCritten

  • *
  • 245
  • +0/-0
[Announce]SAIL 2.1.10-115/Asterisk-SME7 i386
« Reply #4 on: March 10, 2006, 03:08:45 PM »
Hello again,

A very minor bug:

In the iax.conf header you have got:
Code: [Select]
srvlookup=yes
maxexpirey=180
defaultexpirey=160


These aren't valid iax.conf variables (according to voip-info.org & asteriskguru.com anyway!)

Also in several of the IAX2 IP Devices you have:
Code: [Select]
canreinvite=no
This should be
Code: [Select]
notransfer=yes


This really is a wicked package you guys have put together.  I can't wait until you've finished with the advanced IVR stuff! :-)
...
Nick

"No good deed goes unpunished." :-x...

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
[Announce]SAIL 2.1.10-115/Asterisk-SME7 i386
« Reply #5 on: March 10, 2006, 03:50:26 PM »
Thanks for the input and the compliments Nick, we're blushing here!

We don't know IAX that well.  We'll look into these.  You can change your own settings just by altering them in headers.

We have IVR working and it looks nice.  We're also putting a feature in for 2.1.11 called Custom Apps.  Basically its a window onto extensions.conf where you can define and code your own contexts.  We'll document the agi at the same time to allow you to make your own calls to it so, for example, you can use our Route/Trunk and Dial logic etc. if you wish.  

Kind Regards

Selintra

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
[Announce]SAIL 2.1.10-115/Asterisk-SME7 i386
« Reply #6 on: March 10, 2006, 06:47:39 PM »
Just to let you know.  We've put selintra-sail-2.1.10-116.i686.rpm up onto the ftp site now.

Many Thanks

Selintra

dennyhalim

[Announce]SAIL 2.1.10-115/Asterisk-SME7 i386
« Reply #7 on: March 11, 2006, 05:41:16 AM »
i got few questions about sail:
- how it compare to a@h?
- how to upgrade? do automatic update also works for sail?
- my sme behind firewall, which ports must i open?

tia
dny

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
[Announce]SAIL 2.1.10-115/Asterisk-SME7 i386
« Reply #8 on: March 11, 2006, 01:54:17 PM »
Quote
- how it compare to a@h?

Hello Danny

A@H is a collection of tools for Asterisk, one of which; AMP, is an Asterisk configuration workbench. SAIL is an Asterisk configuration workbench integrated into the SME server-manager.

Quote
how to upgrade? do automatic update also works for sail?

Right now rpm, soon, YUM.

Quote
my sme behind firewall, which ports must i open?

Same ones you would open for any asterisk system.  See here for a discussion

http://selintra.com/docs/cgi-bin/view/Main/NetInst

Selintra

Offline JonB

  • *
  • 351
  • +0/-0
[Announce]SAIL 2.1.10-115/Asterisk-SME7 i386
« Reply #9 on: March 14, 2006, 03:16:51 AM »
For the Kiwi's out there running Asterisk, get the Kiwi voice prompts at

http://voiceprompt.archnetnz.com/index.php?p=archive

No longer will you have to press the "pound" key.

Jon
...

Offline JonB

  • *
  • 351
  • +0/-0
[Announce]SAIL 2.1.10-115/Asterisk-SME7 i386
« Reply #10 on: March 16, 2006, 06:19:50 AM »
Any one got a Sipura SPA-3000 working with SAIL.

I used to have it working with A@H but can't get it working with SAIL.

The SPA-3000 configuration info would help.

Apart from the SPA everything is working perfectly. I have 2 boxes set up, home and office. SAILtoSAIL trunks work perfectly. Much easier than setting up IAX2 trunks using extensions as peers.

Now to get Jive Messenger integrated via the Asterisk plugin and I should be home and hosed.

Jon
...

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
[Announce]SAIL 2.1.10-115/Asterisk-SME7 i386
« Reply #11 on: March 16, 2006, 11:15:44 AM »
Hi Jon,

Glad it's running well.  We're particularly pleased with the SAIL-to-SAIL trunking, it works very well.  We'll spin up an spa3K today and give you our settings (we've got an spa2K lying around somewhere so we'll spin that up as well).


New release (2.1.11) at the weekend all being well.

Kind Regards

Selintra

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
[Announce]SAIL 2.1.10-115/Asterisk-SME7 i386
« Reply #12 on: March 16, 2006, 01:27:18 PM »
Quote
Any one got a Sipura SPA-3000 working with SAIL.

I used to have it working with A@H but can't get it working with SAIL.

The SPA-3000 configuration info would help.


Hi Jon,

We've put an spa3K up this morning without too much trouble, however, it has shown up a few things in the ata handling that we don't like.  This area of the code was retrofitted from Version 1 of SAIL and, to be honest, we didn't test it as well as we should have.   Here's the plan....

We will put a full mod into 2.1.11 which is currently in packaging.  In the meantime, if your requirement to get the spa3K running is urgent then send us an e-mail at admin@selintra.com and we'll send you a temporary config which will get you up and running.  We'll also put a section into the wiki showing how to set the SPA series up - all of 'em; 1K, 2K, 3K and 841.

Best

Selintra

Offline NickCritten

  • *
  • 245
  • +0/-0
[Announce]SAIL 2.1.10-115/Asterisk-SME7 i386
« Reply #13 on: March 16, 2006, 02:44:30 PM »
Hi Everyone,

By and large everything is great!
However I'm having a few problems and I've been Googling them for a few days with no luck so here goes:

Setup:
ADSL Router =>
SME7pre4 in Server-Gateway mode (Aquarius) with static IP=>
LAN (192.168.30.0/24) =>
SME7pre4 in Server-Only Mode with Asterisk & SAIL installed (avatar)

PortForwarded UDP4569 from Outside to avatar


Problems:
1) Both SIP & IAX Softphones: (I don't have any hardphones for testing yet :-()
Start a conversation, it starts off fine, Lag is tiny... gradually over the course of a few minutes, the Lag from one side of the conversation increases all the way up to nearly 10Seconds!, and the quality of the audio goes really bad.  I've check and doublechecked all the settings for the devices on the server and on the PC's that are running them but I'm stumped.  What kind of testing / troubleshooting should I be doing?  I wanted to get this going myself, but after nearly a week its still a problem.


2) IAX Client from Off-Network (Coming in over Internet)
IAX Softphone when on the LAN registers with absolutely no problems.
If I try to connect over the internet, the asterisk server just does not respond to the registration packets.
I've been running TCPDump and I can see the UDP4569 Packets hitting the asterisk server, but it doesn't seem to respond at all.
I've tried turing on IAX Debug and running the asterisk CLI at full verbosity but it doesn't seem to react at all to the registration request.

My only theory is that the SME firewall on the asterisk box is dropping the packets, but without a firewall log, how do I check this? (ive searched contribs for 'firewall log' 'denylog' 'dropped packets log' and a few others)


I'm sorry if theres something obvious, but i really have tried... just boot me in the right direction please! :-)
...
Nick

"No good deed goes unpunished." :-x...

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
[Announce]SAIL 2.1.10-115/Asterisk-SME7 i386
« Reply #14 on: March 16, 2006, 04:34:52 PM »
Hello Nick,

Sounds like you've been in the wars!

Quote
gradually over the course of a few minutes, the Lag from one side of the conversation increases all the way up to nearly 10Seconds!,


We've never seen this happen with asterisk, however there are a few posts on the BB's regarding GSM over internet.  Try running your tests with SAIL set to fidelity mode.  On the face of it, it looks like a resource problem somewhere.  We have a few questions....

You say "one side of the conversation", do you mean one particular party is lagging but the other is OK? Please clarify.  Are these lan-to-lan calls or is one party coming in over the internet? If so, what bandwidth do you have and what codec are you using? What is your cpu usage during the lag phase?  How much memory do you have on the box and what cpu speed?

Quote
I've been running TCPDump and I can see the UDP4569 Packets hitting the asterisk server, but it doesn't seem to respond at all.


Have a look at what's happening by running ipchan on the asterisk box.  It will show you the packets that your machine is seeing in realtime.  If you have a traditional router, try removing the server-gateway machine from the scenario and use your router to forward the 4569 packets directly to your server-only machine.   To check whether 4569 is open run either...


netstat -anp | grep 4569

or

lsof -i | grep 4569

These will tell you the port state and the PID of the application that opened it.

Let us know how you get on.

Selintra

Offline NickCritten

  • *
  • 245
  • +0/-0
[Announce]SAIL 2.1.10-115/Asterisk-SME7 i386
« Reply #15 on: March 16, 2006, 04:49:01 PM »
Quote from: "selintra"
Hello Nick,

Sounds like you've been in the wars!

Aye! :-)
Quote from: "selintra"

Quote
gradually over the course of a few minutes, the Lag from one side of the conversation increases all the way up to nearly 10Seconds!,


We've never seen this happen with asterisk, however there are a few posts on the BB's regarding GSM over internet.  Try running your tests with SAIL set to fidelity mode.
Is already set to fidelity mode.
Quote from: "selintra"
 On the face of it, it looks like a resource problem somewhere.  We have a few questions....

You say "one side of the conversation", do you mean one particular party is lagging but the other is OK? Please clarify.  
Correct. One Side is pretty much OK, the other goes Laggy and horrible
Quote from: "selintra"
Are these lan-to-lan calls or is one party coming in over the internet?
LAN-LAN on apretty decent Switch,  One of the Machines is on Wireless and I can check tonight if that is a problem, but I've not had issues with anything in the past..
Quote from: "selintra"
If so, what bandwidth do you have and what codec are you using? What is your cpu usage during the lag phase?  How much memory do you have on the box and what cpu speed?
Asterisk Box is a P4 1.7Ghz 384MiB DDR Machine.. All good quality components (Intel branded Mobo, Branded memory etc.)
According to top, the cpu barely wakes up during the calls.
Quote from: "selintra"


Quote
I've been running TCPDump and I can see the UDP4569 Packets hitting the asterisk server, but it doesn't seem to respond at all.


Have a look at what's happening by running ipchan on the asterisk box.  It will show you the packets that your machine is seeing in realtime.  If you have a traditional router, try removing the server-gateway machine from the scenario and use your router to forward the 4569 packets directly to your server-only machine.   To check whether 4569 is open run either...


netstat -anp | grep 4569

or

lsof -i | grep 4569

These will tell you the port state and the PID of the application that opened it.

Let us know how you get on.

Selintra
[/quote]The router is a traditional No-NAT variety (Not 'standard' ADSL modem/router PAT stuff) and its not blocking anything, but i can set up a psudo-DMZ and connect over an ethernet connection to the outside IF of aquarius to test if it a problem...
I'll try your tests and get back to you this evening.  Thanks for the support guys!
...
Nick

"No good deed goes unpunished." :-x...

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
[Announce]SAIL 2.1.10-115/Asterisk-SME7 i386
« Reply #16 on: March 16, 2006, 06:29:02 PM »
Quote
One of the Machines is on Wireless


Before you do anything else, try it without the radio.

:-)

Selintra

Offline NickCritten

  • *
  • 245
  • +0/-0
[Announce]SAIL 2.1.10-115/Asterisk-SME7 i386
« Reply #17 on: March 16, 2006, 07:24:43 PM »
Quote from: "selintra"
Quote
One of the Machines is on Wireless


Before you do anything else, try it without the radio.

:-)

Selintra

:hammer:
Will do, the only reason I haven't before now is that I've had other VOIP systems (all Cisco stuff) running over the wireless without any problems whatsoever.
...
Nick

"No good deed goes unpunished." :-x...

Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
[Announce]SAIL 2.1.10-115/Asterisk-SME7 i386
« Reply #18 on: March 17, 2006, 02:28:26 PM »
Hi

Has anyone got asterisk conected with SPA3000 I've found a few instructions on the web but none seem to work for me ... the SPA3000 is supposed to work as good if not better than the TDM400 etc as a pstn gatway.

If someone has had any joy please let me know the config :) ... especialy with the sail ver of asterisk ... thats what I'm using.

Regards,

Tib.

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
[Announce]SAIL 2.1.10-115/Asterisk-SME7 i386
« Reply #19 on: March 17, 2006, 10:47:03 PM »
Quote
Has anyone got asterisk conected with SPA3000


Hello Tib,

The spa3k runs fine with asterisk.  We've got code in SAIL 2.1.10 which is supposed to make it easier to set up but we're not that keen on it so we've put a revised version into 2.1.11 which we are much happier with.  If you aren't using SAIL, the spa is still relatively easy to set up (at least as far as asterisk is concerned).  The trick is to treat it as two distinct devices; a trunk and an extension.  Unfortunately, the number of variables in the device is absolutely bewildering if you are unfamiliar with it.  The other problem is that the default mode of the device is quite some distance from that required for asterisk gateway operation.  We will put up a how-to on the www.selintra.com/docs wiki this weekend in preparation for 2.1.11 and this will cover the set-up, with screen shots.  Where we can't help is with disconnect detection for different countries.  This is a complex area and you may need to speak to your telco provider to get it running properly.

Quote
the SPA3000 is supposed to work as good if not better than the TDM400 etc as a pstn gatway


No, it's not as good as a well set-up TDM board, at least in our experience, but it's not bad once you find a set-up that works for you.  However, despite the bewildering array of settings, there are still some things which it just doesn't seem to be capable of, one of which is its apparent inability to detect monotone disconnect tones (as opposed to DTMF), something which many cable based systems give instead of the more traditional polarity reversal or CPC.

We'll put a note up here when the how-to is ready.

Best

Selintra

Offline JonB

  • *
  • 351
  • +0/-0
[Announce]SAIL 2.1.10-115/Asterisk-SME7 i386
« Reply #20 on: March 18, 2006, 12:40:48 AM »
I managed to get my SPA-3000 working (well almost) with SAIL yesterday.

I can get * to answer the incoming PSTN call and forward to the appropriate extension.

Disconnects from the PSTN work fine and drop the call on the extension , however if the VOIP extension terminates the call first the PSTN caller does not get disconnected and eventually gets passed on to the operator extension voicemail.

Almost there tho.

Jon
...

Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
[Announce]SAIL 2.1.10-115/Asterisk-SME7 i386
« Reply #21 on: March 18, 2006, 12:57:46 AM »
Thanks guys,

I'll keep my eyes open for any advancements.

Ohh and this is a great bit of work you guys are doing selintra ... very nice setup .
I found this post yesterday ... it may help someone but I could get things to work with it even though they recon it does.

http://www.geekgazette.com/index.php?option=com_content&task=view&id=28&Itemid=26&limit=1&limitstart=2

Regards,

Tib

i4daniels

[Announce]SAIL 2.1.10-115/Asterisk-SME7 i386
« Reply #22 on: March 19, 2006, 12:08:15 PM »
Hi,

Very, very, very nice contrib to SME7! thanks a million!

Is it possible to switch the behaviour of the Queue so it emits a ring rather than play the MP3 tracks? how would you remove the "Please hold while we connect you?" and just immediately ring the group of phones!

I've used Asterisk for the last three years and know my way round the configs but changes i'll make would probably be wiped out on the next GUI config update.  Could we just edit the files through the GUI?

I'm running this on a ML370 G2 using Aastra 480i VOIP phones and Telipliant (uk) and it runs without error.

Pure class!

Dan Scannell
www.i4tech.co.uk

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
[Announce]SAIL 2.1.10-115/Asterisk-SME7 i386
« Reply #23 on: March 19, 2006, 01:48:06 PM »
Quote
Is it possible to switch the behaviour of the Queue so it emits a ring rather than play the MP3 tracks? how would you remove the "Please hold while we connect you?" and just immediately ring the group of phones!

Hello Dan.  

Short answer is... don't know, I'm the only one in the office today (Sunday) and I didn't write the queuing stuff.  I'll ask the lead developer to drop a line in here tomorrow.

Quote
Could we just edit the files through the GUI?


Er...Not sure we understand, you can directly change just about everything we control;  SIP, IAX, Voicemail, MOH, conference rooms, features, agents & indications can all be modified directly through the GUI.  Simply change, delete or add tuples in the string-editor box.   We will also expose extensions in the 2.1.11 release so you can code your own extensions.conf contexts.  Which particular file(s) did you want to edit and we'll see if we can't help?  In 2.1.11, we've upgraded our text editor which means we can bring the entire /etc/asterisk directory under user-updateable control very easily.  That will probably happen in 2.1.12 and it will just mean the extra entities will show up in the Headers section.

Hope this helps

Selintra

i4daniels

[Announce]SAIL 2.1.10-115/Asterisk-SME7 i386
« Reply #24 on: March 19, 2006, 05:22:28 PM »
Now that's what I call service!

You usually change the option in the extensions.conf file so that it returns a ring rather than play music on hold

From the manual:
Queue -- 'r' — ring instead of playing MOH

So, I would imagine I could edit the extensions.conf file using the server-manager component, add the r switch into my conf file and this would update my /etc/asterisk/ files ?



Dan Scannell
www.i4tech.co.uk

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
[Announce]SAIL 2.1.10-115/Asterisk-SME7 i386
« Reply #25 on: March 20, 2006, 03:47:46 PM »
Quote
So, I would imagine I could edit the extensions.conf file using the server-manager component, add the r switch into my conf file and this would update my /etc/asterisk/ files ?


Hello Dan,

Pretty much, although changing extensions.conf isn't an option because there aren't any dial or queue statements in there.  So... we're putting a little mod into the queues panels in 2.1.11 to expose the options so you can set them yourself.

Hope this helps

Selintra

Offline JonB

  • *
  • 351
  • +0/-0
[Announce]SAIL 2.1.10-115/Asterisk-SME7 i386
« Reply #26 on: March 21, 2006, 06:14:19 AM »
Selintra,

SME7rc1 breaks Zaptel due to the new kernel 2.6.9-34.EL.


Jon
...

Offline hanscees

  • *
  • 267
  • +0/-0
    • nl.linkedin.com/in/hanscees/
[Announce]SAIL 2.1.10-115/Asterisk-SME7 i386
« Reply #27 on: March 21, 2006, 08:19:48 AM »
hi, two things.
- Is there a possibilty someone could make an howto for dummies (or point me to one). I don't know much about.....asterix. What is the fuctionality? Why do I need it?

- If you have performance issues in the howto section for sme7 I have posted  a howto on traffic shaping. I heard it makes your calls better, since it gives packets with specific bits a quicker response. At my site I also have an iptables script you can use that does show dropped packets.

Hans-Cees
nl.linkedin.com/in/hanscees/

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
[Announce]SAIL 2.1.10-115/Asterisk-SME7 i386
« Reply #28 on: March 21, 2006, 09:20:49 AM »
Quote
SME7rc1 breaks Zaptel due to the new kernel 2.6.9-34.EL.


Thanks Jon,

We downloaded RC1 overnight.  We'll recompile zaptel with the new kernel and get a compliant rpm up sometime today.  


Selintra

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
[Announce]SAIL 2.1.10-115/Asterisk-SME7 i386
« Reply #29 on: March 21, 2006, 09:57:44 AM »
Quote
Is there a possibilty someone could make an howto for dummies (or point me to one). I don't know much about.....asterix. What is the fuctionality? Why do I need it?


Hello Hans

There is a very good forum here

www.voip-info.org

You can find everything you need to know about asterisk and VOIP in general on this site.

Quote
- If you have performance issues in the howto section for sme7 I have posted a howto on traffic shaping.


Thanks for this, we'll take a look.  In general, because asterisk uses UDP, which is a bit of a packet "bully", we've found that packet congestion has not been an issue.  However, we do plan to revisit this area.


Kind Regards

Selintra

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
[Announce]SAIL 2.1.10-115/Asterisk-SME7 i386
« Reply #30 on: March 21, 2006, 08:52:49 PM »
Quote
SME7rc1 breaks Zaptel due to the new kernel 2.6.9-34.EL.


Hi

We've just put a 7.0rc1 compliant version of asterisk-SME7 up onto our ftp server.

asterisk-SME7rc1-1.2.3-137.i686.rpm


Kind Regards

Selintra

Offline JonB

  • *
  • 351
  • +0/-0
[Announce]SAIL 2.1.10-115/Asterisk-SME7 i386
« Reply #31 on: March 22, 2006, 12:29:07 AM »
Hi Selintra,

Unfortunately the new build does not work for me.

ztdummy module does not load, mind you on this server I have always had to manually modprobe ztdummy.

In this case

Code: [Select]
[root@heathcliff Asterisk]# modprobe ztdummy
WARNING: /etc/modprobe.conf line 58: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 59: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 60: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 61: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 62: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 63: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 64: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 65: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 66: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 67: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 68: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 69: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 70: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 71: ignoring bad line starting with 'post-install'
FATAL: Module ztdummy not found.


/etc/modprobe.conf has the following

Code: [Select]
post-install tor2 /sbin/ztcfg
post-install torisa /sbin/ztcfg
post-install wcusb /sbin/ztcfg
post-install wcfxo /sbin/ztcfg
post-install wctdm /sbin/ztcfg
post-install wctdm24xxp /sbin/ztcfg
post-install ztdynamic /sbin/ztcfg
post-install ztd-eth /sbin/ztcfg
post-install wct1xxp /sbin/ztcfg
post-install wct4xxp /sbin/ztcfg
post-install wcte11xp /sbin/ztcfg
post-install pciradio /sbin/ztcfg
post-install ztd-loc /sbin/ztcfg
post-install ztdummy /sbin/ztcfg


Editing post-install to install results in the following error when running modprobe ztdummy

Code: [Select]
[root@heathcliff Asterisk]# modprobe ztdummy
Notice: Configuration file is /etc/zaptel.conf
line 0: Unable to open master device '/dev/zap/ctl'

1 error(s) detected

FATAL: Error running install command for ztdummy


Running selsniff produces

Code: [Select]
[root@heathcliff Asterisk]# perl /etc/selintra/selsniff

modprobing for Telephony boards - do a restart if this hangs....

FATAL: Module zaptel not found.
FATAL: Module wctdm not found.
FATAL: Error running install command for wctdm
FATAL: Module wctdm not found.
FATAL: Error running install command for wctdm
Finished Probes...

        No Telephony boards found...

        no boards found - loading ztdummy
FATAL: Module ztdummy not found.
FATAL: Error running install command for ztdummy

Probe ends...

Rebuilding Asterisk configuration....
Done

On-board channel summary follows:-
Notice: Configuration file is /etc/zaptel.conf
line 0: Unable to open master device '/dev/zap/ctl'

1 error(s) detected


Asterisk PBX Board Probe and Configure: complete



Jon
...

Offline psoren

  • *
  • 371
  • +0/-0
[Announce]SAIL 2.1.10-115/Asterisk-SME7 i386
« Reply #32 on: March 22, 2006, 12:31:57 AM »
Quote from: "selintra"
Quote
SME7rc1 breaks Zaptel due to the new kernel 2.6.9-34.EL.


Hi

We've just put a 7.0rc1 compliant version of asterisk-SME7 up onto our ftp server.

asterisk-SME7rc1-1.2.3-137.i686.rpm


Kind Regards

Selintra


Well well, everything was going quite well here until i upgraded my server. So now i can just hope for the i386 version :-)
It looks like these threads are getting mixed between i386 and i686 now.....

Per :-?

Offline JonB

  • *
  • 351
  • +0/-0
[Announce]SAIL 2.1.10-115/Asterisk-SME7 i386
« Reply #33 on: March 22, 2006, 12:39:29 AM »
True, looks like time for a bug tracker.

Jon
...

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
[Announce]SAIL 2.1.10-115/Asterisk-SME7 i386
« Reply #34 on: March 22, 2006, 10:39:53 AM »
Quote
Unfortunately the new build does not work for me.

ztdummy module does not load, mind you on this server I have always had to manually modprobe ztdummy


Hi Jon,

modprobe.conf is corrupt.  Give us a few hours to try and understand why.  In the meantime, if you're in need of asterisk up and running, completely remove it with rpm -e.  Re-install 137 from scratch.  This should cure it.    If you want to have a go at patching modprobe manually (it should work - we've tried it), then do this...

ERRATA - we changed the following at 10:30 Zulu 22nd March (previous version hadn't formatted correctly in the BB).

To fix modprobe.conf....

Open the file and delete everything AFTER the line which reads

alias char-major-196 torisa

Then append

install tor2 /sbin/modprobe --ignore-install tor2 && /sbin/ztcfg
install torisa /sbin/modprobe --ignore-install torisa && /sbin/ztcfg
install wcusb /sbin/modprobe --ignore-install wcusb && /sbin/ztcfg
install wcfxo /sbin/modprobe --ignore-install wcfxo && /sbin/ztcfg
install wctdm /sbin/modprobe --ignore-install wctdm && /sbin/ztcfg
install wctdm24xxp /sbin/modprobe --ignore-install wctdm24xxp && /sbin/ztcfg
install ztdynamic /sbin/modprobe --ignore-install ztdynamic && /sbin/ztcfg
install ztd-eth /sbin/modprobe --ignore-install ztd-eth && /sbin/ztcfg
install wct1xxp /sbin/modprobe --ignore-install wct1xxp && /sbin/ztcfg
install wct4xxp /sbin/modprobe --ignore-install wct4xxp && /sbin/ztcfg
install wcte11xp /sbin/modprobe --ignore-install wcte11xp && /sbin/ztcfg


Save the module and run depmod

depmod

then

modprobe zaptel



CAUTION, if this fails, you will likely have to re-install 7.0 from scratch.

Sorry about this guys, we were caught on the back-foot with the kernel change in rc1.  We will sort this today.  We'll also put up an i386 release for you Per.   In the meantime, we've pulled 137 from ftp until we know what's what.

Offline psoren

  • *
  • 371
  • +0/-0
[Announce]SAIL 2.1.10-115/Asterisk-SME7 i386
« Reply #35 on: March 22, 2006, 11:08:36 AM »
Thanks Selintra,

These Mini-ITX boards are quite popular for small servers, so i'm sure it's not just me who needs the i386 RPM... :lol:

Per

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
[Announce]SAIL 2.1.10-115/Asterisk-SME7 i386
« Reply #36 on: March 22, 2006, 08:05:29 PM »
Quote
Unfortunately the new build does not work for me.

ztdummy module does not load, mind you on this server I have always had to manually modprobe ztdummy


Hi all,

We've just put asterisk-SME7rc1-1.2.3-142.i686.rpm up onto ftp.  There are a few caveats.  Make sure you remove any previous asterisk-SME7 installs  with rpm -e before you install this one (it's fine to leave sail as-is).

Once installed do a modprobe for zaptel.  It may well fail at first attempt. this is due to the fact that udev has to build the device trees and it can take up to 30 or 40 seconds to do so.  You can check they're built by doing ls -l /dev/zap.

Once you see this...

ls -l /dev/zap

crw-rw----  1 root root 196, 254 Mar 22 18:55 channel
crw-rw----  1 root root 196,   0 Mar 22 18:55 ctl
crw-rw----  1 root root 196, 255 Mar 22 18:55 pseudo
crw-rw----  1 root root 196, 253 Mar 22 18:55 timer

then you've cracked it.

Now run etc/selintra/selsniff to set up your tdm boards (if you have any)

Finally start asterisk with /etc/init.d/start asterisk, or just

asterisk  -vvvc

If asterisk fails to come up, check the module load it failed on.  It will probably be chan_zap.  If so, you probably didn't configure your TDM boards.

Kind regards

Selintra

Offline JonB

  • *
  • 351
  • +0/-0
[Announce]SAIL 2.1.10-115/Asterisk-SME7 i386
« Reply #37 on: March 23, 2006, 03:31:47 AM »
Ok, this works on a clean install of SME7rc1.

Tonight I will blow my other server away and rebuild as SME7pre3 and use the yum updates to upgrade to SME7rc1. I will try the new RPM on that and let you know what happens.

Jon
...

Offline JonB

  • *
  • 351
  • +0/-0
[Announce]SAIL 2.1.10-115/Asterisk-SME7 i386
« Reply #38 on: March 24, 2006, 06:37:56 AM »
After re-installing my server multiple times and different configurations and upgrading to RC1 I can say that if you have asterisk-SME7-x.x.x-xxx installed on your server then remove it before upgrading to SME7RC1. If you still have asterisk installed when you upgrade then on reboot the server will hang on starting the asterisk service.

So in a nutshell, before upgrading your server to RC1

uninstall asterisk-SME7
Code: [Select]
rpm -e asterisk-SME7

go ahead and do the upgrade

then install asterisk-SME7rc1-1.2.3-147.i686.rpm
Code: [Select]
rpm -Uvh asterisk-SME7rc1-1.2.3-147.i686.rpm
modprobe zaptel


If you do not have a zaptel card then you may also need to do

Code: [Select]
modprobe ztdummy

When you do lsmod you should see something like

Code: [Select]
ztdummy                 3540  0
wcfxo                  12576  0
wctdm                  34368  0
zaptel                206212  5 ztdummy,wcfxo,wctdm
crc_ccitt               2113  1 zaptel


You will then need to re-create the asterisk config files which is easiest done by going into Extensions, pick any extension and hit CHG, just hit update without making any changes.

restart asterisk
Code: [Select]
service asterisk restart

Jon
...

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
[Announce]SAIL 2.1.10-115/Asterisk-SME7 i386
« Reply #39 on: March 24, 2006, 11:50:31 AM »
Perfect write-up Jon,

We spent all day yesterday installing and un-installing and we have nothing to add to this.  

Asterisk-SME7rc1 is now available on sourceforge.  You can get it at

http://sourceforge.net/projects/asterisk-sme7

Downloads are MUCH faster than from our ftp server :-)

The Sourceforge release is designated 143 and you should safely be able to install it over any previous SME7rc1 release (but not - as Jon points out -  over an SME7 release).  The rc1 designation is the key.  If you have an asterisk-SME7 which is not designated rc1 then you must follow Jon's instructions below.

We'll put all this onto the docs site later today.

Thanks again Jon, it's very much appreciated.


Kind Regards

Selintra

Offline psoren

  • *
  • 371
  • +0/-0
i386?
« Reply #40 on: March 30, 2006, 10:07:20 PM »
Hi Selintra,

I don't hope you gave up on the i386 version, did you?  :-(

Per

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
[Announce]SAIL 2.1.10-115/Asterisk-SME7 i386
« Reply #41 on: March 30, 2006, 10:29:23 PM »
Quote
I don't hope you gave up on the i386 version, did you?


Hello Per

No we haven't given up on it.  However, you have to draw the distinction between SAIL and the asterisk-SME7 rpm.  SAIL will run NOW on i386, or any other chip you care to mention.  It's the Asterisk rpm that's causing the problem.

Right now the i586 7.0 rc1 version is being a pig.   The bottom line is that zaptel (the asterisk tdm driver) doesn't compile properly on the latest Redhat/CentOS kernel.  We're working on it but it may take a few days.

Kind Regards

Selintra

Offline psoren

  • *
  • 371
  • +0/-0
[Announce]SAIL 2.1.10-115/Asterisk-SME7 i386
« Reply #42 on: March 30, 2006, 11:25:50 PM »
Quote from: "selintra"


No we haven't given up on it.  However, you have to draw the distinction between SAIL and the asterisk-SME7 rpm.  SAIL will run NOW on i386, or any other chip you care to mention.  It's the Asterisk rpm that's causing the problem.


Hi Selintra,

I'm happy to hear that, it did look promising and i even got it to register to my VoIP provider, but never managed to recieve calls. Is that due to the port opening?
I understand the difference of the two RPM's and i can certanly wait for a couple of days for the updated i386.

Per