AMI Launcher for Asterisk / Elastix / FreePBX

amilaunchernewДавно хотел написать универсальное приложение для Asterisk, которое могло бы запускать внешнее приложение после поднятия трубки оператором.

“Для чего это нужно?” –  спросите вы, и это будет хороший вопрос. Это бывает необходимо в тех случаях, когда нет возможности/желания/средств на интеграцию вашей системы IP-телефонии на основе Asterisk в вашу CRM, backoffice или “систему помощи клиентов”. Предположим, у нас есть некий backoffice с возможностью поиска клиентов по номеру телефону. И мы хотим автоматизировать процесс поиска так, чтобы при поступлении входящего вызова, оператор call-центра уже видел карточку клиента(его заказы или другую информацию). С помощью AMI-Launcher это реализуется проще-простого.

Возможности AMILauncher:

  • Возможность выполнения внешней программы, после поднятия трубки оператором.
  • Возможность выполнения внешней программы, перед поднятием трубки оператором.
  • В качестве аргумента к внешним программам имеется возможность отправить входящий CallerID через параметр {num};
  • Программа работает с сервером Asterisk через AMI;
  • В качестве внешнего приложения можно указать как прямой путь до программы Windows, так и http/https-адрес.

Пример использования:

[tube]https://www.youtube.com/watch?v=lBFSf0Hunao[/tube]

Исходники:

https://github.com/voiplab/AMI-Launcher-Asterisk

Настройки программы:

  • Server – cервер Asterisk;
  • Port – порт AMI (по-умолчанию 5038);
  • Login – логин пользователя AMI;
  • Password – пароль пользователя AMI;
  • Phone num – внутренний номер оператора;
  • Length – длина телефонного номера звонящего, больше которого происходит срабатывание;
  • Exec after answer – внешнее приложение, которое выполнится при поднятии трубки оператором;
  • Exec before answer – внешнее приложение, которое выполнится в момент поступления входящего вызова оператору;
  • Agruments – Аргумент, который будет отправлен внешнему приложению;
  • Autostart at Logon – Настройки автозапуска;
  • Autologin – подключаться к серверу Asterisk сразу после запуска программы

Настройка Asterisk на работу с AMI-Launcher:

открываем файл конфигурации /etc/asterisk/manager.conf и создаем нового пользователя с правами на чтение call. Пример:

[general]
enabled = yes
port = 5038
bindaddr = 0.0.0.0

[demo]
secret=demo
read=call,
write=
deny=0.0.0.0/0.0.0.0
permit=0.0.0.0/0.0.0.0

Сохраняем файл конфигурации и даем команду на чтение настроек Asterisk:

asterisk -rx "module reload manager"

Настройка AMI-Launcher на работу с Asterisk:

настройка программы очень проста. Заполните все необходимые поля и соединитесь с сервером. Пример можно посмотреть на первой картинке. В параметр {num} будет подставляться CallerID.

Где скачать программу:

Скачать или перейти в раздел Загрузки

У меня Chrome по какой то причине “не рекомендует загружать файл”.

Стоимость программы:

Бесплатно, но если вам понравилась, вы можете перечислить небольшое вознаграждение

  • Yandex-деньги: 41001448832030

Лицензия на использование и распространение программы:

Все права на программу AMILauncher for Asterisk принадлежат её автору. Автор программы: Рукавков Никита Олегович, г.Санкт-Петербург, Россия.

Программа AMILauncher for Asterisk распространяется «так как есть». При этом не предусматривается никаких гарантий, явных или подразумеваемых. Вы используете программу на свой собственный риск. Автор не гарантирует, что она не содержит ошибок, а также не несет никакой ответственности за прямые или косвенные убытки применения или не применения программы, в том числе возникшие из-за возможных ошибок или опечаток в её комплекте.

Программа распространяется бесплатно.

Если, вы используете программу, вы соглашаетесь со всеми пунктами лицензионного соглашения на программу. Если вы не согласны с условиями данной лицензии, то вы должны удалить все файлы программы со своих устройств хранения информации и отказаться от дальнейшего использования этого программного продукта.

