a2billing help needed urgently

Discussion in 'General' started by charcoal, Sep 16, 2009.

  1. charcoal

    Joined:
    Sep 16, 2009
    Messages:
    4
    Likes Received:
    0
    Hi,
    I am pretty new in Elastix and a2billing. I've got elasix working for both inbound and outbound calls.

    I am trying to setup a calling cards service which is based on CallerID authentication. In other words, it doesn't need to prompt for entering PIN when making outbound calls.

    I have followed the instruction from this thread http://www.elastix.org/index.php?option ... 4884#24884
    But I kept getting the below errors in the log: (NOTE that 2501 is the DID that I have defined for accessing the calling card service)

    [Sep 16 17:04:23] VERBOSE[11746] logger.c: -- Executing [2501@from-pstn:6] Goto("SIP/Soho-14-IN-b7c86b90", "custom-a2billing-did|2501|1") in new stack
    [Sep 16 17:04:23] VERBOSE[11746] logger.c: -- Goto (custom-a2billing-did,2501,1)
    [Sep 16 17:04:23] WARNING[11746] pbx.c: Channel 'SIP/Soho-14-IN-b7c86b90' sent into invalid extension '2501' in context 'custom-a2billing-did', but no invalid handler

    I am running elastix 1.5.2-2.3 and a2billing 1.3.0

    My extensions_a2billing.conf looks like this:

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

    It seems to me that the inbound call didn't even make it to the a2billing.

    I hope someone can shed some light on this. I have been trying to resolve it for the last 3 days.

    thanks in advance
     
  2. charcoal

    Joined:
    Sep 16, 2009
    Messages:
    4
    Likes Received:
    0
    Finally, I've figured out what was the problem that my a2billing didn't take the inbound call. After I put the full DID in the inbound setting in elasix, thing is working.

    But my other problem is that as soon as a2billing takes the inbound call, it hang up immediately. Does anybody have any ideas?

    Thanks in advance.
     

Share This Page