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

    

83 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
  44. A good blog always comes-up with new and exciting information and while reading I have feel that this blog is really have all those quality that qualify a blog to be a one.
    I wanted to leave a little comment to support you and wish you a good continuation. Wishing you the best of luck for all your blogging efforts.Satta king
    satta King

    ReplyDelete
  45. A good blog always comes-up with new and exciting information and while reading I have feel that this blog is really have all those quality that qualify a blog to be a one.
    I wanted to leave a little comment to support you and wish you a good continuation. Wishing you the best of luck for all your blogging efforts.Satta king
    satta King

    ReplyDelete
  46. Excellent article. It is Very interesting to read. I really love to read such a nice article.
    Thanks! keep rocking. SattaKing

    ReplyDelete
  47. Thank you for sharing, and nice articles you have here buy cannabis online moreover the admin of this site has really worked hard for all this once more thanks for sharing your articles.

    ReplyDelete
  48. Thank you for sharing, and nice articles you have here Freelancing tips online moreover the admin of this site has really worked hard for all this once more thanks for sharing your articles.

    ReplyDelete
  49. Thanks for sharing a nice article, now the Scope of Australian Electronic Travel Authority have been given to all to visit australia.Australia eta

    ReplyDelete
  50. I never comment on blogs but your article is so convincing that I never stop myself to say something about it.Freelancing tips
    You’re doing a great job Man and Thanks for the post,Interesting stuff to read. Keep it up.

    ReplyDelete
  51. I Freelancing tips wanted to leave a little comment to support you and wish you a good continuation. Wishing you the best of luck for all your blogging efforts

    ReplyDelete
  52. Australian ETA Visa

    Australian ETA Visa also known as Electronic Travel Authority is a type of visa that gives permission to a few specific foreign country nationals to enter and exit Australia for a certain period of time. This visa is electronically linked to someone’s passport so it doesn’t need to be stamped or put a label on it. Since it’s been electronically linked to one’s passport the data on the ETA can be accessed by travel agents, airlines and also Australian border agencies. So it is imperative that you bring the same passport you used to apply for ETA visa while you’re traveling to Australia.

    The Scope of Australian Electronic Travel Authority

    Of all the kinds of visas that are available to Malaysian Nationals for visiting Australia, ETA visa is the most convenient one because of its scope over other visas. ETA visa is perfect for business person and tourist who needs to stay in Australia for a short period of time and also visit Australia frequently.

    The validity of ETA visa is 12 months from the day it is issued. You can visit as many times you want with ETA visa as long as it is during the valid time period.
    With each visit you are allowed to stay up to 3 months.
    ETA visa is created for business and tourism purposes. Business activities such as participation in trade fairs, conferences or making general business and employment enquiries and also signing, investing, negotiating, reviewing business deal are allowed with ETA visa. Tourist activities such as recreational activities, visiting famous Australian places and visiting relatives and friends are also allowed.
    ETA visa also let anyone study in Australia as long as the study course doesn’t exceed three months period.

    It is important to remember that Australian government doesn’t let ETA visa holder to work in Australia. If you get caught working in Australia with an ETA visa you will be penalizing and even face jail time.
    Requirements for Australian ETA visa

    Malaysian nationals must fulfill a few requirements before they can apply for Australian ETA visa.

    The applicant must be outside Australia to apply for an ETA visa.
    Applicant must hold a valid passport issued by Malaysian Government, email address and a valid credit card. Non-citizen passport and travel documents will not be accepted for a replacement of a passport.
    It is imperative that the information applicant provides during his/her ETA application to be precisely the same as his/her passport information. Applicant must use the same passport during his application for ETA visa while traveling in Australia.
    Each person need a separate ETA visa regardless of sex, gender or age.
    The applicant must be free from tuberculosis.
    Applicant have to make sure that he/she doesn’t have any criminal convictions where he/she has been sentenced to 12 months of jail, irrespective of whether or not he/she served that time.

    It is the duty of ETA visa holder to know what ETA visa lets you do in Australia. If you violate any of the laws, you will be penalized according to the law of Australia.
    Australia ETA Visa and eVisitor Visa eligible countries

    Australia ETA Visa is special visa service provided by Australian Government to a select few country nationals who wishes to travel to Australia for business and tourism purposes. To apply for these visas eligible countries citizens, have to have a valid passport, e-mail and a valid credit card. It is very important to remember that credentials such as non-citizen passport, certificate of identity is not a replacement for a valid passport and authorities will not accept these credentials. Here is the list of country whose citizens are allowed to apply for Australia ETA Visa and eVisitor
    etaaustraliavisa

    ReplyDelete
  53. Nike, Inc. is an American multinational corporation that is engaged in the design, development, manufacturing, and worldwide marketing and sales of footwear, apparel, equipment, accessories, and services. The company is headquartered near Beaverton, Oregon, in the Portland metropolitan area.

    ReplyDelete

  54. Thank you very much for your information.
    Australia ETA/eVisitor Visa
    is quiet easy to apply online from Singapore,
    Malaysia, United Kingdom, United States, Canada, France and including all others ETA Eligible Countries from our website.

    ReplyDelete
  55. Thank you for sharing really impressed with this update. And if you want a game or sports-related information you can visit this website and this is a VIP Sports TOTO site 안전놀이터. This is the most popular sports website and I hope and believe that you can get the best information and benefit. This site always updates all information.

    ReplyDelete
  56. قاب دبی، چارچوبی شگفت انگیز برای به تصویر کشیدن دبی!
    دبی از جمله بزرگترین شهرهایی است که در کشور امارات متحده عربی، در جنوب کشور ایران، قرار دارد. این شهر با مساحت 4114 کیلومتر مربع،حدودا 3 میلیون نفر را در خود جای داده است. دبی از جمله شهرهایی است که دارای آب و هوای گرم و خشک است و حتی درفصل زمستان نیز این خصلت خود را از دست نمی‌دهد

    ReplyDelete
  57. This article content is really unique and amazing.This article really helpful and explained very well.So i am really thankful to you for sharing keep it up..

    hatta tour

    ReplyDelete
  58. This article content is really unique and amazing.This article really helpful and explained very well.So i am really thankful to you for sharing keep it up..

    dubai city tour

    ReplyDelete