Re: [asterisk-users] constantly increasing load in Asterisk 11.14 (Sebastian Damm)
Have you considered doing a daily reboot? In our shop (about 14 sites, busiest doing about 90 000 calls per day) we found it best to reboot each Asterisk instance at 23:45 - we're still running an ancient version (1.8.0.11). Once this regime was instituted our major Asterisk issues stopped, especially load-related issues linked to uptime. Note that we do not just restart the Asterisk process, we reboot the entire machine. We're running on bare-metal on Centos 6.5. Maybe you can try doing that, if at all practical? Our business needs fortunately this side is telecoms are only requires 08:00 - 17:00... Regards Stefan Message: 2 Date: Thu, 5 Feb 2015 11:53:38 +0100 From: Sebastian Damm d...@sipgate.de To: Asterisk asterisk-users@lists.digium.com Subject: [asterisk-users] constantly increasing load in Asterisk 11.14 Message-ID: cabkwsfwpe_cnaj8hnezkminys6odrocf6cv+vzyezh+tfty...@mail.gmail.com Content-Type: text/plain; charset=utf-8 Hi, we have quite a few Asterisk machines running and try to keep them on a current version of the Asterisk 11 branch. But since we upgraded to 11.14.0 a couple weeks ago, we have to restart the Asterisk process every week because the load gets too high and our monitoring complains. Those machines are doing only SIP-to-SIP call relay, the dialplan is quite complex, transcoding is done only on a few percent of the calls processed. During the daytime, there are at max around 200 SIP channels (100 calls) running at the same time. After one week, one machine has processed about 170k calls. I have uploaded a comparison of cacti load graphs for one week of a machine running with 11.14.0 and one running with 11.6.0: http://pbrd.co/1v0SO3R As you can see, after a restart, both machines have about the same load. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Question regarding custom announcements used by several Asterisk servers
Hello, Got a question regarding custom announcements in Asterisk. My goal is to allow my users record their own queue announcements and choose which announcements they want to use in each queue. I have several Asterisk servers and a Kamailio server which dispatches call traffic between the Asterisks. Question is, is it possible to have something like a NSF disk shared between several asterisk servers and store custom announcements there, where all Asterisks would use them? I expect to have to place the files under whatever I configure in asterisk.conf. Additionally, can I place the announcements in subfolders under that directory and in my realtime queue table use values something like '/subfldr/myannouncement'? Keep up the good work! cheers, Olli -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] IAX2 problem for WAN connections
On Thursday 05 Feb 2015, jg wrote: Calling from ServerB to ServerA works, but not vice versa. The only odd thing that appears to me is the different perceived port on ServerA. ServerA*CLI iax2 show registry Host dnsmgr Username PerceivedRefresh State 80.152.xxx.xxx:4569 N ServerA 79.233.yyy.yyy:45697 60 Registered ServerB*CLI iax2 show registry Host dnsmgr Username Perceived Refresh State 79.233.yyy.yyy:4569 N ServerB 79.233.yyy.yyy:4569 60 Request Sent Does someone have an idea at what to look in detail? Look in /etc/asterisk/iax.conf in the first instance. -- AJS Note: Originating address only accepts e-mail from list! If replying off- list, change address to asterisk1list at earthshod dot co dot uk . -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] IAX2 problem for WAN connections
Hi, I am trying to connect two Asterisk servers using IAX2. Everything works fine when I couple them within a LAN segment, but not when I connect them using WAN connections. I made sure that the routers' ports are mapped properly and checked this with additional ssh rules. ServerA is a Raspberry box with the vendor's Asterisk version 1.8.13.1 and ServerB is normal CentOS 7 box with Asterisk 13.1. Calling from ServerB to ServerA works, but not vice versa. The only odd thing that appears to me is the different perceived port on ServerA. ServerA*CLI iax2 show registry Host dnsmgr Username PerceivedRefresh State 80.152.xxx.xxx:4569 N ServerA 79.233.yyy.yyy:45697 60 Registered ServerB*CLI iax2 show registry Host dnsmgr Username Perceived Refresh State 79.233.yyy.yyy:4569 N ServerB 79.233.yyy.yyy:4569 60 Request Sent Does someone have an idea at what to look in detail? jg -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] constantly increasing load in Asterisk 11.14
Can you tell me if the memory usage by Asterisk is also increasing with load over time? On Thu, Feb 5, 2015 at 4:53 AM, Sebastian Damm d...@sipgate.de wrote: Hi, we have quite a few Asterisk machines running and try to keep them on a current version of the Asterisk 11 branch. But since we upgraded to 11.14.0 a couple weeks ago, we have to restart the Asterisk process every week because the load gets too high and our monitoring complains. Those machines are doing only SIP-to-SIP call relay, the dialplan is quite complex, transcoding is done only on a few percent of the calls processed. During the daytime, there are at max around 200 SIP channels (100 calls) running at the same time. After one week, one machine has processed about 170k calls. I have uploaded a comparison of cacti load graphs for one week of a machine running with 11.14.0 and one running with 11.6.0: http://pbrd.co/1v0SO3R As you can see, after a restart, both machines have about the same load. But after the really quiet weekend, the 11.14 Asterisk starts the new week with a much higer load than the 11.6 Asterisk, where it stays constant. We've had an 11.5.1 machine running for about half a year without the need of restarting, but right now, this is not possible. Has anyone seen this before? Or does anyone know a reason, what change somewhere between 11.6 and 11.14 could cause this behaviour? It looks like we have to go back to 11.6. Best Regards, Sebastian -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- [image: Digium logo] Scott Griepentrog Digium, Inc · Software Developer 445 Jan Davis Drive NW · Huntsville, AL 35806 · US direct/fax: +1 256 428 6239 · mobile: +1 256 580 6090 Check us out at: http://digium.com · http://asterisk.org -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] IAX2 problem for WAN connections
I found a way that works. Essentially, I deleted the register lines and added the hosts with deny all and specific permit specs. I don't know why it works, but it does. jg -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] [OT] IP Phone with Braille console for blind reseptionist
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi list, I'm currently working on a project where the customer is employing a blind person as receptionist: she has an Alcatel phone with extensions and a Braille console connected via serial port. I've searched for something similar for IP telephony, but found nothing. Has someone used such equipment? Else I'm thinking of using a PC with receptionist software and Braille console attached, but does that exist? Thanks, - -- Jean-Denis Girard SysNuxSystèmes Linux en Polynésie française http://www.sysnux.pf/ Tél: +689 40.50.10.40 / GSM: +689 87.79.75.27 -BEGIN PGP SIGNATURE- iEYEARECAAYFAlTToxAACgkQuu7Rv+oOo/gnkACdHESfvDUWYGh6Spo301BT1gIA shUAn2qiJcC1K0PWh715vc+Ns9uz0d8+ =XQVi -END PGP SIGNATURE- -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] When are /proc/dahdi files created
On Wed, Feb 4, 2015 at 5:54 PM, Michelle Dupuis mdup...@ocg.ca wrote: Can someone tell me when the /proc/dahdi files are created for spans? That file structure is created by dahdi and the associated board driver after they are modprobed into the kernel. -- Russ Meyerriecks Digium, Inc. | Linux Kernel Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA direct: +1 256-428-6025 Check us out at: www.digium.com www.asterisk.org -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] IAX2 problem for WAN connections
On Thursday 05 Feb 2015, jg wrote: Calling from ServerB to ServerA works, but not vice versa. The only odd thing that appears to me is the different perceived port on ServerA. Does someone have an idea at what to look in detail? Look in /etc/asterisk/iax.conf in the first instance. Basically I used the example from the Asterisk book Connecting Two Asterisk Boxes Together via IAX and there is not a lot to see: ; Server A [general] ; this boxremote IP register = ServerA:very_sec...@80.152.xxx.xxx disallow=all allow=alaw allow=ulaw allow=gsm jitterbuffer=no forcejitterbuffer=no autokill=yes ; the other box [ServerB] type=friend trunk=no auth=md5 encryption=yes secret=very_secret context=from-ServerB qualify=yes host=dynamic ; end of Server A ; Server B [general] ; this boxremote IP register = ServerB:very_sec...@79.233.yyy.yyy disallow=all allow=alaw allow=ulaw allow=gsm jitterbuffer=no forcejitterbuffer=no autokill=yes ; the other box [ServerA] type=friend trunk=no auth=md5 encryption=yes secret=very_secret context=from-ServerA qualify=yes host=dynamic ; end of Server B If I replace the WAN addresses of the two routers with addresses on the LAN, everything works. Currently, I am not sure whether it could be a NAT related or Asterisk configuration problem. jg -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] constantly increasing load in Asterisk 11.14
On 05/02/15 10:53, Sebastian Damm wrote: Hi, we have quite a few Asterisk machines running and try to keep them on a current version of the Asterisk 11 branch. But since we upgraded to 11.14.0 a couple weeks ago, we have to restart the Asterisk process every week because the load gets too high and our monitoring complains. Those machines are doing only SIP-to-SIP call relay, the dialplan is quite complex, transcoding is done only on a few percent of the calls processed. During the daytime, there are at max around 200 SIP channels (100 calls) running at the same time. After one week, one machine has processed about 170k calls. I have uploaded a comparison of cacti load graphs for one week of a machine running with 11.14.0 and one running with 11.6.0: http://pbrd.co/1v0SO3R As you can see, after a restart, both machines have about the same load. But after the really quiet weekend, the 11.14 Asterisk starts the new week with a much higer load than the 11.6 Asterisk, where it stays constant. We've had an 11.5.1 machine running for about half a year without the need of restarting, but right now, this is not possible. Has anyone seen this before? Or does anyone know a reason, what change somewhere between 11.6 and 11.14 could cause this behaviour? It looks like we have to go back to 11.6. We see it in the certified version which is currently 11.6. We have about 50% higher call volume on our servers than yourselves and it does take about 3-4 months for the load to reach about 5. I don't know what causes it but we take the servers out of our load balancing and restart asterisk every few months and this returns the load to normal. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] constantly increasing load in Asterisk 11.14
Hi, we have quite a few Asterisk machines running and try to keep them on a current version of the Asterisk 11 branch. But since we upgraded to 11.14.0 a couple weeks ago, we have to restart the Asterisk process every week because the load gets too high and our monitoring complains. Those machines are doing only SIP-to-SIP call relay, the dialplan is quite complex, transcoding is done only on a few percent of the calls processed. During the daytime, there are at max around 200 SIP channels (100 calls) running at the same time. After one week, one machine has processed about 170k calls. I have uploaded a comparison of cacti load graphs for one week of a machine running with 11.14.0 and one running with 11.6.0: http://pbrd.co/1v0SO3R As you can see, after a restart, both machines have about the same load. But after the really quiet weekend, the 11.14 Asterisk starts the new week with a much higer load than the 11.6 Asterisk, where it stays constant. We've had an 11.5.1 machine running for about half a year without the need of restarting, but right now, this is not possible. Has anyone seen this before? Or does anyone know a reason, what change somewhere between 11.6 and 11.14 could cause this behaviour? It looks like we have to go back to 11.6. Best Regards, Sebastian -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users