Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] zap not coming online on fedora 8

Goto page 1, 2  Next
 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
stotaro at totarotechn...
Guest





PostPosted: Sun Apr 27, 2008 10:41 am    Post subject: [asterisk-users] zap not coming online on fedora 8 Reply with quote

Bilal,

I do not use the init scripts. I use rc.local to load my drivers and
start asterisk or safe_asterisk.

Thanks,
Steve Totaro

On Sun, Apr 27, 2008 at 8:03 AM, bilal ghayyad <bilmar_gh at yahoo.com> wrote:
Quote:
Hi Steven;

I am working to determine what exactly the problem,
one of the expectation that init script work fine in
the svn version and does not work fine with othe
versions, but the question is:

If I have init script and then I decided to have
another zaptel version, and I compiled, the old init
script stay or will be overwritten?

Any advise?
Regards
Bilal


---------------------


Bilal,

No problem as long as it works, that is the important
thing (but not
what I was going to suggest. It should work from
source.)

What version is in the yum repo? Is it the latest and
greatest?

Thanks,
Steve Totaro

On Sat, Apr 26, 2008 at 2:42 PM, bilal ghayyad
<bilmar_gh at yahoo.com>
wrote:
Quote:
Dear Steve;

It worked Smile

I used yum istead wget and it worked Smile-
Thanks alot.

Regards
Bilal

--- Steve Totaro <stotaro at totarotechnologies.com>
wrote:



Quote:
On Sat, Apr 26, 2008 at 12:55 PM, bilal ghayyad
<bilmar_gh at yahoo.com> wrote:
Quote:
Dear Steve;

Thanks for your kindly reply.

First of all, which kernel u used when u used
fedora
Quote:
core 8?

About me, I used:

wget



http://ftp.digium.com/pub/zaptel/zaptel-1.4-current.tar.gz
Quote:
Quote:
Quote:

and:

wget



http://ftp.digium.com/pub/asterisk/asterisk-1.4-current.tar.gz
Quote:
Quote:
Quote:

Please note that I used "make config" to have
automatic loading when booting, so when
booting I
Quote:
Quote:
get
Quote:
the following:

Starting zaptel loading zaptel farmwork
..............
Quote:
OK
Waiting for zap to come online ------ FAILURE
Error
Quote:
missing /dev/zap

My digium card is TDM401 with 2 fxs and 2 fxo
card.
Quote:

And ofcourse i do not find tone on my fxs.

Is it related to the automatic initialization
script
Quote:
(that will be used when run make config) or to
my
Quote:
Quote:
Quote:
kernel or to what?

Any need to do any kind of modification?

Or I have to use yum instead of wget?

Regards
Bilal


---------


Quote:
Hi All;

Can any one advise if zaptel can work on
fedora 8?
Quote:
I
Quote:
tried zaptel 1.4.10 and asterisk 1.4.19 at
fedora 8
Quote:
,
Quote:
but when booting, it was giving that fail
to
Quote:
Quote:
load
Quote:
zap
Quote:
online.

Any advise for the needed kernel or any
settings to
Quote:
Quote:
let zaptel work fine on fedora 8? Any
specific
Quote:
Quote:
Quote:
Quote:
recommended kernel?


Quote:
Regards
Bilal



It works fine for me. What did you use to
install
Quote:
Asterisk? Yum or
from source?

Thanks,
Steve Totaro

Initially, I just used the standard FC8 install
ISO
Quote:
Quote:
DVD and did a yum
update a day or so ago, so I assume it is running
the latest (although
it seems FC has a new kernel daily...)

What do you see in /var/log/messages related to
the
Quote:
Quote:
card or zaptel?

Thanks,
Steve Totaro



____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Back to top
bilmar_gh at yahoo.com
Guest





PostPosted: Sun Apr 27, 2008 10:55 am    Post subject: [asterisk-users] zap not coming online on fedora 8 Reply with quote

Steve;

U mean the make config?
If that what u mean, so it is what I do.

Regards
--- Steve Totaro <stotaro at totarotechnologies.com>
wrote:

Quote:
Bilal,

I do not use the init scripts. I use rc.local to
load my drivers and
start asterisk or safe_asterisk.

Thanks,
Steve Totaro

