AW: [asterisk-dev] Build Asterisk 1.4 addons on a blank new server.
Server Specs: [EMAIL PROTECTED] ~]# uname -a Linux plesk.ev1servers.net 2.6.9-34.ELsmp #1 SMP Fri Feb 24 16:54:53 EST 2006 i686 i686 i386 GNU/Linux [EMAIL PROTECTED] ~]# cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 4 model name : Intel(R) Pentium(R) 4 CPU 3.40GHz stepping: 1 cpu MHz : 3392.018 cache size : 1024 KB Greetz, Roland. -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Tzafrir Cohen Gesendet: 05 January 2007 18:35 An: asterisk-dev@lists.digium.com Betreff: Re: [asterisk-dev] Build Asterisk 1.4 addons on a blank new server. On Fri, Jan 05, 2007 at 05:40:46PM +0100, Roland Ndaka Fru wrote: Hello, I successfully installed the Asterisk 1.4 on my server and I have NOT be successful so far in compiling the mysql module found in the addons package. There seems to be a missing reference to libmysqlclient at compile time and I would love to know how I can rectify this. What (linux?) distribution is this server? What version? -- Tzafrir Cohen icq#16849755jabber:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev
Re: [asterisk-dev] 0008660: Possible memory leak doing only inbound SIP handling
Le 07-01-05 à 11:28, Andre Courchesne a écrit : How do I go about compiling Asterisk with memory allocation debugging support ? make menuselect choose Compiler Flags choose MALLOC_DEBUG x make Marc. Tzafrir Cohen wrote: On Fri, Jan 05, 2007 at 11:03:51AM -0500, Andre Courchesne wrote: Hi all, I would like to get feedbacks on the following bug: http://bugs.digium.com/view.php?id=8660 When trying to profile our Asterisk distribution, we ran test where a server would initiate SIP calls to a test server (UIT) running our distribution and the latest Asterisk packages. We found that doing only inbound SIP calls handling, the UIT free memory would slowly get lower and lower. We performed the test against an earlier version of our distribution running Asterisk 1.0x as well as on Trixbox 2.0Beta2 and found similar results. We also performed the same tests on AsteriskNOW 1.4.0Beta2 with again similar results. Thanks for any feedback. First off, you can get more accurate data from 'ps u UID_OF_ASTERISK' The UID of Asterisk is probably in the pid file under /var/run . . But those numbers are still rather crude. In addition, if you suspect a memory leak, it would help to rebuild asterisk with memory allocation debugging support. This will allow you to pin-point exactly from which allocation in the code the leak comes. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev - IPv6 book: Migrating to IPv6, Wiley, 2006, http://www.ipv6book.ca ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev
Re: [asterisk-dev] 0008660: Possible memory leak doing only inbound SIP handling
In addition, if you suspect a memory leak, it would help to rebuild asterisk with memory allocation debugging support. This will allow you to pin-point exactly from which allocation in the code the leak comes. Would you like to consider static checks on the source files? http://en.wikipedia.org/wiki/Static_code_analysis Regards, Markus ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev
Re: [asterisk-dev] Support for Agent channels in Bridge manager and dial plan patch
On 1/5/07, BJ Weschke [EMAIL PROTECTED] wrote: Local channels probably pose the same issue for you as well. This was I've been using the 1.2 version of the patch, specificly the manager command (as opposed to the dialplan application), for quite some time with Local channels and have not run into problems. I'm not too familiar with chan_agent, is Agent/1 actually a channel like you'd pass to, e.g. the manager redirect command, or a device like you'd pass to the Dial command or add to a queue? Or is it somehow both? With local channels you have what I usually call a device, like Local/[EMAIL PROTECTED] that you can Dial(), which creates two new channels, Local/[EMAIL PROTECTED],1 and ,2, one of which is linked to the channel that called Dial, the other starts navigating the dialplan, and can be bridged just fine to some other live channel, or it can Dial a device and get bridged that way. In the end, if there's not a dial string of n, both Local channels masquerade themselves out of the way (producing 3 rename events each, which only through reading the code did I realize were a single entity, and that for my purposes only the middle one mattered). --Tim ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev
[asterisk-dev] Build Asterisk 1.4 addons on a blank new server.
Hello, I successfully installed the Asterisk 1.4 on my server and I have NOT be successful so far in compiling the mysql module found in the addons package. There seems to be a missing reference to libmysqlclient at compile time and I would love to know how I can rectify this. I tried editing the makeopts file but it did not help. I believe I came closest by passing the --with-mysqlclient=/usr/local/mysql in the command line but this produced the following error: checking for initscr in -lncurses... yes checking for curses.h... (cached) yes checking for mysql_config... /usr/local/mysql/bin/mysql_config checking for mysql_init in -lmysqlclient... no configure: *** configure: *** The MySQL client installation on this system appears to be broken. configure: *** including --without-mysqlclient Any pointers to where I can find some useful hints? I really need this since I plan to use a MySQL Realtime database. Thanks in advance, Roland. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev
Re: [asterisk-dev] Support for Agent channels in Bridge manager and dial plan patch
On 1/3/07, Moises Silva [EMAIL PROTECTED] wrote: Hi, I have been working with the patch for the Bridge manager action and dial plan application. So far it seems to work, however, more testing is needed, this bug/feature has more than 1 year on the bugtracker, plz if someone has the time, test it. A known issue is that does not work with Agent channels. It seems Agent channel is like a proxy, and hides the real channel. So this does not work: Bridge(Agent/something) Because I use the routine ast_get_channel_by_name_locked on the argument to try to get the channel and do_masquerade() on it. So the channel is not found because the real channel is hidden, and the call to Bridge fails. Should I write a call similar to ast_get_channel_by_name_locked() that supports the proxy concept? or something like that already exists? Any advice will be appreciated. Local channels probably pose the same issue for you as well. This was talked about in the dev sessions at Astricon this year and while everyone acknowledged the work put in to the Bridge action and the need to have such a feature, I think the outcome of the discussion was that for the same reason you're having issues now, a core Bridging API is necessary is really necessary to put this kind of thing to rest once and for all. -- Bird's The Word Technologies, Inc. http://www.btwtech.com/ ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev
Re: [asterisk-dev] 0008660: Possible memory leak doing only inbound SIP handling
Ok, found the line in the Makefile. I'm recompiling and launching a new test. Andre Courchesne wrote: How do I go about compiling Asterisk with memory allocation debugging support ? Tzafrir Cohen wrote: On Fri, Jan 05, 2007 at 11:03:51AM -0500, Andre Courchesne wrote: Hi all, I would like to get feedbacks on the following bug: http://bugs.digium.com/view.php?id=8660 When trying to profile our Asterisk distribution, we ran test where a server would initiate SIP calls to a test server (UIT) running our distribution and the latest Asterisk packages. We found that doing only inbound SIP calls handling, the UIT free memory would slowly get lower and lower. We performed the test against an earlier version of our distribution running Asterisk 1.0x as well as on Trixbox 2.0Beta2 and found similar results. We also performed the same tests on AsteriskNOW 1.4.0Beta2 with again similar results. Thanks for any feedback. First off, you can get more accurate data from 'ps u UID_OF_ASTERISK' The UID of Asterisk is probably in the pid file under /var/run . . But those numbers are still rather crude. In addition, if you suspect a memory leak, it would help to rebuild asterisk with memory allocation debugging support. This will allow you to pin-point exactly from which allocation in the code the leak comes. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev
Re: [asterisk-dev] Build Asterisk 1.4 addons on a blank new server.
On Fri, Jan 05, 2007 at 05:40:46PM +0100, Roland Ndaka Fru wrote: Hello, I successfully installed the Asterisk 1.4 on my server and I have NOT be successful so far in compiling the mysql module found in the addons package. There seems to be a missing reference to libmysqlclient at compile time and I would love to know how I can rectify this. What (linux?) distribution is this server? What version? -- Tzafrir Cohen icq#16849755jabber:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev
RE: [asterisk-dev] Build Asterisk 1.4 addons on a blank new server.
If it's a Redhat like distro yum install mysql mysql-devel should take care of your dependencies. -Jonathan -Original Message- From: [EMAIL PROTECTED] [mailto:asterisk-dev- [EMAIL PROTECTED] On Behalf Of Tzafrir Cohen Sent: Friday, January 05, 2007 12:35 PM To: asterisk-dev@lists.digium.com Subject: Re: [asterisk-dev] Build Asterisk 1.4 addons on a blank new server. On Fri, Jan 05, 2007 at 05:40:46PM +0100, Roland Ndaka Fru wrote: Hello, I successfully installed the Asterisk 1.4 on my server and I have NOT be successful so far in compiling the mysql module found in the addons package. There seems to be a missing reference to libmysqlclient at compile time and I would love to know how I can rectify this. What (linux?) distribution is this server? What version? -- Tzafrir Cohen icq#16849755jabber:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev