I made it work but....

Discussion in 'General' started by telecomtechnician, Sep 1, 2010.

  1. telecomtechnician

    Joined:
    Jan 8, 2008
    Messages:
    422
    Likes Received:
    0
    Hi there

    I made A2billing to work, thanks to some other posts here. I created a card user, postpay type and everything. The call goes through, but after the other end answers, 30 seconds later, the call is dropped (or cut off). There is a configuration problem

    What can I do?

    Waiting for your comments

    David Medina
     
  2. kmiccio

    Joined:
    Sep 14, 2010
    Messages:
    7
    Likes Received:
    0
    Hi!

    How you do it ? How I connect A2billing to my ZAP CHANNEL ?
    Can you help me ?

    Thanks
     
  3. telecomtechnician

    Joined:
    Jan 8, 2008
    Messages:
    422
    Likes Received:
    0
  4. samsalim

    Joined:
    Feb 15, 2011
    Messages:
    15
    Likes Received:
    0
    Hi David,

    Please email me your steps : sam@sophos-technology.com. I already follow this tutorial, but still I can not make outgoing call. A2Billing said :
    Playing 'prepaid-enter-dest.gsm' (language 'en')

    Whatever digit I press, always Playing the above message.


    I use Elastix-2.2 and A2Billing-1.8.1 ( Build in at Elastix)

    Here are my steps :
    I already follow the instruction at this link, but I can not make outgoing call through A2Billing :
    sysadminman.net/blog/2010/part-3-create-a-trunk-in-elastix-1228

    The call already arrive to A2Billing, but I think something wrong with the a2billing.php

    Here are my steps :
    - Create Custom Trunks : Custom Dial String= Local/$OUTNUM@a2billing/n
    - Create Outbond Route
    - Create SIP Trunk = 2012

    Here is the Log :
    -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/101-00000001", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
    -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/101-00000001", "0?sub-flp-2,s,1") in new stack
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/101-00000001", "OUTNUM=1007") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/101-00000001", "custom=AMP") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/101-00000001", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
    -- Executing [s@macro-dialout-trunk:16] Macro("SIP/101-00000001", "dialout-trunk-predial-hook,") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/101-00000001", "") in new stack
    -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/101-00000001", "0?bypass,1") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/101-00000001", "1?customtrunk") in new stack
    -- Goto (macro-dialout-trunk,s,22)
    -- Executing [s@macro-dialout-trunk:22] Set("SIP/101-00000001", "pre_num=AMP:Local/") in new stack
    -- Executing [s@macro-dialout-trunk:23] Set("SIP/101-00000001", "the_num=OUTNUM") in new stack
    -- Executing [s@macro-dialout-trunk:24] Set("SIP/101-00000001", "post_num=@support-a2billing/1") in new stack
    -- Executing [s@macro-dialout-trunk:25] GotoIf("SIP/101-00000001", "1?outnum:skipoutnum") in new stack
    -- Goto (macro-dialout-trunk,s,26)
    -- Executing [s@macro-dialout-trunk:26] Set("SIP/101-00000001", "the_num=1007") in new stack
    -- Executing [s@macro-dialout-trunk:27] Dial("SIP/101-00000001", "Local/1007@support-a2billing/1,300,") in new stack
    -- Called Local/1007@support-a2billing/1
    -- Executing [1007@support-a2billing:1] Answer("Local/1007@support-a2billing-be65;2", "") in new stack
    -- Local/1007@support-a2billing-be65;1 answered SIP/101-00000001
    -- Executing [1007@support-a2billing:2] DeadAGI("Local/1007@support-a2billing-be65;2", "a2billing.php,1") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
    -- <Local/1007@support-a2billing-be65;2> Playing 'prepaid-enter-dest.gsm' (language 'en')
     

Share This Page