Нагрузочное тестирование Elastix / NEOPbx / FreePBX / Asterisk

В данной заметке я расскажу вам про то, как вы можете своими силами организовать базовое нагрузочное тестирование с помощью утилиты sipp. Итак, качаем и устанавливаем последнюю версию:

$ wget https://github.com/SIPp/sipp/archive/3.4.0.tar.gz
$ tar xzfv ./3.4.0.tar.gz
$ sudo su
# cd sipp-3.4.0
# ./configure
# make
# make install

После успешной установки переходим к конфигурированию Elastix / NEOPbx / FreePBX. Я покажу пример подготовки к тестированию через WEB-интерфейс. Итак, первое, что необходимо сделать – это создать номер(Extension).  Если у вас уже есть существующий номер, который вы используйте, то можно пропустить этот шаг. Переходим во вкладку PBX > PBX Configuration > Extensions и жмем кнопку Submit, чтобы создать номер. Он нам понадобится для того, чтобы проверить что прохождение dialplan-а проходит как запланировано.

Далее необходимо создать номер

sipp 192.168.1.53 -s 8000 -i 192.168.1.67 -d 1h -l 50 -aa -mi 192.168.1.67 -rtp_echo -nd -r 5

192.168.1.53 – сервер Elastix / NEOPbx / FreePBX;
-s 8000 – Указывает номер который будет вызван. Может быть числом или текстом. (Значение по умолчанию – service);
-i 192.168.1.67 – Локальный IP адрес. Этот адрес будет использован в SIP сообщениях в качестве адреса источника сообщений. (По умолчанию – 127.0.0.1);
-d 1h – Устанавливает длительность звонков. В данном случае звонки будут длиться 2 часа. (По умолчанию – 1 секунда);
-l 50 – Ограничивает максимальное количество одновременных звонков;
-aa – Включает автоматические ответы 200 OK на сообщения INFO, UPDATE и NOTIFY;
-mi 192.168.1.67 – Устанавливает локальный IP для RTP;
-rtp_echo – Включает режим RTP эха. Все RTP пакеты полученные от удалённой стороны — отправляются обратно;
-nd – Отключает стандартную обработку неожиданных ситуаций — sipp будет прерывать звонки в случае получения неправильных SIP сообщений;
-r 5 – Устанавливает максимальную «скорость звонков» (CPS) в данном случае — не более 5 звонков в секунду.

