[Asterisk-Users] Standalone S100U: Is there some trick?
Tilghman Lesher
tilghman at mail.jeffandtilghman.com
Sat Mar 22 15:59:10 MST 2003
On Saturday 22 March 2003 15:26, Brian Capouch wrote:
> Tilghman Lesher wrote:>
>
> >>Is there a trick to this?
> >
> > Channels are unique to the host machine. So, on your second
> > machine, you should have 'fxoks=1'. It's erroring out
> > because it has a channel 1, but no channel 2.
> >
> > Of course, you'll also need to set up iax.conf such that the
> > two machines see each other, and set up extensions.conf such
> > that when you communicate with the other machine, you Dial
> > the IAX resource.
>
> OK, now I have that much going. I can use the S100U to make
> calls to my other server.
>
> Now there is a new twist. The quality is horrible, and I
> notice when I run top that the asterisk process is eating up
> >96% of the CPU. It pegs right as I start it and stays that
> way without any sort of letup.
>
> On the other machine, asterisk when idle doesn't even show up
> on the first screen of top's processes.
>
> How could I figure out what asterisk could be doing with the
> CPU? The second machine is a laptop not a desktop, but the
> processors are comparable and this same laptop has been in
> long service w/o any hardware problems, including quite a few
> USB-based things.
>
> Not sure how I can look "inside" to see what asterisk could be
> doing. .
What all extra are you running on the laptop? For example, are
you running the FrameBuffer console or X? Either of these might
take up enough interrupts to cause the bad sound quality.
In terms of CPU usage, what is the load average on the system?
I'd worry less about total CPU usage on laptops, as some of the
more recent systems put the CPU in low power mode when there
isn't much load to save battery life (thus CPU percentage is
higher per process).
-Tilghman
More information about the asterisk-users
mailing list