Re: [Asterisk-Users] Newbie question. (Long)
Hi Roger, Following this instructions: http://www.voip-info.org/tiki-index.php?page=Asterisk+Fedora+Core+3 I was able to install and run Asterisk several times without problems. See also: http://www.voip-info.org/wiki/view/Asterisk+Linux+Fedora Regards, Vassil Kolarov www.ittconsult.com Roger Hill wrote: Hi all : My first posting to the group - please be gentle! I've been messing with Asterisk for a couple of weeks now. 1.0.9 is running fine on an old laptop (300MHz, 128MB ram, Kubuntu), downloaded the binary package. Now I'm trying to put the working installation on my production server along with HTTP etc. ( 700MHz, 256MB ram, uname -a gives Linux coach.hillconsult.com 2.6.14-1.1637_FC4 #1 Wed Nov 9 18:19:32 EST 2005 i686 i686 i386 GNU/Linux). That box, until yesterday, was running Fedora core 3. I tried the tarball download of 1.2.0.rc2, ran make OK, then make install, make samples. When I tried to run Asterisk, I got (immediately) Illegal Instruction. Tried on my FC4 laptop, worked just fine. Concluded I needed FC4, so upgraded the server yesterday. Six hours later... Reran make clean, make... Same problem. Then tried 1.2.0; same problem. Then tried 1.0.9; same problem. Finally removed everything to do with asterisk, pulled dowm 1.2.0 tar ball again, and re-installed. Same old problem, illegal instruction. I did an strace, which follows. I don't know enough to decide what the strace is telling me. (The missing /etc/ld.so.preload is also missing on the FC4 laptop which works, so I concluded that that was not the problem.) Any help much appreciated. Regards Roger [EMAIL PROTECTED] sbin]$ sudo strace ./asterisk execve(./asterisk, [./asterisk], [/* 27 vars */]) = 0 uname({sys=Linux, node=coach.hillconsult.com, ...}) = 0 brk(0) = 0x8773000 access(/etc/ld.so.preload, R_OK) = -1 ENOENT (No such file or directory) open(/etc/ld.so.cache, O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=48722, ...}) = 0 old_mmap(NULL, 48722, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f85000 close(3)= 0 open(/lib/libdl.so.2, O_RDONLY) = 3 read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\250\213..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=16760, ...}) = 0 old_mmap(0x8f8000, 12388, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x8f8000 old_mmap(0x8fa000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x8fa000 close(3)= 0 open(/lib/tls/i686/libpthread.so.0, O_RDONLY) = 3 read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\334\306..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=103404, ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f84000 old_mmap(0x938000, 65980, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x938000 old_mmap(0x945000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xc000) = 0x945000 old_mmap(0x947000, 4540, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x947000 close(3)= 0 open(/usr/lib/libncurses.so.5, O_RDONLY) = 3 read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\343..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=985952, ...}) = 0 old_mmap(0x5a0, 290348, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x5a0 old_mmap(0x5a3e000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3d000) = 0x5a3e000 close(3)= 0 open(/lib/tls/i686/libm.so.6, O_RDONLY) = 3 read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\22..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=213872, ...}) = 0 old_mmap(0x8fe000, 139424, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x8fe000 old_mmap(0x91f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2) = 0x91f000 close(3)= 0 open(/lib/libresolv.so.2, O_RDONLY) = 3 read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\350\323..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=72956, ...}) = 0 old_mmap(0x94b000, 71848, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x94b000 old_mmap(0x959000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xd000) = 0x959000 old_mmap(0x95b000, 6312, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x95b000 close(3)= 0 open(/lib/libssl.so.5, O_RDONLY) = 3 read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360\26..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=230056, ...}) = 0 old_mmap(0xaa8000, 228948, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xaa8000 old_mmap(0xadd000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x35000) = 0xadd000 close(3
Re: [Asterisk-Users] Newbie question. (Long)
Roger, Can you try with a fresh Fedora installation on this box? Vassil Roger Hill wrote: Rich: Sorry if I did not make myself clear. I was trying to give some history, which is where the downloaded package came from. On this box (FC4), I am currently downloading the 1.2.0 source from asterisk.org (but not the CVS), and trying to compile and build from scratch. The build seems fine - if it will help I can post the output from the makes - but the built executable just crashes. I have done the same thing on another FC4 box (my laptop) without any problems. Doees that help at all? (And many thanks for the help, BTW) Roger Rich Adamson wrote: Well... the next best guess is the binary package that you downloaded has some dependencies that are not on your system, or, the package simply wasn't intended for your distro (for one reason or another). Does the system have a developement environment that would allow you down download the cvs source and compile it? Rich: Thanks. I tried that, with and without any config files in /etc/asterisk. It still falls over instantly, no messages other than 'Illegal Instruction'. Asterisk is running on other machines for me quite happily, but just does not want to play nice on this box. I'm sure I'm doing something silly, but for the life of me cannot see what it is. It does not get as far as writing anything to any log files in /var/log/asterisk. Roger Rich Adamson wrote: Asterisk runs just fine on fc3. Best guess on your problem is that you've got come default config parameters in /etc/asterisk directory that it is not liking at all. You might try starting asterisk with 'asterisk -cvd' and watch the output for errors. Hi All: I've been through the compile/install procedure pointed out by Vassil: I still crash on startup. Can anyone else give me some pointers, please? Roger Roger Hill wrote: Thanks Vassil - I'll try those pointers and report back. Roger Vassil Kolarov wrote: Hi Roger, Following this instructions: http://www.voip-info.org/tiki-index.php?page=Asterisk+Fedora+Core+3 I was able to install and run Asterisk several times without problems. See also: http://www.voip-info.org/wiki/view/Asterisk+Linux+Fedora Regards, Vassil Kolarov www.ittconsult.com Roger Hill wrote: Hi all : My first posting to the group - please be gentle! I've been messing with Asterisk for a couple of weeks now. 1.0.9 is running fine on an old laptop (300MHz, 128MB ram, Kubuntu), downloaded the binary package. Now I'm trying to put the working installation on my production server along with HTTP etc. ( 700MHz, 256MB ram, uname -a gives Linux coach.hillconsult.com 2.6.14-1.1637_FC4 #1 Wed Nov 9 18:19:32 EST 2005 i686 i686 i386 GNU/Linux). That box, until yesterday, was running Fedora core 3. I tried the tarball download of 1.2.0.rc2, ran make OK, then make install, make samples. When I tried to run Asterisk, I got (immediately) Illegal Instruction. Tried on my FC4 laptop, worked just fine. ___ --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 -- Roger Hill07739 707 180 Perseverance is the hard work you do after you get tired of doing the hard work you already did. ___ --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 ---End of Original Message- ___ --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 ___ --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
RE: [Asterisk-Users] Where can I find good doc on AGI?
http://home.cogeco.ca/~camstuff/agi.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Augustyn Sent: Friday, January 28, 2005 4:28 PM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Where can I find good doc on AGI? Hi, I have searched the list/Wiki, web and I am not able to find a decent documentation of the AGI/FastAGI interface with examples. Am I looking in wrong places? Help will be greatly appreciated. Robert ___ 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 ___ 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
[Asterisk-Users] Problem with OpenPhone-Asterisk
Hello all, I just installed Asterisk with H323 support (chan_h323 from Jeremy McNamara). But experience problem while connecting OpenPhone to Asterisk Here is h.323 trace: 5:37.444 H323 Listener:9c86de0 transports.cxx(1504) H323TCP Started connection: host=10.120.160.15:3172, if=10.120.160.99:1720, handle=27 5:37.444 H225 Answer:9cc1250 transports.cxx(564) H225 Started incoming call thread 5:37.445 H225 Answer:9cc1250 transports.cxx(1127) H225 Awaiting first PDU 5:37.470 H225 Answer:9cc1250 h323pdu.cxx(517) H225 Receiving PDU: setup 5:37.471 H225 Answer:9cc1250 transports.cxx(1136) H225 Incoming call, first PDU: callReference=27042 5:37.471 H225 Answer:9cc1250 h323caps.cxx(1942) H323 Added capability: UserInput/hookflash 1 5:37.472 H225 Answer:9cc1250 h323caps.cxx(1942) H323 Added capability: UserInput/RFC2833 2 5:37.472 H225 Answer:9cc1250 h323caps.cxx(2008) H323 Found capability: UserInput/hookflash 1 5:37.473 H225 Answer:9cc1250 h323caps.cxx(2008) H323 Found capability: UserInput/RFC2833 2 5:37.473 H225 Answer:9cc1250 rfc2833.cxx(81) RFC2833 Handler created 5:37.474 H225 Answer:9cc1250 h323ep.cxx(2227) H323 Created new connection: ip$10.120.160.15:3172/27042 5:37.474 H225 Answer:9cc1250 h323.cxx(1761) H225 Handling PDU: Setup callRef=27042 5:37.475 H225 Answer:9cc1250 h323ep.cxx(1898) H323 Clearing connection ip$10.120.160.15:3172/27042 reason=EndedByTransportFail 5:37.476 H225 Answer:9cc1250 h323.cxx(1540) H323 Call end reason for ip$10.120.160.15:3172/27042 set to EndedByTransportFail 5:37.476 H225 Answer:9cc1250 h323.cxx(1558) H225 Sending release complete PDU: callRef=27042 5:37.477 H225 Answer:9cc1250 h323pdu.cxx(517) H225 Sending PDU: releaseComplete 5:37.478 H225 Answer:9cc1250 transports.cxx(1166) H225 Signal channel stopped on first PDU. 5:37.479 H323 Cleaner h323ep.cxx(1955) H323 Cleaning up connections 5:37.479 H323 Cleaner h323.cxx(1595) H323 Connection ip$10.120.160.15:3172/27042 closing: connectionState=NoConnectionActive 5:37.479 H323 Cleaner h323neg.cxx(334) H245 Stopping MasterSlaveDetermination: state=Idle 5:37.479 H323 Cleaner h323neg.cxx(561) H245 Stopping TerminalCapabilitySet: state=Idle 5:37.479 H323 Cleaner transports.cxx(1109) H323 H323Transport::Close 5:37.480 H323 Cleaner transports.cxx(1191) H323 H323Transport::CleanUpOnTermination for H225 Answer:9cc1250 5:37.480 H323 Cleaner h323.cxx(1659) H323 Connection ip$10.120.160.15:3172/27042 terminated. 5:37.480 H323 Cleaner h323.cxx(1490) H323 Connection ip$10.120.160.15:3172/27042 deleted. I dont have firewall and both machines are in the same LAN. What does this reason EndedByTransportFail mean? Can anybody help? Thanks in advance! Regards, Vassil Kolarov ___ 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