On Sun, Apr 27, 2008 at 8:03 AM, bilal ghayyad
<bilmar_gh at yahoo.com> wrote:
Quote:
Hi Steven;

I am working to determine what exactly the
problem,
Quote:
one of the expectation that init script work fine
in
Quote:
the svn version and does not work fine with othe
versions, but the question is:

If I have init script and then I decided to have
another zaptel version, and I compiled, the old
init
Quote:
script stay or will be overwritten?

Any advise?
Regards
Bilal


---------------------


Bilal,

No problem as long as it works, that is the
important
Quote:
thing (but not
what I was going to suggest. It should work from
source.)

What version is in the yum repo? Is it the
latest and
Quote:
greatest?

Thanks,
Steve Totaro

On Sat, Apr 26, 2008 at 2:42 PM, bilal ghayyad
<bilmar_gh at yahoo.com>
wrote:
Quote:
Dear Steve;

It worked Smile

I used yum istead wget and it worked Smile-
Thanks alot.

Regards
Bilal

--- Steve Totaro
<stotaro at totarotechnologies.com>
Quote:
Quote:
wrote:



Quote:
On Sat, Apr 26, 2008 at 12:55 PM, bilal
ghayyad
Quote:
Quote:
Quote:
<bilmar_gh at yahoo.com> wrote:
Quote:
Dear Steve;

Thanks for your kindly reply.

First of all, which kernel u used when u
used
Quote:
Quote:
Quote:
fedora
Quote:
core 8?

About me, I used:

wget





http://ftp.digium.com/pub/zaptel/zaptel-1.4-current.tar.gz
Quote:
Quote:
Quote:
Quote:
Quote:

and:

wget





http://ftp.digium.com/pub/asterisk/asterisk-1.4-current.tar.gz
Quote:
Quote:
Quote:
Quote:
Quote:

Please note that I used "make config" to
have
Quote:
Quote:
Quote:
Quote:
automatic loading when booting, so when
booting I
Quote:
Quote:
get
Quote:
the following:

Starting zaptel loading zaptel farmwork
..............
Quote:
OK
Waiting for zap to come online ------
FAILURE
Quote:
Quote:
Quote:
Error
Quote:
missing /dev/zap

My digium card is TDM401 with 2 fxs and 2
fxo
Quote:
Quote:
Quote:
card.
Quote:

And ofcourse i do not find tone on my
fxs.
Quote:
Quote:
Quote:
Quote:

Is it related to the automatic
initialization
Quote:
Quote:
Quote:
script
Quote:
(that will be used when run make config)
or to
Quote:
my
Quote:
Quote:
Quote:
kernel or to what?

Any need to do any kind of modification?

Or I have to use yum instead of wget?

Regards
Bilal


---------


Quote:
Hi All;

Can any one advise if zaptel can work
on
Quote:
Quote:
Quote:
fedora 8?
Quote:
I
Quote:
tried zaptel 1.4.10 and asterisk
1.4.19 at
Quote:
Quote:
Quote:
fedora 8
Quote:
,
Quote:
but when booting, it was giving that
fail
Quote:
to
Quote:
Quote:
load
Quote:
zap
Quote:
online.

Any advise for the needed kernel or
any
Quote:
Quote:
Quote:
settings to
Quote:
Quote:
let zaptel work fine on fedora 8? Any
specific
Quote:
Quote:
Quote:
Quote:
recommended kernel?


Quote:
Regards
Bilal



It works fine for me. What did you use
to
Quote:
Quote:
Quote:
install
Quote:
Asterisk? Yum or
from source?

Thanks,
Steve Totaro

Initially, I just used the standard FC8
install
Quote:
ISO
Quote:
Quote:
DVD and did a yum
update a day or so ago, so I assume it is
running
Quote:
Quote:
Quote:
the latest (although
it seems FC has a new kernel daily...)

What do you see in /var/log/messages related
to
Quote:
the
Quote:
Quote:
card or zaptel?

Thanks,
Steve Totaro





____________________________________________________________________________________
Quote:
Quote:
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.

http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
=== message truncated ===

____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Back to top
bilmar_gh at yahoo.com
Guest





PostPosted: Mon Apr 28, 2008 5:08 am    Post subject: [asterisk-users] zap not coming online on fedora 8 Reply with quote

Hi Steve;

