Thursday, September 24, 2015

Tips of using Elastix in your business center

Elastix is a feature-rich PBX system built on top of Asterisk.  It simplifies many administrative tasks via providing a GUI, making it a good choice for IT/administrator to adopt the open-source platform.

What is more, Elastix has a useful feature for business center.  The inbound route allows us to specify a DID-based text that would be shown on the front-desk IP phone.  It could be the company name of a business center's tenant and the front-desk staff could greet the caller accordingly.

By default, Elastix disallows input of UTF-8 characters in this text.  We can enable it with a few modifications and the front-desk staff could then see Chinese company name.

First of all, we have to change the charset of  the table asterisk.incoming to utf8.  This table keeps the information of the inbound route.

By enabling support of utf8, we can keep Chinese characters in the inbound route.

Secondly, we can use a quick way to disable the charset restriction in the php page that handles inbound route input.  Below code disables the charset validation in the corresponding php. 

1. /var/www/html/modules/pbxadmin/js/libfreepbx.javascripts.js
… (Line 1 to 129)
function isLetter(c)
{return true;}
//{return(((c>="a")&&(c<="z"))||((c>="A")&&(c<="Z"))||(c==" ")||(c=="&")||(c=="'")||(c=="(")||(c==")")||(c=="-")||(c=="/"))}
function isURLChar(c)
{return(((c>="a")&&(c<="z"))||((c>="A")&&(c<="Z"))||(c==":")||(c==",")||(c==".")||(c=="%")||(c=="#")||(c=="-")||(c=="/")||(c=="?")||(c=="&")||(c=="="))}
function isCallerIDChar(c)
{return true;}
//{return(((c>="a")&&(c<="z"))||((c>="A")&&(c<="Z"))||((c>="0")&&(c<="9"))||(c==":")||(c=="_")||(c=="-")||(c=="<")||(c==">")||(c=="(")||(c==")")||(c==" ")||(c=="\"")||(c=="&")||(c=="@")||(c==".")||(c=="+"))}

2. /var/www/html/admin/components.class.php
find and replace the code from htmlentities($currentvalue) to htmlentities($currentvalue, ENT_COMPAT | ENT_HTML401, "utf-8")



Now, you can create an Inbound Route with a Chinese CID prefix.  If the inbound route is hit by an incoming call, the CID prefix would be sent as part of the caller name to the route destination.  If your destination phone is capable of displaying Chinese characters, you will see the CID prefix string associated with the DID number.



Input Chinese characters in Inbound Route
IP phone shows Chinese CID prefix

    

