Log extension connect/disconnect - and charging

Discussion in 'General' started by Flexy, Jul 30, 2009.

  1. Flexy

    Joined:
    Nov 29, 2007
    Messages:
    5
    Likes Received:
    0
    I am looking to use Elastix for a small hotel phone system. 2 questions:

    1. I need to be able to charge for (some) calls i.e. charging guests for external calls - can Elastix help with this?
    2. I need to be able to find when each SIP phone extension was connected (live). This info will be used to determine (double-check) when rooms were occupied (because the IP phone in each room will be powered off when the guest leaves the room). My idea is to use a script to traverse some log file (or MySQL table) to extract this info. I can do this if the info is indeed recorded somewhere.

    Is this possible? Thanks for any help!

    Flexy
     
  2. rafael

    Joined:
    May 14, 2007
    Messages:
    1,454
    Likes Received:
    1
    1) use a2billing from the extra menu.

    2) You can get that info from the asterisk log file: /var/log/astersik/full

    Welcome the the Elastix forums Flexy :)

    Regards,

    Rafael
     
  3. Flexy

    Joined:
    Nov 29, 2007
    Messages:
    5
    Likes Received:
    0
    Thanks Rafael that was the info I needed, very helpful.

    Flexy
     

Share This Page