The problem related to version zaptel 1.4.10.

I just discover that it might be related to init
script because every thing running on the same machine
if I used svn to get the source and compile it, but
ofcourse I will not get the zaptel 1.4.10 version
using svn (maybe it depends on the commands I used to
get it).

Now, if after that, I get zaptel 1.4.10 and compiled
it, then the driver will be loaded also fine when
machine booted and no error will appear while booting.

This is maybe because the init script was fine with
the version I downloadedusing svn (which is not
1.4.10), and it look like the init script that coming
with 1.4.10 is not good or maybe for my environment is
not good.

The idea that, existed init script will not be
overwrite with new init script, or maybe new versions
missing to do something that old vesions do it .. I am
not able to know.

About the using for the /etc/rc.local: this is new for
me, so for that I would like to know that based on
what u decided to add the below? How I can do it for
each card and so on? From where I can get data on how
to do it? Also, why u used rc.local?

Last thing: Any advise about the reason the init.d is
failing sometimes, and if it is related to
safe_asterisk or to something else?

Regards
Bilal

-------------------------
Bilal,

I do not use "make config".

I manually enter whatever startup sequence is required
to load drivers
and start asterisk in /etc/rc.local. Below is an
example of an
rc.local for a machine running a with a quad port BRI
card, and a quad
port analog Sangoma card (4FXO). I am not sure if
what I do is
considered "best practice" but it works for me and I
know just where
to look if there are issues. Maybe someone else can
chime in if there
are any reasons why "make config" is superior to my
method.

/etc/rc.local
#!/bin/sh
#
# This script will be executed *after* all the other
init scripts.
# You can put your own initialization stuff in here if
you don't
# want to do the full Sys V style init stuff.

exec 2>>/tmp/boot.log
exec >&2
echo "================= starting to boot: `date`
================="
set -x

touch /var/lock/subsys/local
/sbin/modprobe qozap
/usr/sbin/wanrouter start
/sbin/ztcfg -vv
/usr/sbin/fxotune -s
/usr/sbin/safe_asterisk

Thanks,
Steve Totaro

On Sun, Apr 27, 2008 at 11:55 AM, bilal ghayyad
<bilmar_gh at yahoo.com>
wrote:
Quote:
Steve;

U mean the make config?
If that what u mean, so it is what I do.

Regards


--- Steve Totaro <stotaro at totarotechnologies.com>
wrote:

Quote:
Bilal,

I do not use the init scripts. I use rc.local to
load my drivers and
start asterisk or safe_asterisk.

Thanks,
Steve Totaro

On Sun, Apr 27, 2008 at 8:03 AM, bilal ghayyad
<bilmar_gh at yahoo.com> wrote:
Quote:
Hi Steven;

I am working to determine what exactly the
problem,
Quote:
one of the expectation that init script work
fine
Quote:
Quote:
in
Quote:
the svn version and does not work fine with
othe
Quote:
Quote:
Quote:
versions, but the question is:

If I have init script and then I decided to
have
Quote:
Quote:
Quote:
another zaptel version, and I compiled, the
old
Quote:
Quote:
init
Quote:
script stay or will be overwritten?

Any advise?
Regards
Bilal


---------------------


Bilal,

No problem as long as it works, that is the
important
Quote:
thing (but not
what I was going to suggest. It should work
from
Quote:
Quote:
Quote:
source.)

What version is in the yum repo? Is it the
latest and
Quote:
greatest?

Thanks,
Steve Totaro

On Sat, Apr 26, 2008 at 2:42 PM, bilal ghayyad
<bilmar_gh at yahoo.com>
wrote:
Quote:
Dear Steve;

It worked Smile

I used yum istead wget and it worked Smile-
Thanks alot.

Regards
Bilal

--- Steve Totaro
<stotaro at totarotechnologies.com>
Quote:
Quote:
wrote:



Quote:
On Sat, Apr 26, 2008 at 12:55 PM, bilal
ghayyad
Quote:
Quote:
Quote:
<bilmar_gh at yahoo.com> wrote:
Quote:
Dear Steve;

Thanks for your kindly reply.

First of all, which kernel u used when
u
Quote:
Quote:
used
Quote:
Quote:
Quote:
fedora
Quote:
core 8?

About me, I used:

