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:> 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: > > Dear Steve; > > > > It worked :) > > > > I used yum istead wget and it worked :)- > > Thanks alot. > > > > Regards > > Bilal > > > > --- Steve Totaro <stotaro at totarotechnologies.com> > > wrote: > > > > > > > > > On Sat, Apr 26, 2008 at 12:55 PM, bilal ghayyad > > > <bilmar_gh at yahoo.com> wrote: > > > > Dear Steve; > > > > > > > > Thanks for your kindly reply. > > > > > > > > First of all, which kernel u used when u used > > > fedora > > > > core 8? > > > > > > > > About me, I used: > > > > > > > > wget > > > > > > > > > > http://ftp.digium.com/pub/zaptel/zaptel-1.4-current.tar.gz > > > > > > > > and: > > > > > > > > wget > > > > > > > > > > http://ftp.digium.com/pub/asterisk/asterisk-1.4-current.tar.gz > > > > > > > > Please note that I used "make config" to have > > > > automatic loading when booting, so when > booting I > > > get > > > > the following: > > > > > > > > Starting zaptel loading zaptel farmwork > > > .............. > > > > OK > > > > Waiting for zap to come online ------ FAILURE > > > Error > > > > missing /dev/zap > > > > > > > > My digium card is TDM401 with 2 fxs and 2 fxo > > > card. > > > > > > > > And ofcourse i do not find tone on my fxs. > > > > > > > > Is it related to the automatic initialization > > > script > > > > (that will be used when run make config) or to > my > > > > kernel or to what? > > > > > > > > Any need to do any kind of modification? > > > > > > > > Or I have to use yum instead of wget? > > > > > > > > Regards > > > > Bilal > > > > > > > > > > > > --------- > > > > > > > > > > > > > Hi All; > > > > > > > > > > Can any one advise if zaptel can work on > > > fedora 8? > > > > I > > > > > tried zaptel 1.4.10 and asterisk 1.4.19 at > > > fedora 8 > > > > , > > > > > but when booting, it was giving that fail > to > > > load > > > > zap > > > > > online. > > > > > > > > > > Any advise for the needed kernel or any > > > settings to > > > > > let zaptel work fine on fedora 8? Any > specific > > > > > recommended kernel? > > > > > > > > > > > > > > Regards > > > > > Bilal > > > > > > > > > > > > > > > > > > It works fine for me. What did you use to > > > install > > > > Asterisk? Yum or > > > > from source? > > > > > > > > Thanks, > > > > Steve Totaro > > > > > > Initially, I just used the standard FC8 install > ISO > > > 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 > > > 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 >
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:> 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: > > 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: > > > Dear Steve; > > > > > > It worked :) > > > > > > I used yum istead wget and it worked :)- > > > Thanks alot. > > > > > > Regards > > > Bilal > > > > > > --- Steve Totaro > <stotaro at totarotechnologies.com> > > > wrote: > > > > > > > > > > > > > On Sat, Apr 26, 2008 at 12:55 PM, bilal > ghayyad > > > > <bilmar_gh at yahoo.com> wrote: > > > > > Dear Steve; > > > > > > > > > > Thanks for your kindly reply. > > > > > > > > > > First of all, which kernel u used when u > used > > > > fedora > > > > > core 8? > > > > > > > > > > About me, I used: > > > > > > > > > > wget > > > > > > > > > > > > > > >http://ftp.digium.com/pub/zaptel/zaptel-1.4-current.tar.gz> > > > > > > > > > and: > > > > > > > > > > wget > > > > > > > > > > > > > > >http://ftp.digium.com/pub/asterisk/asterisk-1.4-current.tar.gz> > > > > > > > > > Please note that I used "make config" to > have > > > > > automatic loading when booting, so when > > booting I > > > > get > > > > > the following: > > > > > > > > > > Starting zaptel loading zaptel farmwork > > > > .............. > > > > > OK > > > > > Waiting for zap to come online ------ > FAILURE > > > > Error > > > > > missing /dev/zap > > > > > > > > > > My digium card is TDM401 with 2 fxs and 2 > fxo > > > > card. > > > > > > > > > > And ofcourse i do not find tone on my > fxs. > > > > > > > > > > Is it related to the automatic > initialization > > > > script > > > > > (that will be used when run make config) > or to > > my > > > > > kernel or to what? > > > > > > > > > > Any need to do any kind of modification? > > > > > > > > > > Or I have to use yum instead of wget? > > > > > > > > > > Regards > > > > > Bilal > > > > > > > > > > > > > > > --------- > > > > > > > > > > > > > > > > Hi All; > > > > > > > > > > > > Can any one advise if zaptel can work > on > > > > fedora 8? > > > > > I > > > > > > tried zaptel 1.4.10 and asterisk > 1.4.19 at > > > > fedora 8 > > > > > , > > > > > > but when booting, it was giving that > fail > > to > > > > load > > > > > zap > > > > > > online. > > > > > > > > > > > > Any advise for the needed kernel or > any > > > > settings to > > > > > > let zaptel work fine on fedora 8? Any > > specific > > > > > > recommended kernel? > > > > > > > > > > > > > > > > > Regards > > > > > > Bilal > > > > > > > > > > > > > > > > > > > > > > It works fine for me. What did you use > to > > > > install > > > > > Asterisk? Yum or > > > > > from source? > > > > > > > > > > Thanks, > > > > > Steve Totaro > > > > > > > > Initially, I just used the standard FC8 > install > > ISO > > > > 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 > > > > 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>=== message truncated == ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
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:> 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: > > > 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: > > > Hi Steven; > > > > > > I am working to determine what exactly the > > problem, > > > one of the expectation that init script workfine> > in > > > the svn version and does not work fine withothe> > > versions, but the question is: > > > > > > If I have init script and then I decided tohave> > > another zaptel version, and I compiled, theold> > 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 workfrom> > > 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: > > > > Dear Steve; > > > > > > > > It worked :) > > > > > > > > I used yum istead wget and it worked :)- > > > > Thanks alot. > > > > > > > > Regards > > > > Bilal > > > > > > > > --- Steve Totaro > > <stotaro at totarotechnologies.com> > > > > wrote: > > > > > > > > > > > > > > > > > On Sat, Apr 26, 2008 at 12:55 PM, bilal > > ghayyad > > > > > <bilmar_gh at yahoo.com> wrote: > > > > > > Dear Steve; > > > > > > > > > > > > Thanks for your kindly reply. > > > > > > > > > > > > First of all, which kernel u used whenu> > used > > > > > fedora > > > > > > core 8? > > > > > > > > > > > > About me, I used: > > > > > > > > > > > > wget > > > > > > > > > > > > > > > > > > > > >http://ftp.digium.com/pub/zaptel/zaptel-1.4-current.tar.gz> > > > > > > > > > > > and: > > > > > > > > > > > > wget > > > > > > > > > > > > > > > > > > > > >http://ftp.digium.com/pub/asterisk/asterisk-1.4-current.tar.gz> > > > > > > > > > > > Please note that I used "make config"to> > have > > > > > > automatic loading when booting, sowhen> > > booting I > > > > > get > > > > > > the following: > > > > > > > > > > > > Starting zaptel loading zaptelfarmwork> > > > > .............. > > > > > > OK > > > > > > Waiting for zap to come online ------ > > FAILURE > > > > > Error > > > > > > missing /dev/zap > > > > > > > > > > > > My digium card is TDM401 with 2 fxsand 2> > fxo > > > > > card. > > > > > > > > > > > > And ofcourse i do not find tone on my > > fxs. > > > > > > > > > > > > Is it related to the automatic > > initialization > > > > > script > > > > > > (that will be used when run makeconfig)> > or to > > > my > > > > > > kernel or to what? > > > > > > > > > > > > Any need to do any kind ofmodification?> > > > > > > > > > > > Or I have to use yum instead of wget? > > > > > > > > > > > > Regards > > > > > > Bilal > > > > > > > > > > > > > > > > > > --------- > > > > > > > > > > > > > > > > > > > Hi All; > > > > > > > > > > > > > > Can any one advise if zaptel canwork> > on > > > > > fedora 8? > > > > > > I > > > > > > > tried zaptel 1.4.10 and asterisk > > 1.4.19 at > > > > > fedora 8 > > > > > > , > > > > > > > but when booting, it was givingthat> > fail > > > to > > > > > load > > > > > > zap > > > > > > > online. > > > > > > > > > > > > > > Any advise for the needed kernel or > > any > > > > > settings to > > > > > > > let zaptel work fine on fedora 8?Any> > > specific > > > > > > > recommended kernel? > > > > > > > > > > > > > > > > > > > > Regards > > > > > > > Bilal > > > > > > > > > > > > > > > > > > > > > > > > > > It works fine for me. What did youuse> > to > > > > > install > > > > > > Asterisk? Yum or > > > > > > from source? > > > > > > > > > > > > Thanks, > > > > > > Steve Totaro > > > > > > > > > > Initially, I just used the standard FC8 > > install > > > ISO > > > > > 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/messagesrelated> > to > > > the > > > > > 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
On Mon, Apr 28, 2008 at 12:48 PM, Tzafrir Cohen <tzafrir.cohen at xorcom.com> wrote:> 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/tzafrirThat would certainly bring the glassmaker more business ;-) Thanks, Steve Totaro
Hi All; So what should I do now to remove that bug? Any advise? Regards Bilal -----------------------> Hence the reason I kept CCing your off-list emailsback 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 ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
On Thu, May 1, 2008 at 8:42 AM, bilal ghayyad <bilmar_gh at yahoo.com> wrote:> 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
No problem, see comments inline. On Thu, May 1, 2008 at 9:14 AM, bilal ghayyad <bilmar_gh at yahoo.com> wrote:> Dear Steve; > > Really big thanks for the big efforts u gave me. > > I have here some topics, highly appreciate if u can > advise: > > 1) What is fxotune -s and why to use the "s" argument?Google and the wiki are your friends. http://www.voip-info.org/wiki/view/Asterisk+fxotune "Using Fxotune: You need to train fxotune once using fxotune -i, see more below about that. The training will create the file /etc/fxotune.conf . In order to apply the same tuning next time, you need to run: fxotune -s"> > 2) Why we did not use modprobe zaptel?When you load wctdm, it will also load zaptel.> > 3) U r using sangoma, and I am using digium, the > question is: zaptel can work with any telephony cards > that support fxs and fxo modules? Like dialogic cards? > The problem with zaptel or with the cards that they > should be ready to work with us?The first part of your question is yes and no. With patches or additional drivers, zaptel works with other cards (such as Sangoma and various BRI cards). I think Dialogic may be supported now but I am not sure, maybe in ABE, again I am not sure. I am not sure if I understand the last part of your question. I think just about any card should work for you provided it has drivers for Asterisk.> > > Regards > Bilal > > --- Steve Totaro <stotaro at totarotechnologies.com> > wrote: > > > > > On Thu, May 1, 2008 at 8:42 AM, bilal ghayyad > > <bilmar_gh at yahoo.com> wrote: > > > 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 > > > > > > > > ____________________________________________________________________________________ > Be a better friend, newshound, and > know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ >