A2billing Callback - how to

Discussion in 'General' started by senthilarasu, Jul 7, 2009.

  1. senthilarasu

    Joined:
    Jun 29, 2009
    Messages:
    19
    Likes Received:
    0
    Dear All,

    I configured the A2billing and it is working perfectly good.
    (Elastix 1.5.2-2 & Asterisk2Billing - Version 1.3.0 (Yellowjacket)

    Now I am trying to configure DID Callback through A2billiing but it doesn't work.

    I have the following questions

    1. Inorder to make callback work with A2billing, Should I have to install the callback daemon?

    According to this liink http://www.click4pbx.com/tutorials/a2bi ... ation.html (section 5 , Callback Module)

    I need to Install callback daemon, but I think it is only for web callback. Let me know if am wrong?


    2.While searching the forums, I found there are 2 different types of context[custom-a2billing-did]
    Notsure which one is correct. I tried both but NO CALLBACK.

    [custom-a2billing-did]
    exten => _X.,1,Goto(a2billing,${EXTEN},1)
    exten => _X.,2,Hangup


    &

    [custom-a2billing-did]
    exten => _X.,1,DeadAGI(a2billing.php|1|did)
    exten => _X.,2,Hangup



    If you are using elastix integrated with A2billing and also using A2bCallback feature. please help me..I am lossing hope to make it work.

    Any advice, suggestions or pls ponit me to right direction

    Thanks
    Sen
     
  2. maumar

    Joined:
    Sep 12, 2008
    Messages:
    80
    Likes Received:
    0
    The callback daemon should be installed, as far as i know, without it, none will callback out.
    The call are queued by web or by calling in, and call back daemon dequeue queued calls
     
  3. cooperbr

    Joined:
    Jun 4, 2007
    Messages:
    105
    Likes Received:
    0
    tell me if he could set the callback with a2billing. and as he did


    thanks
     
  4. Terry

    Joined:
    May 25, 2007
    Messages:
    174
    Likes Received:
    0
    Dear Sir,

    what the working scripts or step by step manual for callback ?

    I am useing Elastix 1.6.12 and A2billing 1.3

    Thanks
     
  5. Terry

    Joined:
    May 25, 2007
    Messages:
    174
    Likes Received:
    0
    Dear Sir,

    where is the default a2biiling files locate?
    I cannot find any files in Elastix 1.6.12 with a2billing 1.3


    Callback
    180
    181 Here is a little script to install the call-back Daemon. Change the LOAD_LOC variable to reflect where you have downloaded A2Billing.
    182
    183 Callback Daemon installation Script
    184
    185 LOAD_LOC=/usr/local/src/a2billing
    186
    187 yum -y install python-setuptools.noarch
    188 yum -y install MySQL-python
    189 easy_install sqlalchemy
    190
    191 cd $LOAD_LOC/Callback/callback-daemon-py
    192 cp $LOAD_LOC/CallBack/callback-daemon-py/build/lib/callback_daemon/a2b-callback-daemon.rc /etc/init.d/a2b-callback-daemon
    193 chmod +x /etc/init.d/a2b-callback-daemon
    194
    195
    196 cd $LOAD_LOC/CallBack/callback-daemon-py/
    197 python setup.py build
    198 python setup.py bdist_egg
    199 easy_install dist/callback_daemon-1.0.prod_r1528-py2.4.egg
    200 chkconfig --add a2b-callback-daemon
    201 service a2b-callback-daemon start
    202 chkconfig a2b-callback-daemon on
     
  6. Terry

    Joined:
    May 25, 2007
    Messages:
    174
    Likes Received:
    0
    is it in /var/www/html/a2billing ?????

    I cannot find anything except here

    thanks
     

Share This Page