[asterisk-users] device probe order question
I have an Ubuntu 8 server running Asterisk 1.4 with three interface cards in it: * Wildcard TDM400P * Wildcard TDM410P * Wildcard TE122 I'm using zaptel 1.4.11, and the difficulty I'm running into is that with EVERY reboot, the order in which the hardware appears changes. This makes ztscan cough up a different order for the spans, which makes it nearly impossible to use the Digium GUI as after reboots, it complains that the hardware has changed. Is there a way to lock down probe order on boot, or somehow write zaptel.conf in such a way that port and span assignments never change between reboots? -- Jason T. Nelson [EMAIL PROTECTED] pgpRCgU4dRYAD.pgp Description: PGP signature ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] device probe order question
On Thu, Sep 18, 2008 at 01:09:38PM -0400, Jason T. Nelson wrote: I have an Ubuntu 8 server running Asterisk 1.4 with three interface cards in it: * Wildcard TDM400P * Wildcard TDM410P * Wildcard TE122 I'm using zaptel 1.4.11, and the difficulty I'm running into is that with EVERY reboot, the order in which the hardware appears changes. This makes ztscan cough up a different order for the spans, which makes it nearly impossible to use the Digium GUI as after reboots, it complains that the hardware has changed. Is there a way to lock down probe order on boot, or somehow write zaptel.conf in such a way that port and span assignments never change between reboots? Those cards use each a different driver. Write those driver, in your preffered order, in /etc/modules . -- Tzafrir Cohen icq#16849755 jabber:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] device probe order question
In our last exciting episode, Tzafrir Cohen ([EMAIL PROTECTED]) said: Those cards use each a different driver. Write those driver, in your preffered order, in /etc/modules . Ah, I should have mentioned I did that (snippit from /etc/modules below) zaptel wcte12xp wctdm Having this doesn't seem to affect things. -- Jason T. Nelson [EMAIL PROTECTED] pgpjSTalNoGz0.pgp Description: PGP signature ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] device probe order question
On Thu, Sep 18, 2008 at 01:50:42PM -0400, Jason T. Nelson wrote: In our last exciting episode, Tzafrir Cohen ([EMAIL PROTECTED]) said: Those cards use each a different driver. Write those driver, in your preffered order, in /etc/modules . Ah, I should have mentioned I did that (snippit from /etc/modules below) zaptel wcte12xp wctdm Having this doesn't seem to affect things. 'zaptel' is not really necessary . You don't have wctdm24xxp there. -- Tzafrir Cohen icq#16849755 jabber:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] device probe order question
Hello, We had the same problem in the past and the last idea I had was to remove first the modules and load them (using /etc/rc.local) in the right order. Like: rmmod wcte11xp rmmod wctdm modprobe wcte11xp modprobe wctdm modprobe zaptel Maybe not the best way to do the job but it works for us. HTH, Ioan. On Thu, Sep 18, 2008 at 9:33 PM, Tzafrir Cohen [EMAIL PROTECTED]wrote: On Thu, Sep 18, 2008 at 01:50:42PM -0400, Jason T. Nelson wrote: In our last exciting episode, Tzafrir Cohen ([EMAIL PROTECTED]) said: Those cards use each a different driver. Write those driver, in your preffered order, in /etc/modules . Ah, I should have mentioned I did that (snippit from /etc/modules below) zaptel wcte12xp wctdm Having this doesn't seem to affect things. 'zaptel' is not really necessary . You don't have wctdm24xxp there. -- Tzafrir Cohen icq#16849755 jabber:[EMAIL PROTECTED][EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Best regards, Ioan (Nini) Indreias - [EMAIL PROTECTED] ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] device probe order question
That is how I do it as well but don't forget /usr/sbin/asterisk or you will just have a bunch of loaded modules. I never bother with init scripts or /etc/modules. rc.local all the way and I once challenged the list to give me a reason why that is NOT a good way. No replies... Thanks, Steve Totaro On Thu, Sep 18, 2008 at 5:24 PM, Ioan Indreias [EMAIL PROTECTED] wrote: Hello, We had the same problem in the past and the last idea I had was to remove first the modules and load them (using /etc/rc.local) in the right order. Like: rmmod wcte11xp rmmod wctdm modprobe wcte11xp modprobe wctdm modprobe zaptel Maybe not the best way to do the job but it works for us. HTH, Ioan. On Thu, Sep 18, 2008 at 9:33 PM, Tzafrir Cohen [EMAIL PROTECTED] wrote: On Thu, Sep 18, 2008 at 01:50:42PM -0400, Jason T. Nelson wrote: In our last exciting episode, Tzafrir Cohen ([EMAIL PROTECTED]) said: Those cards use each a different driver. Write those driver, in your preffered order, in /etc/modules . Ah, I should have mentioned I did that (snippit from /etc/modules below) zaptel wcte12xp wctdm Having this doesn't seem to affect things. 'zaptel' is not really necessary . You don't have wctdm24xxp there. -- Tzafrir Cohen icq#16849755 jabber:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Best regards, Ioan (Nini) Indreias - [EMAIL PROTECTED] ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] device probe order question
Steve Totaro schrieb: I never bother with init scripts or /etc/modules. rc.local all the way and I once challenged the list to give me a reason why that is NOT a good way. No replies... http://lists.digium.com/pipermail/asterisk-users/2008-April/210491.html http://lists.digium.com/pipermail/asterisk-users/2008-April/210498.html http://lists.digium.com/pipermail/asterisk-users/2008-May/212566.html etc. :-) Philipp Kempgen -- http://www.das-asterisk-buch.de - http://www.the-asterisk-book.com Amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998 -- ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] device probe order question
Philipp Kempgen wrote: Steve Totaro schrieb: I never bother with init scripts or /etc/modules. rc.local all the way and I once challenged the list to give me a reason why that is NOT a good way. No replies... http://lists.digium.com/pipermail/asterisk-users/2008-April/210491.html http://lists.digium.com/pipermail/asterisk-users/2008-April/210498.html http://lists.digium.com/pipermail/asterisk-users/2008-May/212566.html etc. :-) Philipp Kempgen Also remeber that using init scripts gives the posibility of running those same scripts to stop the services in reverse order when you shutdown a machine. If you simply start programs in rc.local, when you shutdown the machine it won't stop your programs elegantly. (for example, just look inside /etc/rc3.d and you will see all the start scripts 'S' which run when you bootup the machine and the kill scripts 'K' which run when you shutdown the machine). Andres, http://www.neuroredes.com ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users