Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Sun Apr 05, 2020 12:28 pm
Predictive Dialer


All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: No follow-on calls when using callback
PostPosted: Wed Jan 16, 2008 2:37 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
I've been informed that even if number_try is greater than 1 it is impossible to use * for a follow-on call on a callback leg.
I've tried using both 'H' and 'h' in the dial_cmd_param to no avail. The code in question loops correctly, but finds the channel no longer exists:
Code:
[16/01/2008 13:39:49]:[file:Class.RateEngine.php - line:930]:[CallerID:29XXXXXXXX]:[CN:5XXXXXXXX3]:[[CC_asterisk_stop 1.2: SQL: UPDATE cc_card SET credit= credit-0.12  , redial='0197XXXXXXX' ,  lastuse=now(), nbused=nbused+1 WHERE username='5XXXXXXXX3']]
[16/01/2008 13:39:49]:[file:Class.RateEngine.php - line:935]:[CallerID:29XXXXXXXX]:[CN:5XXXXXXXX3]:[UPDATE cc_trunk SET secondusedreal = secondusedreal + 83 WHERE id_trunk='4']
[16/01/2008 13:39:49]:[file:Class.RateEngine.php - line:939]:[CallerID:2XXXXXXXXX]:[CN:5XXXXXXXX3]:[UPDATE cc_tariffplan SET secondusedreal = secondusedreal + 83 WHERE id='21']
[16/01/2008 13:39:49]:[file:a2billing.php - line:311]:[CallerID:29XXXXXXXX]:[CN:5XXXXXXXX3]:[[a2billing account stop]]
[16/01/2008 13:39:49]:[file:a2billing.php - line:171]:[CallerID:29XXXXXXXX]:[CN:5XXXXXXXX3]:[[CHANNEL STATUS : 6 = Line is up]]
[16/01/2008 13:39:49]:[file:a2billing.php - line:172]:[CallerID:29XXXXXXXX]:[CN:5XXXXXXXX3]:[[CREDIT : 1.1913][CREDIT MIN_CREDIT_2CALL : 0]]
[16/01/2008 13:39:49]:[file:Class.A2Billing.php - line:670]:[CallerID:29XXXXXXXX]:[CN:5XXXXXXXX3]:[0 && 1 && 12&& 1]
[16/01/2008 13:39:49]:[file:Class.A2Billing.php - line:677]:[CallerID:29XXXXXXXX]:[CN:5XXXXXXXX3]:[RES DTMF : -1]
[16/01/2008 13:39:49]:[file:Class.A2Billing.php - line:695]:[CallerID:29XXXXXXXX]:[CN:5XXXXXXXX3]:[DESTINATION ::> -1]
[16/01/2008 13:39:49]:[file:Class.A2Billing.php - line:697]:[CallerID:29XXXXXXXX]:[CN:5XXXXXXXX3]:[RULES APPLY ON DESTINATION ::> -1]
[16/01/2008 13:39:49]:[file:a2billing.php - line:171]:[CallerID:29XXXXXXXX]:[CN:5XXXXXXXX3]:[[CHANNEL STATUS : -1 = There is no channel that matches SIP/IP.ADD.RES.S-081bb360]]
[16/01/2008 13:39:49]:[file:a2billing.php - line:172]:[CallerID:29XXXXXXXX]:[CN:5XXXXXXXX3]:[[CREDIT : 1.1913][CREDIT MIN_CREDIT_2CALL : 0]]
[16/01/2008 13:39:49]:[file:Class.A2Billing.php - line:648]:[CallerID:29XXXXXXXX]:[CN:5XXXXXXXX3]:[[CARD STATUS UPDATE : UPDATE cc_card SET inuse=inuse-1 WHERE username='5XXXXXXXX3']]
[16/01/2008 13:39:49]:[CallerID:29XXXXXXXX]:[CN:5XXXXXXXX3]:[[STOP - EXIT]]
Am I right in thinking we're going to need changes to Asterisk before we can correctly implement follow-on calls during callback? I'm thinking perhaps modifying Asterisk to allow setting a channel variable indicating the exact leg we want to cleared down on *. I'm not too familiar with the Asterisk sources, so if anyone has any alternative ideas I'd be very interested to hear them.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 
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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group