Skip to content

Instantly share code, notes, and snippets.

@slashmili
Created January 1, 2012 13:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save slashmili/1547343 to your computer and use it in GitHub Desktop.
Save slashmili/1547343 to your computer and use it in GitHub Desktop.
[a2billing]
include => a2billing_callingcard
include => a2billing_monitoring
include => a2billing_voucher
[a2billing_callingcard]
; CallingCard application
exten => _X.,1,NoOp(A2Billing Start)
exten => _X.,n,DeadAgi(a2billing.php,1)
exten => _X.,n,Hangup
[a2billing_voucher]
exten => _X.,1,Answer(1)
exten => _X.,n,DeadAgi(a2billing.php,1,voucher)
;exten => _X.,n,AGI(a2billing.php|1|voucher|44) ; will add 44 in front of the callerID for the CID authentication
exten => _X.,n,Hangup
[a2billing_did]
exten => _X.,1,Agi(a2billing.php,1,did)
exten => _X.,2,Hangup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment