Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Tue Oct 24, 2017 3:45 am
Voice Broadcast System


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Callback answers the call but not hanging up. Behaves as CC.
PostPosted: Thu Dec 11, 2014 9:19 am 
Offline

Joined: Fri Mar 06, 2009 9:12 pm
Posts: 188
Hello,

I always try my best efforts in troubleshooting before posting here and in this case I have exhausted my limits as I've tried various combinations but the problem persists.

The problem is:
- When I use a2billing-cid-callback context the system works as expected:
The CID is registered in the card,
When I call the trigger number from that CID the system does not answer (hangup)
And then I receive a call from the system which asks me to dial the destination number which in turn gets called. No problems here.

When however I test the a2billing-callback context the system answers, asks me the card number, authenticates, asks the destination number and then just dials the destination as if I was using the standard a2billing context. It does not hang-up in order to call me.

Any ideas?
I tried attaching a full trace file of an attempt however the board did not accept the txt file.
Pastebin:
http://pastebin.com/F8GvbVEm


A2billing Context used:
=======================
[a2billing-callback]
exten => _X.,1,Answer
exten => _X.,n,DeadAGI(a2billing.php,3,callback)
exten => _X.,n,Hangup
=======================


Agi-conf3:
===============
answer_call = NO
use_dnid = NO
number_try = 1
auto_setcallerid = YES
cid_sanitize = CID
cid_enable = YES
cid_askpincode_ifnot_callerid = YES


Callback configuration section:
================
context_callback = a2billing-callback
answer_call = NO (tried YES as well, same problem)

System:
===============
Asterisk 11.14.1
FreePBX 2.11.0.42 (Build on FreePBX Distro, PBX Firmware: 5.211.65-21)
PHP Version : 5.3.28
A2B DataBase Version : 2.0.16
MYSQL : 5.1.73


Any help is much appreciated! :?

N

--EDIT:
I forgot to mention that call-back from the WEB works ok.


Top
 Profile  
 
 Post subject: Re: Callback answers the call but not hanging up. Behaves as CC.
PostPosted: Thu Dec 11, 2014 11:27 am 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4064
Hi

The a2billing-callback is the context used by the daemon on the callback leg, you don't trigger a call through it.

Joe


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 
Predictive Dialer


All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group