wget






http://ftp.digium.com/pub/zaptel/zaptel-1.4-current.tar.gz
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:

and:

wget






http://ftp.digium.com/pub/asterisk/asterisk-1.4-current.tar.gz
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:

Please note that I used "make config"
to
Quote:
Quote:
have
Quote:
Quote:
Quote:
Quote:
automatic loading when booting, so
when
Quote:
Quote:
Quote:
booting I
Quote:
Quote:
get
Quote:
the following:

Starting zaptel loading zaptel
farmwork
Quote:
Quote:
Quote:
Quote:
Quote:
..............
Quote:
OK
Waiting for zap to come online ------
FAILURE
Quote:
Quote:
Quote:
Error
Quote:
missing /dev/zap

My digium card is TDM401 with 2 fxs
and 2
Quote:
Quote:
fxo
Quote:
Quote:
Quote:
card.
Quote:

And ofcourse i do not find tone on my
fxs.
Quote:
Quote:
Quote:
Quote:

Is it related to the automatic
initialization
Quote:
Quote:
Quote:
script
Quote:
(that will be used when run make
config)
Quote:
Quote:
or to
Quote:
my
Quote:
Quote:
Quote:
kernel or to what?

Any need to do any kind of
modification?
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:

Or I have to use yum instead of wget?

Regards
Bilal


---------


Quote:
Hi All;

Can any one advise if zaptel can
work
Quote:
Quote:
on
Quote:
Quote:
Quote:
fedora 8?
Quote:
I
Quote:
tried zaptel 1.4.10 and asterisk
1.4.19 at
Quote:
Quote:
Quote:
fedora 8
Quote:
,
Quote:
but when booting, it was giving
that
Quote:
Quote:
fail
Quote:
to
Quote:
Quote:
load
Quote:
zap
Quote:
online.

Any advise for the needed kernel or
any
Quote:
Quote:
Quote:
settings to
Quote:
Quote:
let zaptel work fine on fedora 8?
Any
Quote:
Quote:
Quote:
specific
Quote:
Quote:
Quote:
Quote:
recommended kernel?


Quote:
Regards
Bilal



It works fine for me. What did you
use
Quote:
Quote:
to
Quote:
Quote:
Quote:
install
Quote:
Asterisk? Yum or
from source?

Thanks,
Steve Totaro

Initially, I just used the standard FC8
install
Quote:
ISO
Quote:
Quote:
DVD and did a yum
update a day or so ago, so I assume it is
running
Quote:
Quote:
Quote:
the latest (although
it seems FC has a new kernel daily...)

What do you see in /var/log/messages
related
Quote:
Quote:
to
Quote:
the
Quote:
Quote:
card or zaptel?

Thanks,
Steve Totaro






____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Back to top
stotaro at totarotechn...
Guest





PostPosted: Mon Apr 28, 2008 7:14 am    Post subject: [asterisk-users] zap not coming online on fedora 8 Reply with quote

Bilal,

I cannot comment on the init scripts because I don't use them.

Since nobody chimed in that using rc.local was not optimal, I suspect
it is perfectly acceptable and has worked for me just fine on MANY
installs. Finally, instead of having to do some fishing in
/var/log/asterisk and /var/log/messages, the error (if any) is usually
right near the end of the log file making it easier to find.

Also, if you are using qozap, wanrouter, ztdummy (insert card here) it
makes a difference in what order the drivers are loaded and it seems
very clear to me that using rc.local makes it simple.

I got into Asterisk six years ago or so, I do not believe "make
config" was an option back then and if it was, I like to load
everything myself. I also like the fact that rc.local runs after all
the other init scripts.

Safe_asterisk should not be an issue, it should just restart asterisk
if it crashes, apologies if I gave you the wrong idea. The only
problem with safe_asterisk is that it keeps scrolling along if
Asterisk fails to load. I guess you could kill it in top.

Hope that makes things a little more clear. My example in this thread
should give you an idea of how easy and clear it is.

Thanks,
Steve Totaro

On Mon, Apr 28, 2008 at 6:08 AM, bilal ghayyad <bilmar_gh at yahoo.com> wrote:
Quote:
Hi Steve;

The problem related to version zaptel 1.4.10.

