Hi Guys,
I finally managed to start my a2b-callback-daemon service after few days on my own as posted in the below link:
viewtopic.php?f=7&t=8995However, Now I am facing this weird problem and will not be able to fix it without your input. I have tried all sorts of things as suggested in this forum and I have run out of options.
A2B-CID-CALLBACK is calling back my number, but at least 3 or more times. Each time a2billing.php is called.
Below is what I have in my [a2billing-cid-callback] context:
[a2billing-cid-callback]
exten => _X.,1,Ringing()
exten => _X.,n,Set(CALLERID(num)=${IF($[${CALLERID(num):0:1}=0]?0011${CALLERID(num):1}:${CALLERID(num)})})
exten => _X.,n,Wait(60)
exten => _X,n,DeadAGI(a2billing.php|3|cid-callback)
exten => _X.,n,Hangup(38)
I also tried the below context as suggested in one of the posts: BUT NO LUCK
[a2billing-cid-callback]
exten => _X.,1,Ringing()
exten => _X.,n,Set(CALLERID(num)=${IF($[${CALLERID(num):0:1}=0]?0011${CALLERID(num):1}:${CALLERID(num)})})
exten => _X.,n,Wait(60)
exten => _X.,n,Hangup(38)
exten => h,1,DeadAGI(a2billing.php|3|cid-callback|) ;last parameter is the callback area code
exten => h,n,Hangup(38)
IS THERE ANYTHING WRONG WITH MY DIALPLAN THAT'S CAUSING A2BILLING.PHP TO BE CALLED MULTIPLE TIMES?I can see HangUp() in the console before it starts placing another call until it hangs itself after some interval or is manually hung up.
tail -f /var/log/a2billing/a2billing-callback-daemon.log shows messages every five seconds. I have read in this forum that it should only poll every 10 seconds =>
DOES IT MEAN I HAVE TWO COPIES OF CALLBACK DAEMON RUNNING THAT COULD BE PLACING MULTIPLE CALLS? - IF YES >> How do I stop the other one. I have even restarted by PC few times without success.
I have also tried ANSWER_CALL=YES as well as "NO" options, both resulting same outcome.
I have finished reading almost all problems reported under CALLBACK but could not find anything that could help me fix this problem.
Please help.
Thank you,
VoipBeginner.