ratchada11 wrote:
Hi eveyone
I'm new for A2B. I can't start callback daemon. I got 'Can't call method "val" on an undefined value at /var/lib/asterisk/a2billing/callback-daemon/a2billing-callback-daemon line 25.' when i try to start daemon. How can i correct this problem?
Ratchada
from the BUGS sections:
bug on callback daemon due to config:inifiles
patch below,
Index: a2billing.conf =================================================================== --- a2billing.conf (revision 3) +++ a2billing.conf (working copy) @@ -640,7 +640,7 @@
; 30 : The timeout parameter is optional. If not specifed, the Dial command will wait indefinitely, exiting only when the originating channel hangs up, or all the dialed channels return a busy or error condition. Otherwise it specifies a maximum time, in seconds, that the Dial command is to wait for a channel to answer. ; H: Allow the caller to hang up by dialing * ; r: Generate a ringing tone for the calling party
-: R: Indicate ringing to the calling party when the called party indicates ringing, pass no audio until answered. +; R: Indicate ringing to the calling party when the called party indicates ringing, pass no audio until answered.
; m: Provide Music on Hold to the calling party until the called channel answers. ; L(x[:y][:z]): Limit the call to 'x' ms, warning when 'y' ms are left, repeated every 'z' ms) ; %timeout% tag is replaced by the calculated timeout according the credit & destination rate!