I just discover that it might be related to init
script because every thing running on the same machine
if I used svn to get the source and compile it, but
ofcourse I will not get the zaptel 1.4.10 version
using svn (maybe it depends on the commands I used to
get it).

Now, if after that, I get zaptel 1.4.10 and compiled
it, then the driver will be loaded also fine when
machine booted and no error will appear while booting.

This is maybe because the init script was fine with
the version I downloadedusing svn (which is not
1.4.10), and it look like the init script that coming
with 1.4.10 is not good or maybe for my environment is
not good.

The idea that, existed init script will not be
overwrite with new init script, or maybe new versions
missing to do something that old vesions do it .. I am
not able to know.

About the using for the /etc/rc.local: this is new for
me, so for that I would like to know that based on
what u decided to add the below? How I can do it for
each card and so on? From where I can get data on how
to do it? Also, why u used rc.local?

Last thing: Any advise about the reason the init.d is
failing sometimes, and if it is related to
safe_asterisk or to something else?

Regards
Bilal

-------------------------


Bilal,

I do not use "make config".

I manually enter whatever startup sequence is required
to load drivers
and start asterisk in /etc/rc.local. Below is an
example of an
rc.local for a machine running a with a quad port BRI
card, and a quad
port analog Sangoma card (4FXO). I am not sure if
what I do is
considered "best practice" but it works for me and I
know just where
to look if there are issues. Maybe someone else can
chime in if there
are any reasons why "make config" is superior to my
method.

/etc/rc.local
#!/bin/sh
#
# This script will be executed *after* all the other
init scripts.
# You can put your own initialization stuff in here if
you don't
# want to do the full Sys V style init stuff.

exec 2>>/tmp/boot.log
exec >&2
echo "================= starting to boot: `date`
================="
set -x

touch /var/lock/subsys/local
/sbin/modprobe qozap
/usr/sbin/wanrouter start
/sbin/ztcfg -vv
/usr/sbin/fxotune -s
/usr/sbin/safe_asterisk

Thanks,
Steve Totaro

On Sun, Apr 27, 2008 at 11:55 AM, bilal ghayyad
<bilmar_gh at yahoo.com>
wrote:
Quote:
Steve;

U mean the make config?
If that what u mean, so it is what I do.

Regards


--- Steve Totaro <stotaro at totarotechnologies.com>
wrote:

Quote:
Bilal,

I do not use the init scripts. I use rc.local to
load my drivers and
start asterisk or safe_asterisk.

Thanks,
Steve Totaro

On Sun, Apr 27, 2008 at 8:03 AM, bilal ghayyad
<bilmar_gh at yahoo.com> wrote:
Quote:
Hi Steven;

I am working to determine what exactly the
problem,
Quote:
one of the expectation that init script work
fine
Quote:
Quote:
in
Quote:
the svn version and does not work fine with
othe
Quote:
Quote:
Quote:
versions, but the question is:

If I have init script and then I decided to
have
Quote:
Quote:
Quote:
another zaptel version, and I compiled, the
old
Quote:
Quote:
init
Quote:
script stay or will be overwritten?

Any advise?
Regards
Bilal


---------------------


Bilal,

No problem as long as it works, that is the
important
Quote:
thing (but not
what I was going to suggest. It should work
from
Quote:
Quote:
Quote:
source.)

What version is in the yum repo? Is it the
latest and
Quote:
greatest?

Thanks,
Steve Totaro

On Sat, Apr 26, 2008 at 2:42 PM, bilal ghayyad
<bilmar_gh at yahoo.com>
wrote:
Quote:
Dear Steve;

It worked Smile

I used yum istead wget and it worked Smile-
Thanks alot.

Regards
Bilal

--- Steve Totaro
<stotaro at totarotechnologies.com>
Quote:
Quote:
wrote:



Quote:
On Sat, Apr 26, 2008 at 12:55 PM, bilal
ghayyad
Quote:
Quote:
Quote:
<bilmar_gh at yahoo.com> wrote:
Quote:
Dear Steve;

Thanks for your kindly reply.

First of all, which kernel u used when
u
Quote:
Quote:
used
Quote:
Quote:
Quote:
fedora
Quote:
core 8?

About me, I used:

wget






http://ftp.digium.com/pub/zaptel/zaptel-1.4-current.tar.gz
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:

