I finally got Solaris to successfully make asterisk, using these instructions: http://sunfreeware.com/programlistsparc10.html#gcc33 Now though, when I issue the make install, I get this error: mkdir -p /var/opt/asterisk/spool/system mkdir -p /var/opt/asterisk/spool/tmp mkdir -p /var/opt/asterisk/spool/meetme install -m 755 asterisk /opt/asterisk/usr/sbin/ install: asterisk was not found anywhere! make: *** [bininstall] Error 2 root@b-rz1-voicemail-2 # I would prefer not to install everything manually if possible. Anyone have any ideas how I get around this? Asterisk is clearly in the directory, but for some reason Solaris can't pick it up. Regards, Joe ? --- Tzafrir Cohen <tzafrir@cohens.org.il> wrote:> On Mon, Sep 26, 2005 at 10:00:10PM -0400, Patrick > wrote: > > > > I know it seems basic but did you make sure and > plug power into the > > board when you installed it into the PCI slot? I > spent about three hours > > trying to get the dang thing to work in my machine > until I decided to > > stick the card into another PCI slot. That is when > I noticed that I had > > forgotten to ALSO plug power into the board from > the power supply. > > Everything worked fine after that (yep, I was a > noob). :-) > > You get a messge about it from the module at module > load time. rmmod > wctdm (or wcfxo) and re- modprobe it, and then run: > > dmesg |tail > > -- > Tzafrir Cohen | tzafrir@jbr.cohens.org.il | > VIM is > http://tzafrir.org.il | | > a Mutt's > tzafrir@cohens.org.il | | > best > ICQ# 16849755 | | > friend > _______________________________________________ > --Bandwidth and Colocation sponsored by Easynews.com > -- > > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users> To UNSUBSCRIBE or update options visit: > >http://lists.digium.com/mailman/listinfo/asterisk-users>__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------ Message: 19 Date: Tue, 27 Sep 2005 00:15:14 -0700 (PDT) From: somesh s <someshss@yahoo.com> Subject: Re: [Asterisk-Users] Re: Problem setting up TDM22B card To: Tzafrir Cohen <tzafrir@cohens.org.il> Cc: Asterisk Users <asterisk-users@lists.digium.com> Message-ID: <20050927071514.166.qmail@web32915.mail.mud.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Hi, I know some bits about zaptel.conf and zapata.conf but problem is modules wctdm, wcfxo, wcfxs are not getting loaded. modprobe zaptel is successful! Regards, Somesh S. Shanbhag --- Tzafrir Cohen <tzafrir@cohens.org.il> wrote:> On Sun, Sep 25, 2005 at 11:50:06PM -0700, somesh s > wrote: > > Hi, > > > > I got the following output when I run the command. > > > > >>>>>>>>>>>>>>> genzaptelconf -svd > >>>>>>>>>>>>>>>> > > > > ./genzaptelconf: line 616: /etc/init.d/asterisk: > No > > The script assumes that there is an > /etc/init.d/asterisk script. > > Please stop asterisk manually. > > > such file or directory > > Unloading zaptel modules: > > wcusb zaptel > > Test Loading modules: > > - zaptel > > - zaphfc > > - qozap > > Hint: insmod errors can be caused by incorrect > module > > parameters, including > > invalid IO or IRQ parameters. > > You may find more information in syslog or > the > > output from dmesg > > - wctdm > > Hint: insmod errors can be caused by incorrect > module > > parameters, including > > invalid IO or IRQ parameters. > > You may find more information in syslog or > the > > output from dmesg > > - wcfxo > > Hint: insmod errors can be caused by incorrect > module > > parameters, including > > invalid IO or IRQ parameters. > > You may find more information in syslog or > the > > output from dmesg > > - wcfxs > > - pciradio > > Hint: insmod errors can be caused by incorrect > module > > parameters, including > > invalid IO or IRQ parameters. > > You may find more information in syslog or > the > > output from dmesg > > - tor2 > > Hint: insmod errors can be caused by incorrect > module > > parameters, including > > invalid IO or IRQ parameters. > > You may find more information in syslog or > the > > output from dmesg > > - torisa > > Hint: insmod errors can be caused by incorrect > module > > parameters, including > > invalid IO or IRQ parameters. > > You may find more information in syslog or > the > > output from dmesg > > - wct1xxp > > Hint: insmod errors can be caused by incorrect > module > > parameters, including > > invalid IO or IRQ parameters. > > You may find more information in syslog or > the > > output from dmesg > > - wct4xxp > > Hint: insmod errors can be caused by incorrect > module > > parameters, including > > invalid IO or IRQ parameters. > > You may find more information in syslog or > the > > output from dmesg > > - wcte11xp > > - wcusb > > - ztd_eth > > It tries and fails to load many modules. This is > expected, as you don't > have their hardware. > > However can you load any zaptel module using > modprobe? > What's the output of: 'lsmod | grep zaptel' > > BTW: if you have a good idea of what should be in > zaptel.conf and > zapata.conf, I figure you should write them manually > and not waste too > much time on that automated script. It is meant to > save time, not to > spend time. > > > Updating '/etc/default/zaptel' > > Generating '/etc/zaptel.conf' > > Generating '/etc/asterisk/zapata-channels.conf' > > Reconfiguring identified channels > > > > Zaptel Configuration > > =====================> > > > > > Channel map: > > > > > > 0 channels configured. > > > > ./genzaptelconf: line 653: /etc/init.d/asterisk: > No > > such file or directory > > Checking channels configured in Asterisk: > > ./genzaptelconf: line 665: asterisk: command not > found > > > > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > > > > What may be the problem? Help me in this regard. > > > > Regards, > > Somesh S. Shanbhag > > > > --- Tzafrir Cohen <tzafrir@cohens.org.il> wrote: > > > > > On Sun, Sep 25, 2005 at 10:42:52PM -0700, somesh > s > > > wrote: > > > > Hi, > > > > > > > > Can you please give me some details about the > link > > > > you have sent? I am not aware of what it does? > > > > > > > > [http://tzafrir.org.il/genzaptelconf] > > > > > > It is a bash script for generating zaptel.conf > and > > > zapata.conf according > > > to the current settings. > > > > > > To use it: > > > > > > wget http://tzafrir.org.il/genzaptelconf > > > bash genzaptelconf -h # gives help > > > > > > Try -s and -v . -d is probably not recommended > if > > > you have more thn one > > > card, I figure. > > > > > > > > > > > > > > Regards, > > > > Somesh S. Shanbhag > > > > > > > > --- Tzafrir Cohen <tzafrir@cohens.org.il> > wrote: > > > > > > > > > On Fri, Sep 23, 2005 at 06:22:06AM -0700, > somesh > > > s > > > > > wrote: > > > > > > Hi Steve, > > > > > > > > > > > > This is zaptel.conf. Can you please tell > me if > > > you > > > > > > > > > > > require to see more conf files? > > > > > > > > > > > > [zaptel.conf] > > > > > > loadzone = us > > > > > > defaultzone=us > > > > > > fxoks=1-2 > > > > > > fxsks=3-4 > > > > > > > > > > http://tzafrir.org.il/genzaptelconf > > > > > > > > > > Should auto-detect zaptel.conf settings. > Just in > > > > > case you're not sure. > > > > > > > > > > -- > > > > > Tzafrir Cohen | > > > tzafrir@jbr.cohens.org.il | > > > > > VIM is > > > > > http://tzafrir.org.il | >=== message truncated == ______________________________________________________ Yahoo! for Good Donate to the Hurricane Katrina relief effort. http://store.yahoo.com/redcross-donate3/ ------------------------------ Message: 20 Date: Tue, 27 Sep 2005 00:17:43 -0700 (PDT) From: somesh s <someshss@yahoo.com> Subject: Re: [Asterisk-Users] Re: Problem setting up TDM22B card To: Tzafrir Cohen <tzafrir@cohens.org.il> Cc: Asterisk Users <asterisk-users@lists.digium.com> Message-ID: <20050927071743.451.qmail@web32915.mail.mud.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Hi, And I have the digium's hardware too in one of my PCI slots. Regards, Somesh S. Shanbhag --- somesh s <someshss@yahoo.com> wrote:> Hi, > > I know some bits about zaptel.conf and zapata.conf > but > > problem is modules wctdm, wcfxo, wcfxs are not > getting > loaded. > > modprobe zaptel is successful! > > Regards, > Somesh S. Shanbhag > > > > --- Tzafrir Cohen <tzafrir@cohens.org.il> wrote: > > > On Sun, Sep 25, 2005 at 11:50:06PM -0700, somesh s > > wrote: > > > Hi, > > > > > > I got the following output when I run the > command. > > > > > > >>>>>>>>>>>>>>> genzaptelconf -svd > > >>>>>>>>>>>>>>>> > > > > > > ./genzaptelconf: line 616: /etc/init.d/asterisk: > > No > > > > The script assumes that there is an > > /etc/init.d/asterisk script. > > > > Please stop asterisk manually. > > > > > such file or directory > > > Unloading zaptel modules: > > > wcusb zaptel > > > Test Loading modules: > > > - zaptel > > > - zaphfc > > > - qozap > > > Hint: insmod errors can be caused by incorrect > > module > > > parameters, including > > > invalid IO or IRQ parameters. > > > You may find more information in syslog or > > the > > > output from dmesg > > > - wctdm > > > Hint: insmod errors can be caused by incorrect > > module > > > parameters, including > > > invalid IO or IRQ parameters. > > > You may find more information in syslog or > > the > > > output from dmesg > > > - wcfxo > > > Hint: insmod errors can be caused by incorrect > > module > > > parameters, including > > > invalid IO or IRQ parameters. > > > You may find more information in syslog or > > the > > > output from dmesg > > > - wcfxs > > > - pciradio > > > Hint: insmod errors can be caused by incorrect > > module > > > parameters, including > > > invalid IO or IRQ parameters. > > > You may find more information in syslog or > > the > > > output from dmesg > > > - tor2 > > > Hint: insmod errors can be caused by incorrect > > module > > > parameters, including > > > invalid IO or IRQ parameters. > > > You may find more information in syslog or > > the > > > output from dmesg > > > - torisa > > > Hint: insmod errors can be caused by incorrect > > module > > > parameters, including > > > invalid IO or IRQ parameters. > > > You may find more information in syslog or > > the > > > output from dmesg > > > - wct1xxp > > > Hint: insmod errors can be caused by incorrect > > module > > > parameters, including > > > invalid IO or IRQ parameters. > > > You may find more information in syslog or > > the > > > output from dmesg > > > - wct4xxp > > > Hint: insmod errors can be caused by incorrect > > module > > > parameters, including > > > invalid IO or IRQ parameters. > > > You may find more information in syslog or > > the > > > output from dmesg > > > - wcte11xp > > > - wcusb > > > - ztd_eth > > > > It tries and fails to load many modules. This is > > expected, as you don't > > have their hardware. > > > > However can you load any zaptel module using > > modprobe? > > What's the output of: 'lsmod | grep zaptel' > > > > BTW: if you have a good idea of what should be in > > zaptel.conf and > > zapata.conf, I figure you should write them > manually > > and not waste too > > much time on that automated script. It is meant to > > save time, not to > > spend time. > > > > > Updating '/etc/default/zaptel' > > > Generating '/etc/zaptel.conf' > > > Generating '/etc/asterisk/zapata-channels.conf' > > > Reconfiguring identified channels > > > > > > Zaptel Configuration > > > =====================> > > > > > > > > Channel map: > > > > > > > > > 0 channels configured. > > > > > > ./genzaptelconf: line 653: /etc/init.d/asterisk: > > No > > > such file or directory > > > Checking channels configured in Asterisk: > > > ./genzaptelconf: line 665: asterisk: command not > > found > > > > > > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > > > > > > What may be the problem? Help me in this regard. > > > > > > Regards, > > > Somesh S. Shanbhag > > > > > > --- Tzafrir Cohen <tzafrir@cohens.org.il> wrote: > > > > > > > On Sun, Sep 25, 2005 at 10:42:52PM -0700, > somesh > > s > > > > wrote: > > > > > Hi, > > > > > > > > > > Can you please give me some details about > the > > link > > > > > you have sent? I am not aware of what it > does? > > > > > > > > > > [http://tzafrir.org.il/genzaptelconf] > > > > > > > > It is a bash script for generating zaptel.conf > > and > > > > zapata.conf according > > > > to the current settings. > > > > > > > > To use it: > > > > > > > > wget http://tzafrir.org.il/genzaptelconf > > > > bash genzaptelconf -h # gives help > > > > > > > > Try -s and -v . -d is probably not recommended > > if > > > > you have more thn one > > > > card, I figure. > > > > > > > > > > > > > > > > > > Regards, > > > > > Somesh S. Shanbhag > > > > > > > > > > --- Tzafrir Cohen <tzafrir@cohens.org.il> > > wrote: > > > > > > > > > > > On Fri, Sep 23, 2005 at 06:22:06AM -0700, > > somesh > > > > s > > > > > > wrote: > > > > > > > Hi Steve, > > > > > > > >=== message truncated == __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com ------------------------------ Message: 21 Date: Tue, 27 Sep 2005 09:20:13 +0200 From: <f6hqz-m@hamwlan.net> Subject: [Asterisk-Users] Termcap missing (compile error [editline/libedit.a] Error 1) To: "'Asterisk Users Mailing List - Non-Commercial Discussion'" <asterisk-users@lists.digium.com> Message-ID: <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAARuRp1ly/OEScRq8g2NJOvsKAAAAQ AAAADegh96biaUqAq/V483P85gEAAAAA@hamwlan.net> Content-Type: text/plain; charset="us-ascii" Hello Gentlemen :-) I am a little disapointed by an error occured during an update from 1.0.7 to "Head" in a Debian "testing" distro. The first error message happens by using the famous script from http://www.szmidt.org/asterisk/asterisk-update.sh : configure: error: termcap support not found make: *** [editline/libedit.a] Erreur 1 ERROR! Compile exited with error. Aborting script! And, if I tempt to compile "manualy" with "make clean; make; make install", I can see that at the end : cd editline && unset CFLAGS LIBS && test -f config.h || ./configure loading cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking host system type... i686-pc-linux-gnu cygwin detected checking for a BSD compatible install... install checking for ranlib... ranlib checking for ar... /usr/bin/ar checking for tgetent in -ltermcap... no checking for tgetent in -ltinfo... no checking for tgetent in -lcurses... no checking for tgetent in -lncurses... no configure: error: termcap support not found make: *** [editline/libedit.a] Erreur 1 sarge:/usr/src/asterisk# What occurs ? What I have missed ? Any idea to help me ? What can I describe or search more for a best analyze ? Many thanks in advance, guys ! Best Regards, Francois BERGERET, France. ------------------------------ Message: 22 Date: Tue, 27 Sep 2005 09:25:20 +0200 From: "Andreas Sikkema" <andreas.sikkema@bbned.nl> Subject: RE: [Asterisk-Users] Removing "-" (Dash) from Dialed Numbers To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users@lists.digium.com> Message-ID: <5B97FFB7F28E3E4294B049C968CBF47B5C99ED@SERVER-EX02A.INTERN.BBNED.NL> Content-Type: text/plain; charset="iso-8859-1" asterisk-users-bounces@lists.digium.com wrote:>> I am trying to enable dial-by-email by using LDAPget to query >> an Active Directory server. I've got it retrieving the phone >> number fine. Unforunately, the numbers stored in active >> directory are either in the format: (xxx) xxx-xxxx or >> xxx-xxx-xxxx. > Is there >> any way to parse characters out of the dialed phone number so >> that I only end up with digits (remove spaces, parenthesis and >> dashes)? From there, my outbound routes can take care of >> where to send the call. > This would be darned easy to do with the AGI and a perl script. > > IE: > > exten => _X.,1,agi,fixnumbers|${MyNumber} > exten => _X.,2,Dial(ZAP/g0/1${MyNumber}) > > Then, in a perl script called "fixnumbers" and inside the agi-bin > directory: > > ########## START CODE ############# > #!/usr/bin/perl -w > use strict; > use Asterisk::AGI; > $AGI = new Asterisk::AGI; > my %input = $AGI->ReadParse(); > > my $number=$ARGV[0]; > $number=~s/-//g; > $number=~s/ //g; > $number=~s/\(//g; > $number=~s/\)//g; > > print $AGI->set_variable('MyNumber',"$number"); > > exit; > > ####### END CODE ########Depending on how many calls per second you want to perform, some dialplan magic might be cheaper than starting up a perl process. I'd write a diaplan macro for this. If the numbers are in a fixed format (4th character is a -, 7th character is a -, etc), then it's really simple. Something like this: exten => s,1,SetVar(strPart1 = ${myNumber:0:3} exten => s,2,SetVar(strPart2 = ${myNumber:4:3} exten => s,3,SetVar(strPart3 = ${myNumber:7:3} exten => s,4,SetVar(myNumber = $strPart1$strPart2$strPart3 But I'm using quite an old Asterisk, so current syntax might be a little different, but the Wiki suggests this still works. -- Andreas Sikkema bbned NV Van Vollenhovenstraat 3 3016 BE Rotterdam t: +31 (0)10 2245544 f: +31 (0)10 413 65 45 ------------------------------ Message: 23 Date: Tue, 27 Sep 2005 10:32:58 +0300 From: Tzafrir Cohen <tzafrir@cohens.org.il> Subject: Re: [Asterisk-Users] Termcap missing (compile error [editline/libedit.a] Error 1) To: asterisk-users@lists.digium.com Message-ID: <20050927073258.GS15036@gadot.org.il> Content-Type: text/plain; charset=us-ascii On Tue, Sep 27, 2005 at 09:20:13AM +0200, f6hqz-m@hamwlan.net wrote:> Hello Gentlemen :-) > > I am a little disapointed by an error occured during an update from 1.0.7to> "Head" in a Debian "testing" distro.Start with defining a standard deb-src of Sarge (I think it is defined by default. Maybe remmed-out) and then run: apt-get install build-essential apt-get build-dep asterisk It should get you roughly the packages needed to build HEAD from source. -- Tzafrir Cohen | tzafrir@jbr.cohens.org.il | VIM is http://tzafrir.org.il | | a Mutt's tzafrir@cohens.org.il | | best ICQ# 16849755 | | friend ------------------------------ Message: 24 Date: Tue, 27 Sep 2005 09:35:45 +0200 From: "Sergio Serrano" <sergio.serrano@avanzada7.com> Subject: RE: [Asterisk-Users] Termcap missing (compile error[editline/libedit.a] Error 1) To: <f6hqz-m@hamwlan.net>, "'Asterisk Users Mailing List - Non-Commercial Discussion'" <asterisk-users@lists.digium.com> Message-ID: <20050927073552.B7A833C617@lists.digium.com> Content-Type: text/plain; charset="us-ascii" You must install libncurses5-dev regards, srsergio -----Mensaje original----- De: f6hqz-m@hamwlan.net [mailto:f6hqz-m@hamwlan.net] Enviado el: martes, 27 de septiembre de 2005 9:20 Para: 'Asterisk Users Mailing List - Non-Commercial Discussion' Asunto: [Asterisk-Users] Termcap missing (compile error[editline/libedit.a] Error 1) Hello Gentlemen :-) I am a little disapointed by an error occured during an update from 1.0.7 to "Head" in a Debian "testing" distro. The first error message happens by using the famous script from http://www.szmidt.org/asterisk/asterisk-update.sh : configure: error: termcap support not found make: *** [editline/libedit.a] Erreur 1 ERROR! Compile exited with error. Aborting script! And, if I tempt to compile "manualy" with "make clean; make; make install", I can see that at the end : cd editline && unset CFLAGS LIBS && test -f config.h || ./configure loading cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking host system type... i686-pc-linux-gnu cygwin detected checking for a BSD compatible install... install checking for ranlib... ranlib checking for ar... /usr/bin/ar checking for tgetent in -ltermcap... no checking for tgetent in -ltinfo... no checking for tgetent in -lcurses... no checking for tgetent in -lncurses... no configure: error: termcap support not found make: *** [editline/libedit.a] Erreur 1 sarge:/usr/src/asterisk# What occurs ? What I have missed ? Any idea to help me ? What can I describe or search more for a best analyze ? Many thanks in advance, guys ! Best Regards, Francois BERGERET, France. _______________________________________________ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.6/111 - Release Date: 23/09/2005 ------------------------------ Message: 25 Date: Tue, 27 Sep 2005 16:36:21 +0900 From: Pikoro <webmaster@psphacks.net> Subject: [Asterisk-Users] pbx_wilcalu.so: undefined symbol: To: asterisk-users@lists.digium.com Message-ID: <4338F675.9030702@psphacks.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Anyone run into this? This is from the latest 1.2.0 beta1 tarball. Got it all compiled, but this undefined symbol is stopping asterisk from loading. Can I savely bypass this module and if so, what does it actually do? Cheers ------------------------------ Message: 26 Date: Tue, 27 Sep 2005 10:02:21 +0200 From: Hauke Zuehl <hzuehl@athene.dnsalias.org> Subject: Re: [Asterisk-Users] Early Media in 180 Ringing To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users@lists.digium.com> Message-ID: <200509271002.21828.hzuehl@athene.dnsalias.org> Content-Type: text/plain; charset="iso-8859-1" Hi :) Am Montag, 26. September 2005 19:48 schrieb Ronald Voermans:> Hello, > > As you can see below, the SIP message from 10.254.254.1 (the PSTN > Gateway) has SDP, while * (with 192.168.0.173) removes the SDP content. > > How can this be solved? >Well, I am not that expert but AFAIK your PSTN gateway should send a 183 (Session progress) than a simple 180. Do you use Dial(SIP/blah|30|m(moh_class)) to start early media? Regards, Hauke ------------------------------ _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users End of Asterisk-Users Digest, Vol 14, Issue 161 ***********************************************
Rajesh Bhairampally
2005-Sep-27 10:14 UTC
[Asterisk-Users] failed make install on Solaris 10
I am sure you might have tried adding the current directory to the PATH variable. I never compiled asterisk on solaris, but it seems to be working for my other applications. regards, rajesh ----- Original Message ----- From: "Joseph Rothstein" <jrothstein@comcentrixs.com> To: <asterisk-users@lists.digium.com> Sent: Tuesday, September 27, 2005 4:19 AM Subject: [Asterisk-Users] failed make install on Solaris 10 I finally got Solaris to successfully make asterisk, using these instructions: http://sunfreeware.com/programlistsparc10.html#gcc33 Now though, when I issue the make install, I get this error: mkdir -p /var/opt/asterisk/spool/system mkdir -p /var/opt/asterisk/spool/tmp mkdir -p /var/opt/asterisk/spool/meetme install -m 755 asterisk /opt/asterisk/usr/sbin/ install: asterisk was not found anywhere! make: *** [bininstall] Error 2 root@b-rz1-voicemail-2 # I would prefer not to install everything manually if possible. Anyone have any ideas how I get around this? Asterisk is clearly in the directory, but for some reason Solaris can't pick it up. Regards, Joe --- Tzafrir Cohen <tzafrir@cohens.org.il> wrote:> On Mon, Sep 26, 2005 at 10:00:10PM -0400, Patrick > wrote: > > > > I know it seems basic but did you make sure and > plug power into the > > board when you installed it into the PCI slot? I > spent about three hours > > trying to get the dang thing to work in my machine > until I decided to > > stick the card into another PCI slot. That is when > I noticed that I had > > forgotten to ALSO plug power into the board from > the power supply. > > Everything worked fine after that (yep, I was a > noob). :-) > > You get a messge about it from the module at module > load time. rmmod > wctdm (or wcfxo) and re- modprobe it, and then run: > > dmesg |tail > > -- > Tzafrir Cohen | tzafrir@jbr.cohens.org.il | > VIM is > http://tzafrir.org.il | | > a Mutt's > tzafrir@cohens.org.il | | > best > ICQ# 16849755 | | > friend > _______________________________________________ > --Bandwidth and Colocation sponsored by Easynews.com > -- > > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users> To UNSUBSCRIBE or update options visit: > >http://lists.digium.com/mailman/listinfo/asterisk-users>__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------ Message: 19 Date: Tue, 27 Sep 2005 00:15:14 -0700 (PDT) From: somesh s <someshss@yahoo.com> Subject: Re: [Asterisk-Users] Re: Problem setting up TDM22B card To: Tzafrir Cohen <tzafrir@cohens.org.il> Cc: Asterisk Users <asterisk-users@lists.digium.com> Message-ID: <20050927071514.166.qmail@web32915.mail.mud.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Hi, I know some bits about zaptel.conf and zapata.conf but problem is modules wctdm, wcfxo, wcfxs are not getting loaded. modprobe zaptel is successful! Regards, Somesh S. Shanbhag --- Tzafrir Cohen <tzafrir@cohens.org.il> wrote:> On Sun, Sep 25, 2005 at 11:50:06PM -0700, somesh s > wrote: > > Hi, > > > > I got the following output when I run the command. > > > > >>>>>>>>>>>>>>> genzaptelconf -svd > >>>>>>>>>>>>>>>> > > > > ./genzaptelconf: line 616: /etc/init.d/asterisk: > No > > The script assumes that there is an > /etc/init.d/asterisk script. > > Please stop asterisk manually. > > > such file or directory > > Unloading zaptel modules: > > wcusb zaptel > > Test Loading modules: > > - zaptel > > - zaphfc > > - qozap > > Hint: insmod errors can be caused by incorrect > module > > parameters, including > > invalid IO or IRQ parameters. > > You may find more information in syslog or > the > > output from dmesg > > - wctdm > > Hint: insmod errors can be caused by incorrect > module > > parameters, including > > invalid IO or IRQ parameters. > > You may find more information in syslog or > the > > output from dmesg > > - wcfxo > > Hint: insmod errors can be caused by incorrect > module > > parameters, including > > invalid IO or IRQ parameters. > > You may find more information in syslog or > the > > output from dmesg > > - wcfxs > > - pciradio > > Hint: insmod errors can be caused by incorrect > module > > parameters, including > > invalid IO or IRQ parameters. > > You may find more information in syslog or > the > > output from dmesg > > - tor2 > > Hint: insmod errors can be caused by incorrect > module > > parameters, including > > invalid IO or IRQ parameters. > > You may find more information in syslog or > the > > output from dmesg > > - torisa > > Hint: insmod errors can be caused by incorrect > module > > parameters, including > > invalid IO or IRQ parameters. > > You may find more information in syslog or > the > > output from dmesg > > - wct1xxp > > Hint: insmod errors can be caused by incorrect > module > > parameters, including > > invalid IO or IRQ parameters. > > You may find more information in syslog or > the > > output from dmesg > > - wct4xxp > > Hint: insmod errors can be caused by incorrect > module > > parameters, including > > invalid IO or IRQ parameters. > > You may find more information in syslog or > the > > output from dmesg > > - wcte11xp > > - wcusb > > - ztd_eth > > It tries and fails to load many modules. This is > expected, as you don't > have their hardware. > > However can you load any zaptel module using > modprobe? > What's the output of: 'lsmod | grep zaptel' > > BTW: if you have a good idea of what should be in > zaptel.conf and > zapata.conf, I figure you should write them manually > and not waste too > much time on that automated script. It is meant to > save time, not to > spend time. > > > Updating '/etc/default/zaptel' > > Generating '/etc/zaptel.conf' > > Generating '/etc/asterisk/zapata-channels.conf' > > Reconfiguring identified channels > > > > Zaptel Configuration > > =====================> > > > > > Channel map: > > > > > > 0 channels configured. > > > > ./genzaptelconf: line 653: /etc/init.d/asterisk: > No > > such file or directory > > Checking channels configured in Asterisk: > > ./genzaptelconf: line 665: asterisk: command not > found > > > > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > > > > What may be the problem? Help me in this regard. > > > > Regards, > > Somesh S. Shanbhag > > > > --- Tzafrir Cohen <tzafrir@cohens.org.il> wrote: > > > > > On Sun, Sep 25, 2005 at 10:42:52PM -0700, somesh > s > > > wrote: > > > > Hi, > > > > > > > > Can you please give me some details about the > link > > > > you have sent? I am not aware of what it does? > > > > > > > > [http://tzafrir.org.il/genzaptelconf] > > > > > > It is a bash script for generating zaptel.conf > and > > > zapata.conf according > > > to the current settings. > > > > > > To use it: > > > > > > wget http://tzafrir.org.il/genzaptelconf > > > bash genzaptelconf -h # gives help > > > > > > Try -s and -v . -d is probably not recommended > if > > > you have more thn one > > > card, I figure. > > > > > > > > > > > > > > Regards, > > > > Somesh S. Shanbhag > > > > > > > > --- Tzafrir Cohen <tzafrir@cohens.org.il> > wrote: > > > > > > > > > On Fri, Sep 23, 2005 at 06:22:06AM -0700, > somesh > > > s > > > > > wrote: > > > > > > Hi Steve, > > > > > > > > > > > > This is zaptel.conf. Can you please tell > me if > > > you > > > > > > > > > > > require to see more conf files? > > > > > > > > > > > > [zaptel.conf] > > > > > > loadzone = us > > > > > > defaultzone=us > > > > > > fxoks=1-2 > > > > > > fxsks=3-4 > > > > > > > > > > http://tzafrir.org.il/genzaptelconf > > > > > > > > > > Should auto-detect zaptel.conf settings. > Just in > > > > > case you're not sure. > > > > > > > > > > -- > > > > > Tzafrir Cohen | > > > tzafrir@jbr.cohens.org.il | > > > > > VIM is > > > > > http://tzafrir.org.il | >=== message truncated == ______________________________________________________ Yahoo! for Good Donate to the Hurricane Katrina relief effort. http://store.yahoo.com/redcross-donate3/ ------------------------------ Message: 20 Date: Tue, 27 Sep 2005 00:17:43 -0700 (PDT) From: somesh s <someshss@yahoo.com> Subject: Re: [Asterisk-Users] Re: Problem setting up TDM22B card To: Tzafrir Cohen <tzafrir@cohens.org.il> Cc: Asterisk Users <asterisk-users@lists.digium.com> Message-ID: <20050927071743.451.qmail@web32915.mail.mud.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Hi, And I have the digium's hardware too in one of my PCI slots. Regards, Somesh S. Shanbhag --- somesh s <someshss@yahoo.com> wrote:> Hi, > > I know some bits about zaptel.conf and zapata.conf > but > > problem is modules wctdm, wcfxo, wcfxs are not > getting > loaded. > > modprobe zaptel is successful! > > Regards, > Somesh S. Shanbhag > > > > --- Tzafrir Cohen <tzafrir@cohens.org.il> wrote: > > > On Sun, Sep 25, 2005 at 11:50:06PM -0700, somesh s > > wrote: > > > Hi, > > > > > > I got the following output when I run the > command. > > > > > > >>>>>>>>>>>>>>> genzaptelconf -svd > > >>>>>>>>>>>>>>>> > > > > > > ./genzaptelconf: line 616: /etc/init.d/asterisk: > > No > > > > The script assumes that there is an > > /etc/init.d/asterisk script. > > > > Please stop asterisk manually. > > > > > such file or directory > > > Unloading zaptel modules: > > > wcusb zaptel > > > Test Loading modules: > > > - zaptel > > > - zaphfc > > > - qozap > > > Hint: insmod errors can be caused by incorrect > > module > > > parameters, including > > > invalid IO or IRQ parameters. > > > You may find more information in syslog or > > the > > > output from dmesg > > > - wctdm > > > Hint: insmod errors can be caused by incorrect > > module > > > parameters, including > > > invalid IO or IRQ parameters. > > > You may find more information in syslog or > > the > > > output from dmesg > > > - wcfxo > > > Hint: insmod errors can be caused by incorrect > > module > > > parameters, including > > > invalid IO or IRQ parameters. > > > You may find more information in syslog or > > the > > > output from dmesg > > > - wcfxs > > > - pciradio > > > Hint: insmod errors can be caused by incorrect > > module > > > parameters, including > > > invalid IO or IRQ parameters. > > > You may find more information in syslog or > > the > > > output from dmesg > > > - tor2 > > > Hint: insmod errors can be caused by incorrect > > module > > > parameters, including > > > invalid IO or IRQ parameters. > > > You may find more information in syslog or > > the > > > output from dmesg > > > - torisa > > > Hint: insmod errors can be caused by incorrect > > module > > > parameters, including > > > invalid IO or IRQ parameters. > > > You may find more information in syslog or > > the > > > output from dmesg > > > - wct1xxp > > > Hint: insmod errors can be caused by incorrect > > module > > > parameters, including > > > invalid IO or IRQ parameters. > > > You may find more information in syslog or > > the > > > output from dmesg > > > - wct4xxp > > > Hint: insmod errors can be caused by incorrect > > module > > > parameters, including > > > invalid IO or IRQ parameters. > > > You may find more information in syslog or > > the > > > output from dmesg > > > - wcte11xp > > > - wcusb > > > - ztd_eth > > > > It tries and fails to load many modules. This is > > expected, as you don't > > have their hardware. > > > > However can you load any zaptel module using > > modprobe? > > What's the output of: 'lsmod | grep zaptel' > > > > BTW: if you have a good idea of what should be in > > zaptel.conf and > > zapata.conf, I figure you should write them > manually > > and not waste too > > much time on that automated script. It is meant to > > save time, not to > > spend time. > > > > > Updating '/etc/default/zaptel' > > > Generating '/etc/zaptel.conf' > > > Generating '/etc/asterisk/zapata-channels.conf' > > > Reconfiguring identified channels > > > > > > Zaptel Configuration > > > =====================> > > > > > > > > Channel map: > > > > > > > > > 0 channels configured. > > > > > > ./genzaptelconf: line 653: /etc/init.d/asterisk: > > No > > > such file or directory > > > Checking channels configured in Asterisk: > > > ./genzaptelconf: line 665: asterisk: command not > > found > > > > > > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > > > > > > What may be the problem? Help me in this regard. > > > > > > Regards, > > > Somesh S. Shanbhag > > > > > > --- Tzafrir Cohen <tzafrir@cohens.org.il> wrote: > > > > > > > On Sun, Sep 25, 2005 at 10:42:52PM -0700, > somesh > > s > > > > wrote: > > > > > Hi, > > > > > > > > > > Can you please give me some details about > the > > link > > > > > you have sent? I am not aware of what it > does? > > > > > > > > > > [http://tzafrir.org.il/genzaptelconf] > > > > > > > > It is a bash script for generating zaptel.conf > > and > > > > zapata.conf according > > > > to the current settings. > > > > > > > > To use it: > > > > > > > > wget http://tzafrir.org.il/genzaptelconf > > > > bash genzaptelconf -h # gives help > > > > > > > > Try -s and -v . -d is probably not recommended > > if > > > > you have more thn one > > > > card, I figure. > > > > > > > > > > > > > > > > > > Regards, > > > > > Somesh S. Shanbhag > > > > > > > > > > --- Tzafrir Cohen <tzafrir@cohens.org.il> > > wrote: > > > > > > > > > > > On Fri, Sep 23, 2005 at 06:22:06AM -0700, > > somesh > > > > s > > > > > > wrote: > > > > > > > Hi Steve, > > > > > > > >=== message truncated == __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com ------------------------------ Message: 21 Date: Tue, 27 Sep 2005 09:20:13 +0200 From: <f6hqz-m@hamwlan.net> Subject: [Asterisk-Users] Termcap missing (compile error [editline/libedit.a] Error 1) To: "'Asterisk Users Mailing List - Non-Commercial Discussion'" <asterisk-users@lists.digium.com> Message-ID: <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAARuRp1ly/OEScRq8g2NJOvsKAAAAQ AAAADegh96biaUqAq/V483P85gEAAAAA@hamwlan.net> Content-Type: text/plain; charset="us-ascii" Hello Gentlemen :-) I am a little disapointed by an error occured during an update from 1.0.7 to "Head" in a Debian "testing" distro. The first error message happens by using the famous script from http://www.szmidt.org/asterisk/asterisk-update.sh : configure: error: termcap support not found make: *** [editline/libedit.a] Erreur 1 ERROR! Compile exited with error. Aborting script! And, if I tempt to compile "manualy" with "make clean; make; make install", I can see that at the end : cd editline && unset CFLAGS LIBS && test -f config.h || ./configure loading cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking host system type... i686-pc-linux-gnu cygwin detected checking for a BSD compatible install... install checking for ranlib... ranlib checking for ar... /usr/bin/ar checking for tgetent in -ltermcap... no checking for tgetent in -ltinfo... no checking for tgetent in -lcurses... no checking for tgetent in -lncurses... no configure: error: termcap support not found make: *** [editline/libedit.a] Erreur 1 sarge:/usr/src/asterisk# What occurs ? What I have missed ? Any idea to help me ? What can I describe or search more for a best analyze ? Many thanks in advance, guys ! Best Regards, Francois BERGERET, France. ------------------------------ Message: 22 Date: Tue, 27 Sep 2005 09:25:20 +0200 From: "Andreas Sikkema" <andreas.sikkema@bbned.nl> Subject: RE: [Asterisk-Users] Removing "-" (Dash) from Dialed Numbers To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users@lists.digium.com> Message-ID: <5B97FFB7F28E3E4294B049C968CBF47B5C99ED@SERVER-EX02A.INTERN.BBNED.NL> Content-Type: text/plain; charset="iso-8859-1" asterisk-users-bounces@lists.digium.com wrote:>> I am trying to enable dial-by-email by using LDAPget to query >> an Active Directory server. I've got it retrieving the phone >> number fine. Unforunately, the numbers stored in active >> directory are either in the format: (xxx) xxx-xxxx or >> xxx-xxx-xxxx. > Is there >> any way to parse characters out of the dialed phone number so >> that I only end up with digits (remove spaces, parenthesis and >> dashes)? From there, my outbound routes can take care of >> where to send the call. > This would be darned easy to do with the AGI and a perl script. > > IE: > > exten => _X.,1,agi,fixnumbers|${MyNumber} > exten => _X.,2,Dial(ZAP/g0/1${MyNumber}) > > Then, in a perl script called "fixnumbers" and inside the agi-bin > directory: > > ########## START CODE ############# > #!/usr/bin/perl -w > use strict; > use Asterisk::AGI; > $AGI = new Asterisk::AGI; > my %input = $AGI->ReadParse(); > > my $number=$ARGV[0]; > $number=~s/-//g; > $number=~s/ //g; > $number=~s/\(//g; > $number=~s/\)//g; > > print $AGI->set_variable('MyNumber',"$number"); > > exit; > > ####### END CODE ########Depending on how many calls per second you want to perform, some dialplan magic might be cheaper than starting up a perl process. I'd write a diaplan macro for this. If the numbers are in a fixed format (4th character is a -, 7th character is a -, etc), then it's really simple. Something like this: exten => s,1,SetVar(strPart1 = ${myNumber:0:3} exten => s,2,SetVar(strPart2 = ${myNumber:4:3} exten => s,3,SetVar(strPart3 = ${myNumber:7:3} exten => s,4,SetVar(myNumber = $strPart1$strPart2$strPart3 But I'm using quite an old Asterisk, so current syntax might be a little different, but the Wiki suggests this still works. -- Andreas Sikkema bbned NV Van Vollenhovenstraat 3 3016 BE Rotterdam t: +31 (0)10 2245544 f: +31 (0)10 413 65 45 ------------------------------ Message: 23 Date: Tue, 27 Sep 2005 10:32:58 +0300 From: Tzafrir Cohen <tzafrir@cohens.org.il> Subject: Re: [Asterisk-Users] Termcap missing (compile error [editline/libedit.a] Error 1) To: asterisk-users@lists.digium.com Message-ID: <20050927073258.GS15036@gadot.org.il> Content-Type: text/plain; charset=us-ascii On Tue, Sep 27, 2005 at 09:20:13AM +0200, f6hqz-m@hamwlan.net wrote:> Hello Gentlemen :-) > > I am a little disapointed by an error occured during an update from 1.0.7to> "Head" in a Debian "testing" distro.Start with defining a standard deb-src of Sarge (I think it is defined by default. Maybe remmed-out) and then run: apt-get install build-essential apt-get build-dep asterisk It should get you roughly the packages needed to build HEAD from source. -- Tzafrir Cohen | tzafrir@jbr.cohens.org.il | VIM is http://tzafrir.org.il | | a Mutt's tzafrir@cohens.org.il | | best ICQ# 16849755 | | friend ------------------------------ Message: 24 Date: Tue, 27 Sep 2005 09:35:45 +0200 From: "Sergio Serrano" <sergio.serrano@avanzada7.com> Subject: RE: [Asterisk-Users] Termcap missing (compile error[editline/libedit.a] Error 1) To: <f6hqz-m@hamwlan.net>, "'Asterisk Users Mailing List - Non-Commercial Discussion'" <asterisk-users@lists.digium.com> Message-ID: <20050927073552.B7A833C617@lists.digium.com> Content-Type: text/plain; charset="us-ascii" You must install libncurses5-dev regards, srsergio -----Mensaje original----- De: f6hqz-m@hamwlan.net [mailto:f6hqz-m@hamwlan.net] Enviado el: martes, 27 de septiembre de 2005 9:20 Para: 'Asterisk Users Mailing List - Non-Commercial Discussion' Asunto: [Asterisk-Users] Termcap missing (compile error[editline/libedit.a] Error 1) Hello Gentlemen :-) I am a little disapointed by an error occured during an update from 1.0.7 to "Head" in a Debian "testing" distro. The first error message happens by using the famous script from http://www.szmidt.org/asterisk/asterisk-update.sh : configure: error: termcap support not found make: *** [editline/libedit.a] Erreur 1 ERROR! Compile exited with error. Aborting script! And, if I tempt to compile "manualy" with "make clean; make; make install", I can see that at the end : cd editline && unset CFLAGS LIBS && test -f config.h || ./configure loading cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking host system type... i686-pc-linux-gnu cygwin detected checking for a BSD compatible install... install checking for ranlib... ranlib checking for ar... /usr/bin/ar checking for tgetent in -ltermcap... no checking for tgetent in -ltinfo... no checking for tgetent in -lcurses... no checking for tgetent in -lncurses... no configure: error: termcap support not found make: *** [editline/libedit.a] Erreur 1 sarge:/usr/src/asterisk# What occurs ? What I have missed ? Any idea to help me ? What can I describe or search more for a best analyze ? Many thanks in advance, guys ! Best Regards, Francois BERGERET, France. _______________________________________________ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.6/111 - Release Date: 23/09/2005 ------------------------------ Message: 25 Date: Tue, 27 Sep 2005 16:36:21 +0900 From: Pikoro <webmaster@psphacks.net> Subject: [Asterisk-Users] pbx_wilcalu.so: undefined symbol: To: asterisk-users@lists.digium.com Message-ID: <4338F675.9030702@psphacks.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Anyone run into this? This is from the latest 1.2.0 beta1 tarball. Got it all compiled, but this undefined symbol is stopping asterisk from loading. Can I savely bypass this module and if so, what does it actually do? Cheers ------------------------------ Message: 26 Date: Tue, 27 Sep 2005 10:02:21 +0200 From: Hauke Zuehl <hzuehl@athene.dnsalias.org> Subject: Re: [Asterisk-Users] Early Media in 180 Ringing To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users@lists.digium.com> Message-ID: <200509271002.21828.hzuehl@athene.dnsalias.org> Content-Type: text/plain; charset="iso-8859-1" Hi :) Am Montag, 26. September 2005 19:48 schrieb Ronald Voermans:> Hello, > > As you can see below, the SIP message from 10.254.254.1 (the PSTN > Gateway) has SDP, while * (with 192.168.0.173) removes the SDP content. > > How can this be solved? >Well, I am not that expert but AFAIK your PSTN gateway should send a 183 (Session progress) than a simple 180. Do you use Dial(SIP/blah|30|m(moh_class)) to start early media? Regards, Hauke ------------------------------ _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users End of Asterisk-Users Digest, Vol 14, Issue 161 *********************************************** _______________________________________________ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users