Hello Professionels,
I'm very new to A2Billing and already succeeded to install V1.2.3 it on a Trixbox2.0.
The Scenario I use is a bit different than normal. I will use the Trixbox as a VoIP Gateway for our already existing Asterisk Platform to add billing to calls sourced by Phones registered on the Asterisk Box. The Trixbox then will forward a calls further to another Asterisk who then calls through several VoIP Providers and PSTN.
PHONES---sip---ASTERISK---iax2---TRIXBOX+A2B---iax2---ASTERISK---PSTN
I set cid_'enable=YES', but if I try to call through Trixbox/A2B, I'm still prompted for authenitication. I set the CallerID correctly in the customer in A2B.
For some reason, A2B seems not to 'see' my Callerid.
Ca anybody tell me, how I 'activate' the CallerID checking, if the Phone is registered on a external Asterisk and the Call is coming from a Trunk and going to 2 different Trunks?
Thanks,
Heiko
Here's the Asterisk Log:
Jan 28 09:45:03 VERBOSE[2864] logger.c: -- Accepting AUTHENTICATED call from <ip>:
> requested format = g729,
> requested prefs = (g729|g723|gsm),
> actual format = g729,
> host prefs = (g729),
> priority = mine
Jan 28 09:45:03 VERBOSE[31462] logger.c: -- Executing Answer("IAX2/astofis-3", "") in new stack
Jan 28 09:45:03 VERBOSE[31462] logger.c: -- Executing Wait("IAX2/astofis-3", "1") in new stack
Jan 28 09:45:04 VERBOSE[31462] logger.c: -- Executing DeadAGI("IAX2/astofis-3", "a2billing.php|0") in new stack
Jan 28 09:45:04 VERBOSE[31462] logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
Jan 28 09:45:06 VERBOSE[31462] logger.c: a2billing.php|0: line:58 - IDCONFIG : 0
Jan 28 09:45:06 VERBOSE[31462] logger.c: a2billing.php|0:
Jan 28 09:45:06 VERBOSE[31462] logger.c: a2billing.php|0: line:67 - MODE : standard
Jan 28 09:45:06 VERBOSE[31462] logger.c: a2billing.php|0:
Jan 28 09:45:06 DEBUG[31462] channel.c: Scheduling timer at 160 sample intervals
Jan 28 09:45:06 VERBOSE[31462] logger.c: -- Playing 'prepaid-enter-pin-number' (language 'en')
Jan 28 09:45:09 DEBUG[2864] chan_iax2.c: Immediately destroying 3, having received hangup
Jan 28 09:45:10 VERBOSE[31462] logger.c: == Spawn extension (a2billing, 002426310019, 3) exited non-zero on 'IAX2/astofis-3'
Jan 28 09:45:10 DEBUG[31462] cdr_addon_mysql.c: cdr_mysql: inserting a CDR record.
Jan 28 09:45:10 DEBUG[31462] cdr_addon_mysql.c: cdr_mysql: SQL command as follows: INSERT INTO cdr (calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode,uniqueid) VALUES ('2008-01-28 09:45:03','\"Heiko NASA\" <24211171>','24211171','002426310019','a2billing', 'IAX2/astofis-3','','DeadAGI','a2billing.php|0',7,7,'ANSWERED',3,'','1201509903.63')
Jan 28 09:45:10 DEBUG[31462] chan_iax2.c: We're hanging up IAX2/astofis-3 now...
Jan 28 09:45:10 DEBUG[31462] chan_iax2.c: Really destroying IAX2/astofis-3 now...
Jan 28 09:45:10 VERBOSE[31462] logger.c: -- Hungup 'IAX2/astofis-3'
|