and:

wget






http://ftp.digium.com/pub/asterisk/asterisk-1.4-current.tar.gz
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:

Please note that I used "make config"
to
Quote:
Quote:
have
Quote:
Quote:
Quote:
Quote:
automatic loading when booting, so
when
Quote:
Quote:
Quote:
booting I
Quote:
Quote:
get
Quote:
the following:

Starting zaptel loading zaptel
farmwork
Quote:
Quote:
Quote:
Quote:
Quote:
..............
Quote:
OK
Waiting for zap to come online ------
FAILURE
Quote:
Quote:
Quote:
Error
Quote:
missing /dev/zap

My digium card is TDM401 with 2 fxs
and 2
Quote:
Quote:
fxo
Quote:
Quote:
Quote:
card.
Quote:

And ofcourse i do not find tone on my
fxs.
Quote:
Quote:
Quote:
Quote:

Is it related to the automatic
initialization
Quote:
Quote:
Quote:
script
Quote:
(that will be used when run make
config)
Quote:
Quote:
or to
Quote:
my


Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
kernel or to what?

Any need to do any kind of
modification?
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:

Or I have to use yum instead of wget?

Regards
Bilal


---------


Quote:
Hi All;

Can any one advise if zaptel can
work
Quote:
Quote:
on
Quote:
Quote:
Quote:
fedora 8?
Quote:
I
Quote:
tried zaptel 1.4.10 and asterisk
1.4.19 at
Quote:
Quote:
Quote:
fedora 8
Quote:
,
Quote:
but when booting, it was giving
that
Quote:
Quote:
fail
Quote:
to
Quote:
Quote:
load
Quote:
zap
Quote:
online.

Any advise for the needed kernel or
any
Quote:
Quote:
Quote:
settings to
Quote:
Quote:
let zaptel work fine on fedora 8?
Any
Quote:
Quote:
Quote:
specific
Quote:
Quote:
Quote:
Quote:
recommended kernel?


Quote:
Regards
Bilal



It works fine for me. What did you
use
Quote:
Quote:
to
Quote:
Quote:
Quote:
install
Quote:
Asterisk? Yum or
from source?

Thanks,
Steve Totaro

Initially, I just used the standard FC8
install
Quote:
ISO
Quote:
Quote:
DVD and did a yum
update a day or so ago, so I assume it is
running
Quote:
Quote:
Quote:
the latest (although
it seems FC has a new kernel daily...)

What do you see in /var/log/messages
related
Quote:
Quote:
to
Quote:
the
Quote:
Quote:
card or zaptel?

Thanks,
Steve Totaro








____________________________________________________________________________________


Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Back to top
philipp.kempgen at amo...
Guest





PostPosted: Mon Apr 28, 2008 8:07 am    Post subject: [asterisk-users] zap not coming online on fedora 8 Reply with quote

Steve Totaro schrieb:

Quote:
I cannot comment on the init scripts because I don't use them.

Since nobody chimed in that using rc.local was not optimal, I suspect
it is perfectly acceptable and has worked for me just fine on MANY
installs.

Tzafrir said rc.local wasn't optimal and that's right.
Starting/stopping services - that's what init scripts are meant for.

Quote:
I also like the fact that rc.local runs after all
the other init scripts.

What about S99 if you prefer to start asterisk after everything
else?

On the other hand, nothing's _really_ wrong with rc.local, apart
from what Tzafrir explained.

Regards,
Philipp Kempgen

--
amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de
Let's use IT to solve problems and not to create new ones.
Asterisk? -> http://www.das-asterisk-buch.de

Gesch?ftsf?hrer: Stefan Wintermeyer
Handelsregister: Neuwied B 14998
Back to top
tzafrir.cohen at xorco...
Guest





PostPosted: Mon Apr 28, 2008 8:20 am    Post subject: [asterisk-users] zap not coming online on fedora 8 Reply with quote

On Mon, Apr 28, 2008 at 03:07:46PM +0200, Philipp Kempgen wrote:

Quote:
On the other hand, nothing's _really_ wrong with rc.local, apart
from what Tzafrir explained.

It can be bad if it actually hides the real problem.

I asked the OP twice for some additional information, and got no reply
so far.

--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
Back to top
stotaro at totarotechn...
Guest





