cc_call or cdr for a2billing?


#1

Hi
I have installed Asterisk2Billing in the server where I installed asterisk before. I created iax and sip users. With the number of the card generated, I try a call , but i got this :

[color=brown]serveurCLI> dial 6710558938
– Executing Dial(“OSS/dsp”, “IAX2/”) in new stack
Apr 26 11:48:52 WARNING[21020]: chan_iax2.c:7869 iax2_request: No peer given
Apr 26 11:48:52 NOTICE[21020]: app_dial.c:1011 dial_exec_full: Unable to create channel of type ‘IAX2’ (cause 0 - Unknown)
== Everyone is busy/congested at this time (1:0/0/1)
Apr 26 11:49:02 WARNING[21020]: pbx.c:2403 __ast_pbx_run: Timeout, but no rule ‘t’ in context 'local’
Apr 26 11:49:03 ERROR[21020]: cdr_addon_mysql.c:226 mysql_log: mysql_cdr: Failed to insert into database: (1054) Unknown column ‘calldate’ in ‘field list’ << Hangup on console >>
serveur
CLI>[/color]

this is a few lines of the extensions.conf file :
[color=green]exten => 11111,1,Dial(IAX2/issam)
exten => 22222,1,Dial(IAX2/aicha)
exten => _X.,1,Dial(IAX2/${CALLERID})[/color] is this line correct to call the number generate in a2billing ?
In the database mya2billing , should I created a table with all carateristics of cdr table ?

thanks to help me!
Aicha