FreePBX – Setting AccountCodes

**Note** new module that works on newer distros at setaccountcode 2.5.1

FreePBX has the capability to set account codes on its calls so that they can be used in CDRs to identify where calls go/comefromt etc. however the only place i could find them used was in the billing module which frankly i have no interest in using. I rather just see which clients are calling.

I found a CALLERID module that does something very similar to what i wanted but in a differnt area… it SET the CID to something… I want it to set the ACCOUNT CODE to something.

So a little bit of modification i was able to create a setaccountcode module.

Download Set Account Code


Simple create account codes and where to send them, and then point calls through it.
this is GREAT for marketing to see where calls are comming from (if you have differnt calls on differnt marketing stock)

71 thoughts on “FreePBX – Setting AccountCodes

  1. Works perfect except for 1 minor change, Line 1 of should be
    <?php not <?
    It messes up on the default install of freepbx becouse centos defaults to
    short_open_tag = Off
    for what ever reason

    Thank you for writing and publishing this, I would have been forced to write this myself had you not provided it

  2. Hi,

    I proposed this this module to be included in FreePBX and it seems like it has been accepted. The developers have some questions in regard to the copyright and the license for distribution. I will advise them to give you credit, however if possible could you contact them and confirm it? See link below.

  3. I don’t know how the license translates since the code was mirrored of another module, but most of the coding is pretty repetitive from module to module.

    But whatever “legal” power I have, I wrote the code the “the greater good” and the community can do with it as it wishes!

  4. I blog quite often and I truly thank you for your content. This article has truly peaked my interest. I am going to take a note of your site and keep checking for new details about once per week. I opted in for your Feed too.

  5. I’m curious to find out what blog system you happen to be utilizing? I’m having some small security problems with my latest website and I’d like to find something more safe. Do you have any recommendations?

  6. Currently it sounds like Expression Engine is the top
    blogging platform out there right now. (from what I’ve read) Is that what you are using on your

  7. Asking questions are truly pleasant thing
    if you are not understanding something totally, except this
    piece of writing gives nice understanding yet.

  8. Pretty portion of content. I simply stumbled upon your web site and in accession capital to assert that I acquire actually loved account your weblog posts. Anyway I’ll be subscribing on your augment or even I success you get right of entry to constantly fast.

  9. It’s amazing to visit this site and reading the views of all mates regarding
    this article, while I am also keen of getting familiarity.

  10. Very good blog! Do you have any helpful hints for aspiring writers? I’m planning to start my own blog soon but I’m a little lost on everything. Would you propose starting with a free platform like WordPress or go for a paid option? There are so many choices out there that I’m totally confused .. Any suggestions? Thanks!

  11. Thanks , I’ve recently been looking for info about this topic for
    a long time and yours is the best I’ve found out so far.
    However, what about the bottom line? Are you certain concerning the supply?

  12. 病院では看護師が足りてないため看護師転職離職する理由のトップは人手不足による過重労働です。転職を機にわずらわしい人間関係をリセットするのもいいでしょう。とはいえ、次の職場の人間関係が現在よりも良好であるとは限りませんが、給料の高さでの転職の場合は、過酷な医療現場でも受け入れて転職する看護師がおおいのです。そして夜勤勤務からクリニックへ職場した場合、患者を紹介のが先が転職できる確率ですね。逆に退職したあとは厳しい指導を受けることになります。職場は働いていたもちゃんといかせるし、2回よう紹介会社が相談してくれました。心身ともをもって楽しくお仕事しています。



  13. Great weblog here! Also your site lots up fast! What hhost
    are you using? Can I am getting your affiliate hyperlink
    for your host? I want my web site looaded up as fast as yours lol

  14. I am now not certain the place you’re getting your information, but
    great topic. I needs to spend a while learning more
    or working out more. Thank you for great info I was in search of this information for my mission.

  15. Admiring the dedication you put into your website and inn depth
    information you offer. It’s great to come across
    a blog ebery once in a while that isn’t the same out of date rehashed material.

    Fantastic read! I’ve saved your sitee and I’m adding your RSS feeds to mmy Google

  16. Just dropped in to check out your blog, I’ve been reviewing your site for a little while
    now. I run a blog as well and itsimperativet
    to support a fellow blogger. The information you have posted is both clear and conciset.
    I appreciate its hard and time consuming to create content and I value your effort.
    Thank you

  17. ブランドN級品ブランドコピー 代引き,スーパーコピー時計,ブランドN級品,
    楽天コピーブランド,,偽物ブラン日本最大級の最高のスーパーコピーブランド財布激安代引き販売店,スーパーコピー時計の激安老舗.!国内外Νо.1時計コピー工房,アフターサービスも自ら製造したスーパーコピー時計なので、技術力でお客様に安心のサポー トをご提供させて頂きます。スーパーコピー 代引きN品をご 購入の方は、こちらへ.
    弊社は正規品と同等品質のコピー品を低価で お客様に提供します!すべての商品は品質2年無料保証です。100%実物写真ですし、品質が完璧です!”スーパーコピーブランド財布激安 偽物財布激安コピー ルイヴィトン財布偽物,偽物財布コピー

  18. Hi would you mind sharing which blog platform you’re using?
    I’m looking to start my own blog in the
    near future but I’m having a hard time deciding between BlogEngine/Wordpress/B2evolution and
    Drupal. The reason I ask is beccause your design and style seems different then most blogs and I’m looking ffor something unique.

    P.S Apologies for getting off-topic but I had to ask!

  19. Attractive section of content. I just stumbled upon your
    web site and in accession capital to assert that I acquire in fact enjoyed account your blog posts.
    Anyway I’ll be subscribing to your augment and even I achievement you access consistently fast.

  20. It’s really a cool and useful piece of information. I am glad that you simply shared this helpful information with us.
    Please keep us informed like this. Thank you for

  21. Good post. I learn something totally new and challenging
    on websites I stumbleupon everyday. It’s always interesting to
    read articles from other authors and practice a little something from other sites.

  22. Have you ever considered writing an ebook oor guest authoring oon other websites?

    I have a blog based on the ssme ideas you discuss and would
    love to hav you share some stories/information. I know my subscribers would value your work.

    If you’re even remotely interested, feel free to shoot me an e-mail.

  23. you’re in reality a just right webmaster. The web site loading speed is incredible.
    It kind of feels that you’re doing any unique trick.
    In addition, The contents are masterwork. you have
    done a great job in this topic!

  24. Moinsen Leute!
    Da ich endgültig die Nase voll von der Unordnung in der Bude hatte,
    bin ich zu der Anschaffung einer Werkelbank gekommen. Heute will ich diesen Umstand
    nicht mehr missen und kann deshalb nur allen Hobbybastlern das gleiche raten. Jedes Zimmer ist hierdurch geordneter geworden und jedes Ding hat seinen eindeutigen Bestimmungsort.
    Nirgends fliegen mehr Wasserwaagen und Andere Werkzeuge herum.
    Außerdem bin ich selbst auf diese Weise auch wesentlich ermutigter zum
    Werken geworden, denn ich bin nie wieder stetig auf der Suche nach meinem
    Arbeitsgerät und hab eine geordnete Bastelatmosphäre.

    Zurzeit würde ich gern noch eine Werkzeugwand selbst bauen. Hat jemand hierfür Einfälle?

    Liebe Grüße

  25. This resulted in people spending most of their life in darkness.

    , ownership of one of these fish is completely prohibited
    under the Endangered Species Act (except for public zoos and aquariums, which can obtain permits).
    Designed in colonial-plantation style, this mammoth resort is also build around one of the largest privately-owned waterways in the world.

  26. こんにちは

  27. One of the advertised attractions are the panda bears. Start the visit of the main temples of Angkor Wat on the small and great circuit by tuktuk.
    Lake Myvatn in Iceland is situated near many active volcanoes.

  28. Created by Chef Jean-Georges Vongerichten, having brunch
    outdoors surrounded by white sand beaches (hence, Dune) makes the
    food that much more delicious. The North Central Coast of Vietnam stretches all the
    way down to the Hai Van Pass, and is almost a continuous stretch of golden sand pounded by huge
    waves churned by the frequent typhoons. On the map of Vietnam travel Ha Tinh is not a prominent
    destination however travelers will find it a nice surprise as
    this land has best attractions that are still untouched by tourism.

  29. We absolutely love your blog and find a lot of your
    post’s to be what precisely I’m looking for.
    Would you offer guest writers to write content available for you?

    I wouldn’t mind publishing a post or elaborating on a lot of the subjects you write
    regarding here. Again, awesome weblog!

  30. You should know precisely exactly what position the construction service provider
    can play inside undertaking since responsibilities of a task supervisor can vary depending on the industry.
    Good planners are those people who spend a
    lot of time over a project. Clearly the building sector is playing
    a major role in our current high energy consumption, and any
    reduction of energy usage from this sector will lead to a
    considerable amount of savings.

  31. 堺市で大切な人を家族で見送る。

  32. はじめまして!これをご覧の方にはデリケートゾーンの黒い色が気になって自信が持てないという方は、デリケートゾーン美肌クリームが人気になっています。黒ずみ解消クリームは効果が期待できるので、買ってみてもよいでしょう。送料無料サービスもあるようなので、気に入ったものを使えば大丈夫です。売れている商品はホワイトラグジュアリープレミアムでデリケートゾーン 黒ずみを取り去るのに強みがあります。肌がデリケートな方でも使いやすいですし、初回割引のある専門の美肌ケアクリームです。

  33. こんにちは。僕は明日で37歳と7カ月になります。そして子に季節になりました。ですから早くムダ毛はをやりたいですよね。近年では、全国に脱毛専門のエステサロンがいっくらでもあります。やりたい場所は、人によって違いが、特に脱毛したいのは脚です。私は、女性に人気の脱毛ラボを選びました。そのおかげで、だんだんとムダ毛が減っています。やはり家で処理するのとは、効果が凄いです。脱毛ラボに通ってムダ毛を少なくしたいです。でも、医療クリニックに通ったとしても怖いのが脱毛にかかるお金です。それについては、脱毛ラボに聞けばいいでしょう。あと気になるのが、どれくらい通わないといけないのかです。私はできれば、半年くらいですべて終わってくれると嬉しいです。まあ、今から行く人はカウンセリングしてみましょう。

  34. It is also available with the car buying is floor mats rather autocar uk than doing it wrong.
    Fuel efficiency is the safety of not having any hassle.
    Combined with the latest cars available in India can take autocar uk delivery of their team.

  35. Hello.This post was really motivating, especially because I
    was investigating for thoughts on this subject last Thursday.

  36. 臨海斎場で葬儀をしたいとお考えのあなたへ。

  37. Their monitoring system offered sophisticated network functionality.
    There are different kinds of golf car manuals – one for owners, one for parts and
    another for repairs. The Yamaha Golf Cart Owner’s manual for instance does
    include great instructions and graphics on normal service and maintenance issues and it also includes schematics.

  38. The only ingredient wanted to make evolution occur is sweet.
    We have a complete guide on how candy works if
    you’d like to get clued up earlier than delving
    deeper into evolution.

  39. Hmm it appears like your website ate my first comment (it was super long) so I guess I’ll just sum it up what
    I wrote and say, I’m thoroughly enjoying your blog. I too am
    an aspiring blog blogger but I’m still new to the whole thing.
    Do you have any tips and hints for novice blog writers?
    I’d really appreciate it.

  40. I loved as much as you’ll receive carried out right here.
    The sketch is tasteful, your authored material stylish.
    nonetheless, you command get bought an impatience over that you wish
    be delivering the following. unwell unquestionably come more formerly again as exactly the same
    nearly a lot often inside case you shield this

  41. I do believe all of the ideas you have offered in your post.
    They’re really convincing and will certainly work. Nonetheless,
    the posts are too brief for newbies. Could you please lengthen them a bit from subsequent time?

    Thanks for the post.

  42. Spire Group collaborates messestand mieten with World Expo in Shanghai, China Telecom,
    China has the virtue of being a feudalist or an obscurantist here.
    The patient believes evil entities such as these recovered coins will be too expensive.
    Peak Day messestand mieten special admission, Standard
    Day special admission, Standard Day refers to
    China and Asia.

  43. Hmm it looks like your website ate my first comment (it was extremely long) so I guess I’ll
    just sum it up what I had written 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 recommendations for rookie blog writers?
    I’d certainly appreciate it.

Leave a Reply

Your email address will not be published.