PostPosted: Mon Apr 28, 2008 8:22 am    Post subject: [asterisk-users] zap not coming online on fedora 8 Reply with quote

On Mon, Apr 28, 2008 at 9:07 AM, Philipp Kempgen
<philipp.kempgen at amooma.de> wrote:
Quote:
Steve Totaro schrieb:


Quote:
I cannot comment on the init scripts because I don't use them.

Since nobody chimed in that using rc.local was not optimal, I suspect
it is perfectly acceptable and has worked for me just fine on MANY
installs.

Tzafrir said rc.local wasn't optimal and that's right.
Starting/stopping services - that's what init scripts are meant for.


Quote:
I also like the fact that rc.local runs after all
the other init scripts.

What about S99 if you prefer to start asterisk after everything
else?

On the other hand, nothing's _really_ wrong with rc.local, apart
from what Tzafrir explained.

Regards,
Philipp Kempgen

--
amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de
Let's use IT to solve problems and not to create new ones.
Asterisk? -> http://www.das-asterisk-buch.de

Gesch?ftsf?hrer: Stefan Wintermeyer
Handelsregister: Neuwied B 14998


Ah, I missed Tzafrir's post. I just use "stop when convenient" or
"stop now" from the CLI, and sometimes just control-c, habit I guess.
Wanrouter stop/start works just fine.

Thanks,
Steve Totaro
Back to top
philipp.kempgen at amo...
Guest





PostPosted: Mon Apr 28, 2008 8:26 am    Post subject: [asterisk-users] zap not coming online on fedora 8 Reply with quote

Philipp Kempgen schrieb:
Quote:
Steve Totaro schrieb:

Quote:
I cannot comment on the init scripts because I don't use them.

Since nobody chimed in that using rc.local was not optimal, I suspect
it is perfectly acceptable and has worked for me just fine on MANY
installs.

Tzafrir said rc.local wasn't optimal and that's right.
Starting/stopping services - that's what init scripts are meant for.

I might add that sooner or later dependencies between init.d
scripts will be honored (Debian Lenny, not sure about Fedora)
so services which do not depend on each other can be started
in parallel. That's not possible with rc.local.

And I like modular things. Smile

Regards,
Philipp Kempgen

--
amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de
Let's use IT to solve problems and not to create new ones.
Asterisk? -> http://www.das-asterisk-buch.de

Gesch?ftsf?hrer: Stefan Wintermeyer
Handelsregister: Neuwied B 14998
Back to top
stotaro at totarotechn...
Guest





PostPosted: Mon Apr 28, 2008 8:30 am    Post subject: [asterisk-users] zap not coming online on fedora 8 Reply with quote

On Mon, Apr 28, 2008 at 9:20 AM, Tzafrir Cohen <tzafrir.cohen at xorcom.com> wrote:
Quote:
On Mon, Apr 28, 2008 at 03:07:46PM +0200, Philipp Kempgen wrote:

Quote:
On the other hand, nothing's _really_ wrong with rc.local, apart
from what Tzafrir explained.

It can be bad if it actually hides the real problem.

I asked the OP twice for some additional information, and got no reply
so far.


--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir


Tzafrir,

He has been asking me questions directly, off-list so I have been
CCing the list because my advice is often far from the best "solution"
in many cases.

Just curious, how can it "hide the real problem"?

Thanks,
Steve Totaro
Back to top
tzafrir.cohen at xorco...
Guest





PostPosted: Mon Apr 28, 2008 9:31 am    Post subject: [asterisk-users] zap not coming online on fedora 8 Reply with quote

On Mon, Apr 28, 2008 at 09:30:18AM -0400, Steve Totaro wrote:
Quote:
On Mon, Apr 28, 2008 at 9:20 AM, Tzafrir Cohen <tzafrir.cohen at xorcom.com> wrote:
Quote:
On Mon, Apr 28, 2008 at 03:07:46PM +0200, Philipp Kempgen wrote:

Quote:
On the other hand, nothing's _really_ wrong with rc.local, apart
from what Tzafrir explained.

It can be bad if it actually hides the real problem.

I asked the OP twice for some additional information, and got no reply
so far.

Specifically, I suspect:
http://svn.digium.com/view/zaptel?view=rev&revision=4167