93 комментария к “Нагрузочное тестирование Elastix / NEOPbx / FreePBX / Asterisk

  1. Hello there! This is my 1st comment here so I just wanted to give a quick
    shout out and tell you I really enjoy reading through your blog posts.
    Can you suggest any other blogs/websites/forums that go over the same topics?
    Thanks!

  2. I’m extremely inspired together with your writing skills and also with the format for your blog.
    Is that this a paid theme or did you customize it yourself?

    Either way stay up the nice high quality writing, it is uncommon to peer a
    great blog like this one these days..

  3. I simply want to mention I am beginner to blogging and site-building and honestly loved your web page. Likely I’m want to bookmark your site . You absolutely come with tremendous article content. Thanks a bunch for sharing your website page.

  4. Thanks for giving your ideas. I’d also like to mention that video games have been ever before evolving. Technology advances and innovations have made it easier to create realistic and active games. These kinds of entertainment video games were not as sensible when the real concept was first being attempted. Just like other forms of technologies, video games as well have had to grow via many many years. This is testimony to the fast progression of video games.

  5. I would like to thank you for the efforts you have put in writing this web site. I am hoping the same high-grade website post from you in the upcoming as well. In fact your creative writing abilities has inspired me to get my own web site now. Actually the blogging is spreading its wings rapidly. Your write up is a good example of it.

  6. You can certainly see your enthusiasm within the paintings you write. The world hopes for more passionate writers such as you who are not afraid to mention how they believe. Always go after your heart.

  7. I simply want to tell you that I am all new to weblog and absolutely liked your blog. Very likely I’m going to bookmark your blog . You certainly have wonderful well written articles. Thanks a bunch for sharing your web page.

  8. You can definitely see your skills in the paintings you write. The world hopes for more passionate writers such as you who aren’t afraid to mention how they believe. At all times follow your heart. “The only way most people recognize their limits is by trespassing on them.” by Tom Morris.

  9. Please let me know if you’re looking for a writer for your blog. You have some really good posts and I feel I would be a good asset. If you ever want to take some of the load off, I’d love to write some content for your blog in exchange for a link back to mine. Please blast me an email if interested. Cheers!

  10. I blog frequently and I genuinely appreciate your information. This article has really peaked my interest. I’m going to take a note of your site and keep checking for new information about once a week. I subscribed to your RSS feed as well.

  11. Thanks for your helpful post. Through the years, I have come to be able to understand that the particular symptoms of mesothelioma cancer are caused by the particular build up of fluid between the lining of the lung and the breasts cavity. The illness may start from the chest place and multiply to other body parts. Other symptoms of pleural mesothelioma include weight-loss, severe inhaling trouble, vomiting, difficulty ingesting, and puffiness of the face and neck areas. It ought to be noted that some people having the disease don’t experience almost any serious signs or symptoms at all.

  12. I just want to tell you that I’m newbie to weblog and truly enjoyed this blog site. Likely I’m going to bookmark your blog . You really come with awesome stories. Thank you for sharing your web site.

  13. I like your website.. great shades & motif. Performed people design and style this fabulous website yourself or even have people rely on someone else to make it work for you personally? Plz interact when I!|m looking to pattern by myself blog site plus would want to find out wherever u received this particular through. thank you

  14. This is the fitting weblog for anybody who needs to find out about this topic. You understand a lot its almost onerous to argue with you (not that I truly would need…HaHa). You definitely put a new spin on a subject thats been written about for years. Nice stuff, simply great!

  15. When I originally commented I clicked the -Notify me when new surveys are added- checkbox and already whenever a comment is added I receive four emails with similar comment. Perhaps there is by any means you can eliminate me from that service? Thanks!

  16. Hi there! I could have sworn I’ve been to this site before but after reading through some of the post I realized it’s new to me. Anyways, I’m definitely happy I found it and I’ll be bookmarking and checking back frequently!

  17. Hello there! I could have sworn I’ve been to this website before but after browsing through some of the posts I realized it’s new to me. Anyhow, I’m certainly pleased I stumbled upon it and I’ll be bookmarking it and checking back often.

  18. You could certainly see your enthusiasm within the paintings you write. The sector hopes for even more passionate writers such as you who are not afraid to mention how they believe. All the time go after your heart. “Man is the measure of all things.” by Protagoras.

  19. Thanks for expressing your ideas. The first thing is that individuals have an alternative between fed student loan plus a private student loan where its easier to choose student loan consolidation than with the federal education loan.

  20. Hello there! This is kind of off topic but I need some guidance from an established blog. Is it very difficult to set up your own blog? I’m not very techincal but I can figure things out pretty fast. I’m thinking about setting up my own but I’m not sure where to start. Do you have any ideas or suggestions? With thanks

  21. Thank you for each of your hard work on this web site. My daughter really loves doing investigations and it’s easy to see why. All of us hear all regarding the compelling manner you provide simple techniques on this web site and as well welcome participation from visitors on that idea and my girl is without a doubt becoming educated a whole lot. Take pleasure in the remaining portion of the year. You are carrying out a fabulous job.

  22. Having read this I believed it was rather informative. I appreciate you finding the time and energy to put this article together. I once again find myself personally spending a significant amount of time both reading and leaving comments. But so what, it was still worthwhile!

  23. Fantastic beat ! I would like to apprentice at the same time as you amend your site, how can i subscribe for a weblog web site? The account helped me a appropriate deal. I were tiny bit familiar of this your broadcast provided bright clear concept

  24. Oh my goodness! a wonderful write-up dude. Thanks a lot Nonetheless We are experiencing trouble with ur rss . Do not know why Not able to sign up to it. Perhaps there is anybody getting identical rss problem? Anyone who knows kindly respond. Thnkx

  25. Its like you read my mind! You appear to know so much about this, like you wrote the book in it or something. I think that you can do with some pics to drive the message home a little bit, but other than that, this is wonderful blog. A fantastic read. I’ll definitely be back.

  26. you are really a just right webmaster. The web site loading velocity is amazing. It kind of feels that you’re doing any distinctive trick. Moreover, The contents are masterwork. you’ve performed a magnificent process on this topic!

  27. Hi there! I could have sworn I’ve been to this blog before but after checking through some of the post I realized it’s new to me. Anyhow, I’m definitely delighted I found it and I’ll be bookmarking and checking back often!

  28. I loved as much as you’ll receive carried out right here. The sketch is attractive, your authored subject matter stylish. nonetheless, you command get got an nervousness over that you wish be delivering the following. unwell unquestionably come further formerly again since exactly the same nearly a lot often inside case you shield this hike.

Оставить ответ

Ваш адрес email не будет опубликован. Обязательные поля помечены *