Tuesday, January 19, 2021

Configure Asterisk to support WebRTC

What is WebRTC

Web Real-Time Communication (WebRTC) is a collection of standards, protocols, and JavaScript APIs, the combination of which enables peer-to-peer audio, video, and data sharing between browsers (peers).  It is supported on all modern browsers and native clients in major platforms.

You may be an user of WebRTC already because many famous audio/video communication applications involve this technology.  Examples are Whatspp, Google Meet and Facebook Messenger.

WebRTC also enables browser-based VoIP telephony, which means that you can make and receive calls within a web browser.  There is no need to install a softphone.

Here, we focus on what benefits WebRTC brings to your business and how it works with the Asterisk-based IPPBX.

Benefits of using WebRTC together with your IPPBX

  • When your web site visitor needs assistance on a product or an online service, he can simply click on a call button and get in touch with your agent instantly, no matter he is in front of a PC or using mobile phone.

  • The online call is free for visitors and they can talk with your agent from anywhere worldwide.  it improves customer experience and your relationship with them.

  • It eliminates the need for toll-free numbers, saving your telco expenses

  • Enabled with WebRTC, IPPBX can despatch the online call to your agents like traditional incoming call; it can go through IVR, ACD and various call routing rules.

  • You can even embed the call button in your email communications with customers

  • Webrtc call is encrypted and secured.  It is safe to use it over public internet.

Configuring Asterisk to  support WebRTC

There are a couple of things worth your consideration when configuring Asterisk to support webrtc.

  • Preferably you use updated version of Asterisk (version 15.5 or higher) 

  • Use chan_pjsip which is the newer SIP stack for Asterisk

  • Since WebRTC API includes no provisioning for signalling, we have to enable websocket as a transport where SIP signaling protocol takes place

  • You need a SSL certificate for the websocket to work.

  • In case your existing Asterisk (where your IPPBX extensions and call features are located) is of earlier versions, you can install a newer version to act as a gateway between WebRTC call and your existing asterisk.

Calling the WebRTC API from your web site

Most modern browsers have built-in support for WebRTC API and these API could be called via javascript.  In general, to add a browser call button in your web site html code, you would have to include the required js library and write some javascript codes to take control of the audio stream (ie your MIC & Speaker), establish call with the IPPBX (call signalling) and carry out the audio transmission.

Demonstration

Here is a demonstration showing how you call our Asterisk-based IPPBX by a browser button.  The call is handled by an illustrative agent queue.

https://ippbx01.starlingtech.hk:8089/static/click2call/index.html