--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
Back to top
stotaro at totarotechn...
Guest





PostPosted: Mon Apr 28, 2008 9:58 am    Post subject: [asterisk-users] zap not coming online on fedora 8 Reply with quote

On Mon, Apr 28, 2008 at 10:31 AM, Tzafrir Cohen
<tzafrir.cohen at xorcom.com> wrote:
Quote:
On Mon, Apr 28, 2008 at 09:30:18AM -0400, Steve Totaro wrote:
Quote:
On Mon, Apr 28, 2008 at 9:20 AM, Tzafrir Cohen <tzafrir.cohen at xorcom.com> wrote:
Quote:
On Mon, Apr 28, 2008 at 03:07:46PM +0200, Philipp Kempgen wrote:

Quote:
On the other hand, nothing's _really_ wrong with rc.local, apart
from what Tzafrir explained.

It can be bad if it actually hides the real problem.

I asked the OP twice for some additional information, and got no reply
so far.

Specifically, I suspect:
http://svn.digium.com/view/zaptel?view=rev&revision=4167

--

Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir


Bilal,

Hence the reason I kept CCing your off-list emails back to the list.
Guys like Tzafrir are aces.

Thanks,
Steve Totaro
Back to top
tzafrir.cohen at xorco...
Guest





PostPosted: Mon Apr 28, 2008 11:48 am    Post subject: [asterisk-users] zap not coming online on fedora 8 Reply with quote

On Mon, Apr 28, 2008 at 10:58:14AM -0400, Steve Totaro wrote:

Quote:
Hence the reason I kept CCing your off-list emails back to the list.
Guys like Tzafrir are aces.

(Just a reminder that if this is indeed the case then this is a bug
inflicted by me and fixed later by sruffell. Makes me feel like the
glassmaker sending the kid to break the window)

--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
Back to top
stotaro at totarotechn...
Guest





PostPosted: Mon Apr 28, 2008 2:03 pm    Post subject: [asterisk-users] zap not coming online on fedora 8 Reply with quote

On Mon, Apr 28, 2008 at 12:48 PM, Tzafrir Cohen
<tzafrir.cohen at xorcom.com> wrote:
Quote:
Makes me feel like the
glassmaker sending the kid to break the window)

--

Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir

That would certainly bring the glassmaker more business Wink

Thanks,
Steve Totaro
Back to top
bilmar_gh at yahoo.com
Guest





PostPosted: Tue Apr 29, 2008 3:15 am    Post subject: [asterisk-users] zap not coming online on fedora 8 Reply with quote

Hi All;

So what should I do now to remove that bug? Any
advise?

Regards
Bilal
-----------------------
Quote:
Hence the reason I kept CCing your off-list emails
back to the list.
Quote:
Guys like Tzafrir are aces.

(Just a reminder that if this is indeed the case then
this is a bug
inflicted by me and fixed later by sruffell. Makes me
feel like the
glassmaker sending the kid to break the window)

--
Tzafrir Cohen
icq#16849755
jabber:tzafrir.cohen at xorcom.com
+972-50-7952406
mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com
iax:guest at local.xorcom.com/tzafrir



____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Back to top
stotaro at totarotechn...
Guest





PostPosted: Thu May 01, 2008 8:03 am    Post subject: [asterisk-users] zap not coming online on fedora 8 Reply with quote

On Thu, May 1, 2008 at 8:42 AM, bilal ghayyad <bilmar_gh at yahoo.com> wrote:
Quote:
Dear Steve;

My rc.local file as below, actually I have one digium
card with 2 fxs and 2 fxo ports. Based on ur rc.local,
I was not able which lines I have to add it (as I am
using different card "2fxs+2fxo"). Any reference can
help?

For example, what does it mean to use "/sbin/modprobe
qozap" and why u used next to it "/usr/sbin/wanrouter
start" and what that wanrouter.

Any help?
Please look for my current rc.local file.



Bilal,

qozap is the driver for the BRI card and wanrouter is for the Sangoma
card. Your's will be a bit different since you are not using either.
The one below should work for you I would think.

touch /var/lock/subsys/local
/sbin/modprobe wctdm
/sbin/ztcfg -vv
/usr/sbin/fxotune -s
/usr/sbin/safe_asterisk

Thanks,
Steve Totaro
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services