64 comments:

  1. Hi Derek,

    Thanks for your sharing.
    Is this setting only apply on Elastix 2.4? As i can't found the js folder under '/var/www/html/modules/pbxadmin/' with Elastix 2.5

    Thanks
    Alan

    ReplyDelete
    Replies
    1. Hi Alan, We have only tested it on 2.4. Thanks :)

      Delete
    2. Hi Derek,

      Thanks for your reply.

      Delete
    3. I appreciate your idea here. Definitely it has a good content. Thank you for imparting more of your own thoughts. Good job!
      BODY JEWELRY | NOSE STUDS

      Delete
  2. voip business Our data centres are based in the UK and the Xinix VoIP wholesale is becoming an increasingly popular business model nowadays. It supposes tra c aggregation and exchange between VoIP operators. In other words, wholesale VoIP providers receive tra c from one carrier and transmit it to another one acting as a ‘man in the middle’ between them.
    http://www.xinixworld.com/small-business-hosted-voip-providers-uk/

    ReplyDelete
  3. Become the best voip reseller services provider and earn quick money by providing Internet phone services. You only need signing for a reseller program to start the service.Visit here:- http://bit.ly/2bOvCoB

    ReplyDelete
  4. Myicon serviced office provides fully furnished serviced office and Business Center. The fully furnished serviced office offers free internet access, photocopying, pantry, and customer reception services as well as fully-equipped conference rooms.

    ReplyDelete
  5. International Phone Call Communication, International SMS And Voice Service.Voip System, IP Phone Ant Tone,Inc. voip phone

    ReplyDelete
  6. It is Very Useful information, this is both good reading for, have quite a few good key points and I learn some new stuff from it too. It's necessary to know about this. Keep continuing the post.
    buy gw

    ReplyDelete
  7. I appreciate your idea here. Definitely it has a good content. Thank you for imparting more of your own thoughts. Good job! buy mt2 10mg

    ReplyDelete
  8. Thank you for the great article.

    Chris
    Owner CEL Financial Services
    IRS Registered Tax Preparer
    Registered bonded California CTEC Tax Preparer
    https://incometaxprepfillmore.com/income-tax-piru-ca

    ReplyDelete
  9. This blog is very intersting for me and for those who are interested in blogging field. You’re doing great work and thanks for sharing such a good blog, Keep it up.
    If anyone looking for "Matrimonial Services" Please visit our website. Best matrimonial service in all over India and abroad.
    Best Matrimonial Sites

    ReplyDelete
  10. Your article is very useful for me, your website also looks very good.
    Visit us To Download :
    - Brother Printer Drivers
    - Canon Printer Drivers
    - Samsung Printer Drivers

    ReplyDelete
  11. I am very impressed for your great information.Thanks a lot for sharing.
    Flexiload Software Available here

    ReplyDelete
  12. Very good article, hope this article is useful for other writers and readers. india tourist visa

    ReplyDelete
  13. Nice information, valuable and excellent design, as share good stuff with good ideas and concepts, lots of great information and inspiration, both of which I need, thanks to offer such a helpful information here.

    DATA ANALYTICS CERTIFICATION

    ReplyDelete
  14. You will get an introduction to the Python programming language and understand the importance of it. How to download and work with Python along with all the basics of Anaconda will be taught. You will also get a clear idea of downloading the various Python libraries and how to use them.
    Topics
    About Excelr Solutions and Innodatatics
    Introduction to Python
    Installation of Anaconda Python
    Difference between Python2 and Python3
    Python Environment
    Operators
    Identifiers
    Exception Handling (Error Handling)

    [url=https://www.excelr.com/data-science-certification-course-training-in-singapore]Excelr Solutions[/url]

    ReplyDelete
  15. You will get an introduction to the Python programming language and understand the importance of it. How to download and work with Python along with all the basics of Anaconda will be taught. You will also get a clear idea of downloading the various Python libraries and how to use them.
    Topics
    About Excelr Solutions and Innodatatics
    Introduction to Python
    Installation of Anaconda Python
    Difference between Python2 and Python3
    Python Environment
    Operators
    Identifiers
    Exception Handling (Error Handling)

    [url=https://www.excelr.com/data-science-certification-course-training-in-singapore]Excelr Solutions[/url]

    ReplyDelete
  16. ou will get an introduction to the Python programming language and understand the importance of it. How to download and work with Python along with all the basics of Anaconda will be taught. You will also get a clear idea of downloading the various Python libraries and how to use them.
    Topics
    About Excelr Solutions and Innodatatics
    Introduction to Python
    Installation of Anaconda Python
    Difference between Python2 and Python3
    Python Environment
    Operators
    Identifiers
    Exception Handling (Error Handling)

    [url=https://www.excelr.com/data-science-certification-course-training-in-singapore]Excelr Solutions[/url]

    ReplyDelete

  17. It is extremely nice to see the greatest details presented in an easy and understanding manner.

    DATA ANALYTICS CERTIFICATION

    ReplyDelete

  18. This is my first time i visit here. I found so many interesting stuff in your blog especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here keep up the good work.

    I read a article under the same title some time ago, but this articles quality is much, much better.
    Mobile Phone Price in Bangladesh 2019

    ReplyDelete
  19. Excellent read, Positive site, where did u come up with the information on this posting?I have read a few of the articles on your website now, and I really like your style. Thanks a million and please keep up the effective work.

    your content is amazing as always!Thanks for such a great post.I'll give you a link to my site.
    Phone Price in BD

    ReplyDelete
  20. This is a very informative article. for us. Really this is an amazing and helpful article. I’m Always get the new and latest article from this site and I like its very much. it’s helful

    ReplyDelete
  21. This is a very informative article for us.. Really this is an amazing and helpful article. I’m Always get the new and latest article from this site and I like its very much.it's helful

    ReplyDelete
  22. This is truly a decent and enlightening, containing all data furthermore greatly affects the new innovation. A debt of gratitude is in order for sharing it.. ghrp 6 peptide

    ReplyDelete
  23. It was a knowledge-rich post for us. Thanks for such great work
    pink four

    ReplyDelete
  24. Thanks for right unique information about this amzing good topic Sarkari Exam.

    ReplyDelete
  25. If you are serious about a career pertaining to Data science, then you are at the right place. ExcelR is a leader in the space of online Data Science training across the globe.
    ExcelR has trained 6,000+ professionals on Data Science Courseacross the globe. Our expert trainers will help you with upskilling the concepts with assignments and live
    projects. ExcelR is the training delivery partner in the space of Data Science for 5 universities and 40+ premier educational institutions across the globe. Faculty is our
    strength. All our trainers are working as Data Scientists with over 15+ years of professional experience. ExcelR offers a blended learning model where participants can avail
    themselves instructor-led online Data Science sessions and e-learning (recorded sessions) with a single enrollment. A combination of these two modes of learning will produce
    a synergistic impact on learning. One can attend an unlimited number of instructor-led online sessions from different trainers for 1 year with the all new and exclusive JUMBO
    PASS. No wonder ExcelR is regarded as the best training institute to learn Data Science by our participants. Data Science jobs are of the highest demand in the job market
    across the globe.

    Data Science Course

    ReplyDelete
    Replies
    1. Excellent blog & I love your
      latest foreign Music you have a good work here... It's hard to find good quality writing like yours nowadays..
      Naija Entertainment
      Excellent blog & I love your
      latest naija Music

      Delete

  26. Thanks for right unique information about this topicWatsapp Group Join.

    ReplyDelete
  27. Hi, interesting post. I have been wondering about this topic, so thanks for posting.
    Pharma Franchise Suppliers

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

    ReplyDelete
  29. very useful for my business. thank you for the experience you shared with us all.

    ReplyDelete
  30. Thanks for sharing the info, keep up the good work going.... I really enjoyed exploring your site. good resource... https://researchsarms.news.blog

    ReplyDelete
  31. LogoSkill, Professional Logo Design Company Company is specifically a place where plain ideas converted into astonishing and amazing designs. You buy a logo design, we feel proud in envisioning
    our client’s vision to represent their business in the logo design, and this makes us unique among all. Based in USA we are the best logo design, website design and stationary
    design company along with the flayer for digital marketing expertise in social media, PPC, design consultancy for SMEs, Start-ups, and for individuals like youtubers, bloggers
    and influencers. We are the logo design company, developers, marketers and business consultants having enrich years of experience in their fields. With our award winning
    customer support we assure that, you are in the hands of expert designers and developers who carry the soul of an artist who deliver only the best.

    Professional Logo Design Company

    ReplyDelete
  32. Usually I never comment on blogs but your article is so convincing that I never stop myself to say something about it. You’re doing a great job Man and Thanks for the post,Interesting stuff to read. Keep it up.
    One Machine Learning
    One data science
    www.bexteranutrition.com
    www.digital marketingfront.com
    designing info.in
    https://www.hindimei.net

    ReplyDelete
  33. Here you will get detail informations about Best Can Opener Before buying this product you should read this article then it will be easy to select best one

    ReplyDelete
  34. Hello,
    I m Really looking forward to read more. Your site is very helpful for us .. This is one of the awesome post i got the best information through your site and Visit also this site
    Satta King
    Really many thanks

    ReplyDelete

  35. Usually I never comment on blogs but your article is so convincing that I never stop myself to say something about it. You’re doing a great job Man and Thanks for the post,Interesting stuff to read. Keep it up.
    https://www.hindimei.net
    movierulz
    moviesrulz
    HandandPaw.co
    instagram-followers

    ReplyDelete
  36. I m Really anticipating read more. Your site is useful for us .. This is one of the amazing post I got the best data through your site and Visit additionally this site

    ReplyDelete

  37. This article content is really unique and amazing.This aticle really helpfull and explained very well.So i am really thankfull to you for sharing keep it up..
    gym gyani

    ReplyDelete

  38. Thank you so much for sharing the article.
    Women fashion has always been in vouge. It has been continually changing, evolving, rebrading itself with every passing day. Compared to men,

    women's clothing has far more variety in terms of colors options, fabrics and styles.

    Just take a step out of your home and you would spot either a grocery store or a women's clothing shop first! No wonder even in the online world women are spoilt for choices
    with the likes of Amazon, Flipkart bringing the neighbourhood retail stores to you on your fingertips.
    Here we try to explore what are the other shopping options you have for women and what they are known for.


    Glambees is relatively a new entrant in the market but you will definitely love the collection you will find here. You mostly find beautiful ethic wear collections in sarees
    and salwar suits but some really good tops to pair with your jeans too.women's online clothing store dealing in sarees, salwar suits, dress materials, kurtis, lehengas,
    casual wear, wedding wear, party wear and more. The selection and affordability is its USP.

    ReplyDelete
  39. This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free. 诪砖专讚讬 讬讞住讬 爪讬讘讜专 讘转诇 讗讘讬讘

    ReplyDelete
  40. I have read your Excellent Post.This is Great Job. i have enjoyed your reading your post first time.
    i wnat to say thanks for this post..Thank You Satta King
    Satta King

    ReplyDelete
  41. Wow, nice blog , I love this blog seriously, and you can follow us @ Fulloaded


    And also Download Latest Naija Music

    Even you can visit our Naija Freebeat here are all the Categories we have


    Freebeat


    News

    Mixtape

    Album

    Job Vacancy

    Video

    And more

    You can also Visit NaijaoXford

    ReplyDelete
  42. I enjoyed reading your blog its quite interesting! Seeking for dispensaries worry no more!
    Wonderful Blog! satta king
    Thank for sharing but may also work in your like commercially.
    Ask your dealer for a aggressive offer for a provided service that includes web site style, growth and hostingSatta King
    Satta King

    ReplyDelete
  43. A hyperlink is a way for users to navigate between pages on the internet. Link Building is a process of acquiring hyperlinks from other websites to our own so that user can read or watch related post or video. In simple words, it is a process of interlink of pages of your own website or interlink between your website with other https://www.youtube.com/channel/UCsaFRD8NM7KE052rnYuhMZw

    ReplyDelete