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)

33 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!

Leave a Reply

Your email address will not be published.