Вопросы, предложения, сообщения об ошибках, свои тесты присылайте по e-mail: support[@]voip-lab.ru

2 099 комментариев к “AMI Launcher for Asterisk / Elastix / FreePBX

  1. I simply couldn’t depart your site before suggesting that I extremely enjoyed the usual information an individual provide in your guests? Is going to be back incessantly to investigate cross-check new posts|

  2. Hello there, just became aware of your blog through Google, and found
    that it’s really informative. I’m gonna watch out for brussels.
    I’ll appreciate if you continue this in future. Lots of people will be benefited from your writing.
    Cheers!

  3. Aw, this was a truly good article. In concept I would like to place in creating similar to this additionally? taking time as well as actual initiative to make a great short article? but what can I say? I put things off alot as well as never seem to get something done.

  4. The following time I check out a blog site, I hope that it does not dissatisfy me as much as this. I imply, I know it was my option to check out, but I really thought youd have something interesting to state. All I listen to is a number of grumbling regarding something that you could take care of if you werent too busy trying to find interest.

  5. Howdy! I could have sworn I’ve visited this website before but
    after looking at many of the articles I realized it’s new to me.
    Anyhow, I’m certainly happy I found it and I’ll be book-marking it and
    checking back often!

  6. Warning: Vernon Hills, IL and Libertyville, IL and surrounding 50 miles radius area is in active war zone ! Towns are held hostage by UK agents, Russian spies, Indian spies, Mexican spies, Chinese spies, and other Hispanic spies

  7. Oh my goodness! a fantastic post man. Thank you Nonetheless I am experiencing concern with ur rss. Don?t understand why Incapable to sign up for it. Exists any person getting the same rss problem? Anybody who recognizes kindly react. Thnkx

  8. Oh my goodness! a remarkable post dude. Thanks However I am experiencing issue with ur rss. Don?t recognize why Unable to sign up for it. Is there anyone obtaining identical rss trouble? Anybody who understands kindly respond. Thnkx

  9. There are definitely a lot of details like that to consider. That is a great point to raise. I offer the ideas above as general motivation yet clearly there are concerns like the one you bring up where the most important thing will be operating in truthful good faith. I don?t recognize if ideal techniques have actually arised around things like that, but I am sure that your task is plainly identified as a fair game. Both young boys and women feel the effect of simply a moment?s pleasure, for the rest of their lives.

  10. After research study a few of the article on your site currently, and also I truly like your method of blogging. I bookmarked it to my book marking web site listing and also will certainly be examining back quickly. Pls look into my website too as well as let me understand what you assume.

  11. It’s appropriate time to make some plans for the future and it is
    time to be happy. I have read this post and if I could I want to suggest you some
    interesting things or tips. Perhaps you can write next articles referring to this article.
    I want to read more things about it!

  12. Hey would you mind letting me know which hosting company you’re using?
    I’ve loaded your blog in 3 different internet
    browsers and I must say this blog loads a lot quicker then most.
    Can you suggest a good hosting provider at a honest price?
    Many thanks, I appreciate it!

  13. Hey would you mind sharing which blog platform you’re working with?

    I’m planning to start my own blog soon but I’m having a difficult time selecting between BlogEngine/Wordpress/B2evolution and Drupal.
    The reason I ask is because your design and style seems
    different then most blogs and I’m looking for something completely
    unique. P.S My apologies for being off-topic but I had to ask!

  14. It is the best time to make some plans for the longer term and it’s time to be happy.
    I’ve learn this post and if I may just I desire to suggest you some
    fascinating things or suggestions. Maybe you can write next articles referring to this article.

    I want to read more things approximately it!

  15. I have to point out my gratitude for your kindness giving support to individuals who really want assistance with that idea. Your special dedication to passing the solution up and down appeared to be extremely interesting and has regularly enabled people like me to arrive at their goals. Your entire important facts implies much to me and additionally to my peers. Warm regards; from everyone of us.

  16. I wish to show thanks to the writer for bailing me out of this type of problem. After checking throughout the internet and finding opinions that were not pleasant, I thought my life was well over. Existing without the answers to the problems you have fixed by means of this report is a critical case, as well as those which may have in a wrong way damaged my career if I hadn’t noticed your web page. Your actual ability and kindness in taking care of almost everything was precious. I’m not sure what I would have done if I hadn’t come upon such a solution like this. It’s possible to now look forward to my future. Thanks a lot very much for this reliable and sensible help. I won’t think twice to propose the website to anybody who would need guidance about this subject matter.

  17. I have to thank you for the efforts you have put in penning this blog. I am hoping to view the same high-grade blog posts by you in the future as well. In fact, your creative writing abilities has inspired me to get my own, personal site now 😉

  18. An outstanding share! I have just forwarded this onto a friend who has been doing a little research on this. And he actually ordered me dinner simply because I found it for him… lol. So let me reword this…. Thanks for the meal!! But yeah, thanx for spending time to discuss this issue here on your site.

  19. Hi there! This blog post could not be written much better! Looking through this post reminds me of my previous roommate! He always kept preaching about this. I most certainly will send this article to him. Pretty sure he’ll have a very good read. Thank you for sharing!

  20. Id like to thank you for that efforts youve got made in writing this write-up. I am hoping the exact same finest get the job done from you within the long term as well. Actually your inventive writing skills has inspired me to begin my personal BlogEngine blog now.

  21. I’m amazed, I must say. Seldom do I come across a blog that’s both equally educative and amusing, and let me tell you, you have hit the nail on the head. The issue is something that too few folks are speaking intelligently about. Now i’m very happy that I came across this during my search for something concerning this.

  22. Great message. I find out something extra tough on various blog sites day-to-day. It will certainly constantly be boosting to review material from other writers and also exercise a little something from their shop. I?d like to make use of some with the material on my blog site whether you don?t mind. Natually I?ll provide you a web link on your web blog site. Many thanks for sharing.

  23. I’m very happy to discover this great site. I want to to thank you for your time due to this wonderful read!! I definitely savored every little bit of it and i also have you book marked to see new stuff on your web site.

  24. Oh my benefits! an incredible short article guy. Thank you Nonetheless I am experiencing issue with ur rss. Don?t know why Not able to subscribe to it. Is there anybody getting identical rss problem? Any individual that understands kindly respond. Thnkx

  25. Hello there! I could have sworn I’ve visited this web site before but after going through some of the articles I realized it’s new to me. Regardless, I’m definitely happy I stumbled upon it and I’ll be book-marking it and checking back often!

  26. Hi, I do believe this is a great web site. I stumbledupon it 😉 I am going to revisit yet again since i have book marked it. Money and freedom is the best way to change, may you be rich and continue to help other people.

  27. I absolutely love your site.. Excellent colors & theme. Did you create this web site yourself? Please reply back as I’m planning to create my own personal site and would love to learn where you got this from or what the theme is named. Many thanks!

  28. I’m amazed, I must say. Seldom do I encounter a blog that’s both equally educative and interesting, and without a doubt, you have hit the nail on the head. The issue is something that too few people are speaking intelligently about. I’m very happy that I stumbled across this in my search for something relating to this.

  29. Hello there! This blog post couldn’t be written any better! Looking through this article reminds me of my previous roommate! He continually kept talking about this. I will send this post to him. Pretty sure he’s going to have a very good read. I appreciate you for sharing!

  30. After going over a handful of the articles on your blog, I really appreciate your way of writing a blog. I book marked it to my bookmark website list and will be checking back in the near future. Please check out my website as well and tell me your opinion.

  31. Oh my goodness! Incredible article dude! Thanks, However I am experiencing difficulties with your RSS. I don’t know the reason why I can’t join it. Is there anybody else getting similar RSS problems? Anyone that knows the answer can you kindly respond? Thanks!!

  32. When I originally commented I appear to have clicked the -Notify me when new comments are added- checkbox and from now on each time a comment is added I receive 4 emails with the exact same comment. There has to be an easy method you can remove me from that service? Kudos!

  33. I’m impressed, I must say. Seldom do I encounter a blog that’s both educative and amusing, and let me tell you, you have hit the nail on the head. The issue is something that too few people are speaking intelligently about. I am very happy that I stumbled across this during my search for something concerning this.

  34. Nice blog post. I learn something much more challenging on various blog sites everyday. It will constantly be stimulating to review web content from various other writers and also practice a something from their store. I?d like to utilize some with the web content on my blog whether you don?t mind. Natually I?ll give you a link on your internet blog. Thanks for sharing.

  35. Good day! I could have sworn I’ve visited this blog before but after looking at some of the posts I realized it’s new to me. Regardless, I’m definitely happy I discovered it and I’ll be bookmarking it and checking back often!

  36. I’m amazed, I must say. Seldom do I encounter a blog that’s both equally educative and interesting, and without a doubt, you’ve hit the nail on the head. The problem is something that too few folks are speaking intelligently about. Now i’m very happy that I stumbled across this during my search for something regarding this.

  37. Can I simply just say what a relief to discover someone who actually knows what they’re discussing on the net. You certainly understand how to bring an issue to light and make it important. More and more people ought to look at this and understand this side of the story. I was surprised that you are not more popular because you most certainly have the gift.

  38. Next time I read a blog, Hopefully it doesn’t disappoint me just as much as this particular one. I mean, I know it was my choice to read through, nonetheless I really thought you would have something useful to talk about. All I hear is a bunch of crying about something you could fix if you weren’t too busy looking for attention.

  39. The very next time I read a blog, Hopefully it doesn’t fail me just as much as this one. After all, Yes, it was my choice to read through, but I truly believed you’d have something useful to talk about. All I hear is a bunch of whining about something you could possibly fix if you were not too busy looking for attention.

  40. I am extremely inspired along with your writing talents and also with the structure to your weblog.
    Is this a paid subject matter or did you customize it yourself?
    Anyway keep up the nice quality writing, it’s rare to see a great blog like this one nowadays..

  41. The Gaming Club Casino also offers auction services to members, a sign-up bonus and cash
    gratuities available to players and club members alike.
    After the player receiving this bonus, these casinos
    offer other bonuses for future deposits. These
    players will be provided incentives for upcoming deposits that happen to be their casino accounts.

  42. Today, while I was at work, my sister stole my apple ipad and
    tested to see if it can survive a forty foot drop,
    just so she can be a youtube sensation. My iPad is now broken and she has 83 views.

    I know this is entirely off topic but I had
    to share it with someone!

  43. Can I just claim what a relief to discover a person who really knows what theyre talking about on the net. You most definitely recognize exactly how to bring an issue to light and also make it important. More individuals require to read this as well as understand this side of the tale. I cant believe youre not much more popular because you definitely have the present.

  44. Excellent beat ! I would like to apprentice at the same time as you amend
    your website, how could i subscribe for a blog
    site? The account aided me a applicable deal.
    I have been tiny bit familiar of this your broadcast offered shiny transparent concept

  45. We are a bunch of volunteers and opening a new scheme in our community.
    Your site provided us with helpful info to work on. You have performed an impressive process and
    our whole group might be grateful to you.

  46. Thanks for one’s marvelous posting! I certainly enjoyed reading it, you will be a great author.I will remember to bookmark your blog and may come
    back sometime soon. I want to encourage continue your great job, have a nice day!

  47. With havin so much content do you ever run into any issues of plagorism
    or copyright infringement? My site has a lot of completely unique content I’ve either
    created myself or outsourced but it appears a lot of it is popping it
    up all over the internet without my authorization. Do you know any methods
    to help protect against content from being
    stolen? I’d genuinely appreciate it.

  48. Greetings from Los angeles! I’m bored to death
    at work so I decided to check out your website on my iphone during lunch break.
    I enjoy the knowledge you provide here and can’t wait to take a look when I
    get home. I’m surprised at how quick your blog loaded on my cell phone ..

    I’m not even using WIFI, just 3G .. Anyhow, good blog!

  49. I’ve been exploring for a little bit for any high quality articles or weblog posts on this sort
    of house . Exploring in Yahoo I eventually stumbled upon this site.
    Studying this info So i am happy to exhibit that I’ve a very good uncanny feeling
    I discovered exactly what I needed. I such a lot without a doubt will
    make certain to do not forget this website and provides it
    a look on a continuing basis.

  50. You’re so awesome! I don’t suppose I’ve truly read
    a single thing like this before. So good to discover someone with a few unique thoughts on this subject.
    Seriously.. thanks for starting this up. This website is something that is needed on the internet,
    someone with a little originality!

  51. Hmm it looks like your blog ate my first comment (it
    was extremely long) so I guess I’ll just sum it up what I wrote and say, I’m thoroughly enjoying your blog.
    I as well am an aspiring blog writer but I’m still new to the whole thing.
    Do you have any tips and hints for novice blog writers?
    I’d genuinely appreciate it.

  52. I believe what you said was actually very reasonable.
    However, think on this, suppose you added a little content?
    I am not saying your information isn’t solid., however what if you added a headline that
    makes people want more? I mean AMI Launcher for Asterisk /
    Elastix / FreePBX – VOIP-LAB is a little vanilla.
    You should glance at Yahoo’s home page and watch how they create
    post headlines to get viewers interested. You might add a video or a picture or two to get people excited about what
    you’ve got to say. Just my opinion, it could make your website
    a little bit more interesting.

  53. With havin so much content do you ever run into any issues of plagorism or
    copyright infringement? My website has a lot of completely unique content I’ve either authored myself or outsourced but it looks like a lot of it
    is popping it up all over the internet without my permission. Do you know any techniques to help
    stop content from being ripped off? I’d truly appreciate it.

  54. Please let me know if you’re looking for a article writer for your blog.
    You have some really great articles and I think I would be a good asset.

    If you ever want to take some of the load off,
    I’d really like to write some material for your blog in exchange for a link back to
    mine. Please shoot me an email if interested. Cheers!

  55. Unquestionably believe that which you said. Your favorite justification seemed to be on the net the easiest thing to be aware
    of. I say to you, I certainly get irked while people think about worries that they
    just don’t know about. You managed to hit the nail upon the top and
    defined out the whole thing without having side-effects , people can take a
    signal. Will likely be back to get more. Thanks

  56. Pretty great post. I simply stumbled upon your weblog and
    wished to mention that I have really enjoyed surfing around your
    blog posts. After all I will be subscribing on your feed and I hope
    you write again very soon!

  57. Hello! I know this is kind of off topic but I was wondering if you knew where I could find a captcha
    plugin for my comment form? I’m using the same blog platform as yours and
    I’m having trouble finding one? Thanks a lot!

  58. Hey I know this is off topic but I was wondering if you
    knew of any widgets I could add to my blog that automatically tweet my newest twitter updates.
    I’ve been looking for a plug-in like this for quite some time
    and was hoping maybe you would have some experience with something like this.
    Please let me know if you run into anything. I truly enjoy reading
    your blog and I look forward to your new updates.

  59. Hi are using WordPress for your blog platform? I’m new to the blog world but I’m trying to get started
    and set up my own. Do you require any coding expertise to make your own blog?
    Any help would be really appreciated!

  60. Greetings from Colorado! I’m bored to death at work so I decided to check out your website on my iphone during lunch
    break. I really like the information you present here and can’t wait to take a look when I get home.
    I’m surprised at how fast your blog loaded on my mobile ..
    I’m not even using WIFI, just 3G .. Anyhow, superb site!

  61. Hello! This post couldn’t be written any better! Reading through this post reminds me of my previous room mate!
    He always kept chatting about this. I will forward this write-up to him.
    Fairly certain he will have a good read. Many thanks for sharing!

  62. Please let me know if you’re looking for a writer for your site.
    You have some really great posts and I feel I would be a good
    asset. If you ever want to take some of the
    load off, I’d really like to write some material for your blog in exchange for a link back to
    mine. Please blast me an e-mail if interested.
    Thank you!