Callback configuration for extension.conf

; CallingCard application
exten => _X.,1,Answer
exten => _X.,2,Wait,2
exten => _X.,3,DeadAGI,a2billing.php
exten => _X.,4,Wait,2
exten => _X.,5,Hangup

;To standard outbound callback- used internally by callback daemon
; Callback application
exten => _X.,1,DeadAgi(a2billing.php|1|callback)
exten => _X.,n,Hangup

;Inbound callback scenario
; it will perform a CallerID authentication before calling back the person, not everybody is allowed to use the callback
exten => _X.,1,Ringing()
exten => _X.,n,Set(CALLERID(num)=0${IF($[${CALLERID(num):0:1}=0]?${CALLERID(num):1}:${CALLERID(num)})})
exten => _X.,n,DeadAGI(a2billing.php|4|cid-callback) ;last parameter is the callback area code
exten => _X.,n,Hangup

;Inbound callback scenario
exten => 2006,1,Answer(1)
exten => 2006,2,DeadAgi(a2billing.php|3|ani)
exten => 2006,3,Hangup


February 3, 2010 at 8:21 am Leave a comment

What is A2billing All about

  • Are you looking to get into the VoIP game but don’t know where to start?Did you know that Prepaid Billing and
  • Calling Card servers could cost you upwards of USD/RM XX,XXX
  • Have you looked at Open Source based solutions, but could not find any local support?

February 3, 2010 at 2:24 am 2 comments

How to Interconnect with others #2

1. Above also solution diagram that can be use by user. Some good advantages is user will be enjoyed call Inter- branch for free.
2. But when people from Company make outsite call, we will pass the call to Asterisk2billing (A2B) engine for rating and etc.
3. Then, A2B passing the call to ITSP for call termination.
4. A2B keep CDRs and administrator at each Company can view his own CDRs
5. I’ll will show some GUI on what administrator and user/customer can view at A2b later

January 22, 2010 at 4:12 am Leave a comment

How to Interconnect with others #1

There is a few ways you can interconnect with other system using Asterisk. In this method, since I don’t have E1/FXO/FXS card at my Asterisk system. Thus I am deciding to you my existing Cisco Gateway AS5XXX to interact with Asterisk via SIP protocol.

Listed below are the major call feature has been tested by using this kind of setup.
1. Fax to Email (Using E1 DID)
2. IVR (Time Base Routing)
3. Faxing out using Hylafax

January 21, 2010 at 9:22 am 1 comment

A2Billing with Webmin

1. Get the debian package( since i am using deb)
-> dpkg –install webmin_1.500_all.deb

2. Install dependencies
-> apt-get install libnet-ssleay-perl libauthen-pam-perl libio-pty-perl libmd5-perl

3. Once completed, try login your webmin using below URL
-> https://X.X.X.X:10000/

4. Done

Note: You need to change access port (10000) to something else, because 10000 also being use by Asterisk for RTP. That step must be done to prevent post clashing between those application

5. How to change??? edit below file
vi /etc/webmin/miniserv.conf

December 24, 2009 at 4:02 am Leave a comment

My g729 codec proven working

This is when my elastix IPPBX passing g729 codec to my a2billing and my a2b finally can accept it. Otherwise a2billing will provide below error

[Dec 24 10:15:50] NOTICE[2706] chan_iax2.c: Rejected connect attempt from X.X.X.X, requested/capability 0x4/0xc incompatible wit
h our capability 0xe100.

debiana2b*CLI> iax2 show channels
Channel Peer Username ID (Lo/Rem) Seq (Tx/Rx) Lag Jitter JitBuf Format
IAX2/7425593609-1355 X.X.X.X 7425593609 13557/02718 00015/00016 00040ms -0001ms 0000ms g729

December 24, 2009 at 3:46 am Leave a comment

My A2Billing

December 22, 2009 at 5:39 am Leave a comment

Older Posts


January 2019
« Feb    

Blog Stats

  • 8,758 hits