123 comments:

  1. Branded Canopy Tents provides all your custom tents, custom canopy, logo tents, custom pop up tents, trade show tents, promotional tents, advertising flags, and trade show displays products and accessories. Branded Canopy Tents only uses the highest quality material and focuses on ensuring customer satisfaction, offering fast response times and fast turnaround times. If you are in the market for a professional company for trade show accessories or printed tents, Branded Canopy Tents is ready to help.

    Custom Pop Up Tents & Canopies

    ReplyDelete
  2. Thanks for right nice information about this best topic Such an Awesome Blog !! Keep up the Good Work !! all details about it really interesting. gk guru

    ReplyDelete
  3. Thanks for sharing nice information about this best topic Such an Awesome Blog !! Keep up the Good Work !! all details about it really interesting.
    Find the best quality custom canopy tent!. We can customise any part of your tent to include. your branding, Logo messaging and theme. These tents are easy to assemble and easy to carry.

    ReplyDelete
  4. Sensitive and important information is worth reading carefully like this one.
    From Best Domain Extensions Leading The Internet

    ReplyDelete
  5. Thanks for providing us very newly helpful information. it definitely help us by creating our own website
    Best custom tents! canopy for any events or trade shows. Get your customers attention through this tent with High quality printing and free 2D/3D graphics available. Order now. Starline Tents.

    ReplyDelete
  6. Very informative blog, thanks for sharing
    Increase your brand awareness within the world's largest professional community. Target audiences in trade show displays, exhibitions, expos, events. To provide you high quality and affordable trade show solutions to meet your budget and marketing needs. It is essential for any business to have a brand identity to stand apart from other competitive businesses in the industry.

    ReplyDelete
  7. Download latest bollywood hollywood hd movies only on Sdmoviespoint

    ReplyDelete
  8. Download latest bollywood hollywood hd movies only on Sdmoviespoint

    ReplyDelete
  9. Such a very useful article. Very interesting to read this article. I would like to thank you for the efforts you had made for writing this awesome article
    Starline Displays

    ReplyDelete
  10. This is very interesting,Wow, fantastic weblog format! Very helpful advice on this article.
    I’ve shared your website in my social networks!thank a lot for your sharing
    NDIS Specialist offers training courses from renowned publishers in Australia.These training
    courses cover a range of skills and knowledge in various areas including Business Services, Community Services,
    Cleaning Operations, Financial Services, Foundation Skills, Health, Information and Communications Technology,
    Retail Services, Tourism, Travel and Hospitality, Training and Education, Transport and Logistics. The NDIS
    providers may choose these courses for their support workers as well as management employees for their skill
    development.

    ReplyDelete
  11. Chris Peris

    Thanks for this helpful article. If anyone wants to transfer playlists/songs between spotify/apple music and more. Then you can use MusConv.com. MusConv – the easiest way to transfer your music data!

    ReplyDelete
  12. That is true to become full time blogger and you have made a wonderful explanation.
    KGF Chapter 2

    ReplyDelete
  13. This is an incredible posting! I quite enjoyed reading it, you happen to be a great author. I will remember to bookmark your blog and will eventually come back very soon. Also, share with my community and friends. Take a look for some cool think here Buy Instagram Likes

    ReplyDelete
  14. thanks for this valuable information it really helped me a lot

    see magic

    ReplyDelete
  15. I agree so much. we should all be reinforcing positive feedback within the comment sections. So many good points to take into consideration.
    When people have good things to say about my web site เว็บหวยดีที่สุด... it really makes positive impact.

    ReplyDelete
  16. Very interesting to read this article. I agree so much. I enjoyed reading this, you can be a great writer. I will remember to bookmark your blog and will be back soon. Also, share with my community and friends. Check out some cool thoughts here https://buylinkedinaccount.com/

    ReplyDelete
  17. Good job friend..

    https://www.dibisikin.com/
    https://www.dibisikin.com/

    ReplyDelete
  18. It's amazing to go to see this web page and reading the views of all
    friends regarding this article, while I am also
    zealous of getting familiarity.

    https://cracksz.com/pc-mark-crack-with-serial-key/
    https://cracksz.com/windows-10-loader-crack/
    https://cracksz.com/itools-4-5-0-5-license-key-crack/
    https://crackcut.com/turbocollage-7-2-2-0-crack/
    https://crackcut.com/advanced-systemcare-14-crack/
    https://crackcut.com/mixpad-crack/
    https://cracktips.com/davinci-resolve-crack/
    https://cracktips.com/mirillis-action-crack/
    https://cracktips.com/vmware-workstation-pro-crack/

    ReplyDelete
  19. Pretty good post. I have really enjoyed reading your blog posts amazing blog

    ReplyDelete
  20. Download Bollywood Hollywood HD Mp4 Movies On Sdmoviespoint

    Download Hot Web Series And 18+ Movies Only On SD Movies Point

    ReplyDelete
  21. I agree so much. we should all be reinforcing positive feedback within the comment sections. So many good points to take into consideration.
    When people have good things to say about my web site it really makes positive impact.

    เว็บหวยดีที่สุด

    ReplyDelete
  22. Bitcoin ATM in south Africa. Get the latest updates about bitcoin ATM first of its kind in south Africa going live right Here..https://testboo.com/crypto/bitcoin-atm-south-africa-cryptocurrency-machine/

    ReplyDelete
  23. Nice article keep it up
    L
    You can check my article regarding on page SEO easily you can rank your article high on search engines 👇
    secret on page SEO techniques

    Follow my social networks for funny memes and odd news

    Facebook page 👇
    follow Facebook page
    Twitter👇
    Join Twitter
    Telegram👇
    Join Telegram

    ReplyDelete
  24. A place to do good business. I bought few different things from 2A Warehouse.
    Great quality kits are coming out of this place. The pricing is reasonable and shipping fast.
    Had a great overall experience dealing with these guys. If you guys have purchased any products from 2A Warehouse,
    you can share your reviews on this thread. Click here to read our review rules and guidelines in detail.

    2a Warehouse Reviews

    ReplyDelete
  25. Very good post & most useful information in this article Thanks
    Torrent Movie Site : Tamilrockers

    ReplyDelete
  26. Its a really great article I have seen today, I appreciated your hard work and experience. I would like to seek more information like this.hasztagi instagram

    ReplyDelete
  27. Simlab Composer Crack Free Download is a complete, easy, affordable, and feature-rich solution enabling you to communicate your 3D ideas with ease.simlabcomposercrack

    ReplyDelete
  28. 2021 new Service For Tourists in New York city
    Sweet and sensational Lucy came to my place last weekend when I booked her through a phone call. And she brought complete erotic aura with herself. She had the amazing skills and she did it excellently to satiate my lust. Really, it was an exciting and then after completely relaxing experience.
    Nick
    https://nycorientalescorts.com/tips-choosing-new-york-escort-services/

    ReplyDelete
  29. I recommend you to have a look at this blog and order a good content for your site. You really need it!

    ReplyDelete
  30. Usually I never comment on blogs but your article is so convincing that I never stop myself

    to say something about it. i am Really very happy to say that this post is very interesting

    to read.
    You’re doing a great job Man, Keep it up.
    I blog at


    Killer Shayari

    ReplyDelete
  31. Thank you so much for the information that you have shared here with all of us. You have made it easier for us...

    digital marketing agency in usa

    ReplyDelete
  32. This is really an important blog with much helpful information. I have been searching for a long time for this types of content. Keep up posting more and thanks for your great staff. you may can visit my site Authority Beast

    ReplyDelete
  33. I was surfing the Internet for information and came across your blog. I am impressed by the information you have on this blog. It shows how well you understand this subject. Thanks for Sharing With US
    tension fabric displays

    ReplyDelete
  34. Roroos automatic watch winder is a handmade precision instrument designed with high performance to keep your timepiece wound and ready, powered with super silent motor.
    Collection
    Single Watch Winders
    Double Watch Winders
    Triple Watch Winders
    Quad Watch Winders

    ReplyDelete
  35. That was a really great. Helpful and insightful, as always! Thanks for the data and the supporting information.

    Satta Matka Official is #1 India satta matka website; find satta matka fastest result of इंडियन मटका 155, kalyan matka, sattamataka.in net, satta matka Jodi chart, sattamataka143, sattamàtka, golden matka, sattaking143 guessing, satkamatka.com, Sattaking, and more. Our advanced tips & tricks help to play this Satta game properly. The tips provided by our expert Matka guessers help you to win the game and become the Satta king.

    ReplyDelete
  36. Grow your money with onezypher. We are providing expert and effective guidance to our
    clients and HNI clients throughout the globe.

    ReplyDelete
  37. This comment has been removed by the author.

    ReplyDelete
  38. Cloud Timon Private Limited -Web Development, Web Designing company.

    We worked hard and established as the top ranked web development company in Hyderabad. Our dedication on work, our clear solution approach and reliability in being innovative made us top and made us as solid. With help from our customers, we keep on working and inventing new solutions for customers answers. We Offer Website Development at an Affordable Price in Hyderabad



    The professional web development company in Hyderabad with world-class services like web designing, web development, mobile app development, e-commerce application development, cms web development, custom web development, digital marketing. website designer | web developers | web design and development | Professional Web Design | custom web design | web application

    programming | e-commerce Web Design | software consulting | Web Designing.



    Cloud Timon Private Limited's Keywords



    website designer | web developers | web design and development | Professional Web Design | custom web design | web application | programming | e-commerce Web Design | software consulting | Web Design

    Cloud Timon

    Digital Marketing

    WordPress Web Development

    Web Designing

    Web Development

    ReplyDelete
  39. thanks for this valuable information it really helped me a lotmobile price in bd

    ReplyDelete
  40. Best web site for getting Trimmer related idea and sales Groom Reviews

    ReplyDelete
  41. thanks for this valuable information it really helped me a lotmobile price in bd
    bd Job

    ReplyDelete



  42. The top website in bd plasent to be going my your web jouranalonce more ,it has been months for me. This website is a work website, this is truly a decent.

    if you don't mind share more like that thanks everyone.So So come back to the visit website

    mobile price in bd

    ReplyDelete
  43. Confidence remained low until June because of widespread uncertainty which saw deal volumes drop by almost a third in the first half of the year compared to 2020. mobile price in bangladesh

    ReplyDelete
  44. This comment has been removed by the author.

    ReplyDelete
  45. Merci bcqqqq
    http://www.bikemamadelphia.com/2015/11/trying-to-bike-with-cancer-Kate-Mundie.html?showComment=1617981952062#c4635159871684193668

    ReplyDelete
  46. Great information really like it.I hope you will keep it on.thank you new laptop price

    ReplyDelete
  47. Nice your post.I hope you will keep it on.thank you new laptop price

    ReplyDelete
  48. Cung cấp thiết bị bếp công nghiệp, bếp nhà hàng – khách sạn, thiết bị inox, bếp Á, bếp Âu với giá cả cạnh tranh, cam kết chất lượng, tiến độ giao hàng – lắp đặt

    ReplyDelete
  49. Pleasure to read your blog...Keep it up your writing...GROW YOUR RESTAURANT

    ReplyDelete
  50. Thanks for right nice information about this best topic Such an Awesome Blog !! Keep up the Good Work !! all details about it really interesting. y2mate

    ReplyDelete
  51. I guess I am the only one who came here to share my very own experience. Guess what!? I am using my laptop for almost the past 2 years, but I had no idea of solving some basic issues. I do not know how to Download Cracked Application and install a crack pro software or any other basic crack version. I always really on others to solve my basic issues. But thankfully, I recently visited a website named Azharpc.org that has explained an easy way to install all All the Crack software for Windows and Mac.

    ReplyDelete
  52. This comment has been removed by the author.

    ReplyDelete
  53. Al Bait Al Raqi steel structures buildings are simple to build. Each component for simple identification: reduced steel building cost, environmentally friendly and environmentally friendly materials. Exact manufacturing standards make Al Bait Al Raqi a superb alternative for steel structures, no matter your construction project. Al Bait Al Raqi steel structure buildings are more reasonably priced than conventional building stick-built procedures.
    Visit: https://albaitalraqi.com/products/steel-structures/

    ReplyDelete
  54. Al Bait Al Raqi manufactures, delivers, designs, and puts in high-quality prefab houses in UAE and all around the Middle East region. Our prefabricated houses provide all demands and utilize various applications, like amenities, office and kitchen components, security rooms and labor camps, etc.
    visit: https://albaitalraqi.com/products/prefab-modular-buildings/prefab-houses/

    ReplyDelete
  55. Thanks for sharing nice information
    If you have a prefabricated house, prefab caravan, prefab office, containerized units, and no longer need your portable building, want to sell it? Al Bait Al Raqi is ready to offer you a cash or bank transfer for your cabin or building, paying you in full before removing it off your site.

    ReplyDelete
  56. Slot Online Deposit Pulsa have developed very rapidly from time to time. In addition, the bettors who like playing this Daftar Judi Online seem happy and support the existence of casino games that can be Link Mpo Slot. Because that way, bettors can still play whenever and wherever they want. It's different when playing <Agen Judi Mpo which requires them to go to a place just to play Situs Slot Mpo.

    However, how exactly is the development of the casino game. As we all know that casino games are very interesting to play. Likewise with that are played Mpo Slot online. There you will find a variety of very interesting games to play. In essence, in an Mpo Terbaik 2021 you can play a variety of games on just one site. In addition, if you manage to win every match, you will get a lot of very interesting advantages.

    ReplyDelete
  57. Thank you so much Love your blog I would love to share your article with other platforms. creative idea Thanks for sharing!

    ReplyDelete
  58. Awesome Writings!! Thanks The Author for this Nice writings. Will Visit Definitely again. Find Me
    Madrasha Board Dakhil Result 2021"

    ReplyDelete
  59. Perfect, I will implement asterisk to support WebRTC, I've looking for such integration and I finally, finally finded it!

    Thank you so much, seriously man! :)

    ReplyDelete
  60. SAVEMELOT is the best website to find the latest coupons on cars, promo codes, deals & offers to save on retail, travel, food, medicines. we have more than 3000+ coupons

    QEEQ deals

    ReplyDelete
  61. I am always searching online for articles that can help me. There is obviously a lot to know about this. I think you made some good points in Features also. Keep working, Good jobs Near me

    ReplyDelete
  62. Pleasure to read your blog...Keep it up your writing...Plisseestore24.deMENU

    ReplyDelete
  63. i really liked the article. its really good. Here is a amazing shop for PLISSEE that you might like

    ReplyDelete
  64. nice article , don't forget visiting to Jendela Artikel Millenial for more article

    ReplyDelete
  65. Nice post! You are sharing amazing information through your blog. I am a big fan of your excellent writing skills. paypallogin from across the globe with many areas of expertise.
    Paypal login

    ReplyDelete
  66. Motorcycle is one of the most popular vehicles in our country and all over the world. On this page, we are presenting you the Bangladeshi Motorcycle Prices with all the detailed information and latest updates.
    motorcycle price in bangladesh

    ReplyDelete
  67. Aktuelle nachrichten , aktuelle schlagzeilen und videos, news aus Deutschland, aktuelle nachrichten aus Europa und aller Welt. Wirtschaft, Finanzen, Fußball

    ReplyDelete
  68. máy phiên dịch cầm tay bạn có thể thoải mái giao tiếp với người nước ngoài không cần lo ngại vấn đề rào cản ngôn ngữ.
    may dich tieng anh cam tay

    ReplyDelete
  69. yerli arama motoru , son dakika, döviz, haberler, hava durumu, görseller, haritalar, videolar, alışveriş, aklına takılan her şeyin cevabı burada

    ReplyDelete
  70. Thanks for helping people get the information they need.
    Great stuff as usual. Keep up the great work.
    wellhello

    ReplyDelete
  71. Today I want to share 11 tips on terror from some writers of the genre, That s a good start if you want to scare your readers

    How to Scare Your Readers

    ReplyDelete
  72. cryptocurrency prices , cryptocurrencies, bitcoin, market cap, btc price, crypto market, crypto exchange, crypto news, ethereum, litecoin, dogecoin, xrp

    ReplyDelete
  73. movie database , tv shows, trailer, movie ratings, movies, movie reviews, tmovie is the world's most popular database for movie, TV and celebrity content

    ReplyDelete
  74. This is an incredible posting! I quite enjoyed reading it, you happen to be a great author. I will remember to bookmark your blog and will eventually come back very soon. Also, share with my community and friends. Take a look for some cool think here Buy

    Clean Eat Guide

    ReplyDelete