Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Mar 28, 2024 2:10 pm
Predictive Dialer


All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: use_dnid SEEMS not to be working properly
PostPosted: Sun Apr 13, 2014 1:18 am 
Offline

Joined: Sun Apr 13, 2014 1:06 am
Posts: 4
Greetings, I have an odd issue I have not had on my other A2BILLING installs I have done. During outbound calls I get the "please enter the number you wish to call" prompt which I am trying to make go away. Everything else APPEARS to be fine as if I plug in the number it dials it just fine. The only clue I can seem to find is in the log, there appears to be no destination number where on my other installs I see it (see below). Not sure what could be affecting that or if I am chasing the wrong thing. Any Help would be MUCH appreciated.

FreePBX 2.11
Asterisk 11
A2B 2.07



[13/04/2014 00:57:43]:[file:a2billing.php - line:117 - uniqueid:]:[CallerID:]:[CN:]:[IDCONFIG : 1]
[13/04/2014 00:57:43]:[file:a2billing.php - line:118 - uniqueid:]:[CallerID:]:[CN:]:[MODE : standard]
[13/04/2014 00:57:43]:[file:Class.A2Billing.php - line:712 - uniqueid:1397350663.4]:[CallerID:2257618808]:[CN:]:[ get_agi_request_parameter = 2257618808 ; SIP/2785610719-00000004 ; 1397350663.4 ; 2785610719 ; s]
[13/04/2014 00:57:43]:[file:a2billing.php - line:165 - uniqueid:1397350663.4]:[CallerID:2257618808]:[CN:]:[[ANSWER CALL]]
[13/04/2014 00:57:43]:[file:a2billing.php - line:194 - uniqueid:1397350663.4]:[CallerID:2257618808]:[CN:2785610719]:[[CHANNEL STATUS : 6 = Line is up]
[CREDIT : 9999999999.96151][CREDIT MIN_CREDIT_2CALL : 0]]
[13/04/2014 00:57:43]:[file:a2billing.php - line:382 - uniqueid:1397350663.4]:[CallerID:2257618808]:[CN:2785610719]:[TARIFF ID->1]
[13/04/2014 00:57:46]:[file:Class.A2Billing.php - line:246 - uniqueid:1397350663.4]:[CallerID:2257618808]:[CN:2785610719]:[HANGUP DETECTED!
]
[13/04/2014 00:57:46]:[file:Class.A2Billing.php - line:878 - uniqueid:1397350663.4]:[CallerID:2257618808]:[CN:2785610719]:[[CALL 2 DID]]
[13/04/2014 00:57:46]:[file:Class.A2Billing.php - line:893 - uniqueid:1397350663.4]:[CallerID:2257618808]:[CN:2785610719]:[DESTINATION ::> -1]
[13/04/2014 00:57:46]:[file:a2billing.php - line:194 - uniqueid:1397350663.4]:[CallerID:2257618808]:[CN:2785610719]:[[CHANNEL STATUS : = Channel is down and available]
[CREDIT : 9999999999.96151][CREDIT MIN_CREDIT_2CALL : 0]]
[13/04/2014 00:57:46]:[CallerID:2257618808]:[CN:2785610719]:[[STOP - EXIT]]


Top
 Profile  
 
 Post subject: Re: use_dnid SEEMS not to be working properly
PostPosted: Sun Apr 13, 2014 8:38 am 
Offline

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

It maybe that the first call is failing, and now it's asking for a new destination.

Set number_try to 1, and it should hangup straight away proving that this is the case.

Joe


Top
 Profile  
 
 Post subject: Re: use_dnid SEEMS not to be working properly
PostPosted: Sun Apr 13, 2014 4:32 pm 
Offline

Joined: Sun Apr 13, 2014 1:06 am
Posts: 4
I very much appreciate the assistance. However after the change I got the same result.


Top
 Profile  
 
 Post subject: Re: use_dnid SEEMS not to be working properly
PostPosted: Mon Apr 14, 2014 1:13 am 
Offline

Joined: Sun Apr 13, 2014 1:06 am
Posts: 4
I turned up the verbosity and here is what I see. The only thing that looks off to me is the destination number just shows -1 instead of the dialed number.

a2billing.php,1: file:a2billing.php - line:131 - uniqueid: - [INFO : A2Billing - v2.0.8]
a2billing.php,1: file:Class.A2Billing.php - line:712 - uniqueid:1397437921.6 - get_agi_request_parameter = 2257618808 ; SIP/2785610719-00000006 ; 1397437921.6 ; 2785610719 ; s
a2billing.php,1: file:a2billing.php - line:165 - uniqueid:1397437921.6 - [ANSWER CALL]
a2billing.php,1: file:Class.A2Billing.php - line:2862 - uniqueid:1397437921.6 - - Account code ::> 2785610719
a2billing.php,1: file:Class.A2Billing.php - line:2879 - uniqueid:1397437921.6 - - Retrieve account info SQL ::> SELECT credit, tariff, activated, inuse, simultaccess, typepaid, creditlimit, language, removeinterprefix, redial, enableexpire, UNIX_TIMESTAMP(expirationdate), expiredays, nbused, UNIX_TIMESTAMP(firstusedate), UNIX_TIMESTAMP(cc_card.creationdate), cc_card.currency, cc_card.lastname, cc_card.firstname, cc_card.email, cc_card.uipass, cc_card.id_campaign, cc_card.id, useralias, status, voicemail_permitted, voicemail_activated, cc_card.restriction, cc_country.countryprefix FROM cc_card LEFT JOIN cc_tariffgroup ON tariff = cc_tariffgroup.id LEFT JOIN cc_country ON cc_card.country = cc_country.countrycode WHERE username = '2785610719'
a2billing.php,1: file:Class.A2Billing.php - line:2948 - uniqueid:1397437921.6 - [SET CHANNEL(language) en]
a2billing.php,1: file:Class.A2Billing.php - line:2952 - uniqueid:1397437921.6 - [credit=9999999999.96151 :: tariff=1 :: status=1 :: isused=0 :: simultaccess=1 :: typepaid=0 :: creditlimit= :: language=en]
a2billing.php,1: file:Class.A2Billing.php - line:744 - uniqueid:1397437921.6 - [CARD STATUS UPDATE]
a2billing.php,1: file:Class.A2Billing.php - line:753 - uniqueid:1397437921.6 - [QUERY USING CARD UPDATE::> UPDATE cc_card SET inuse = inuse + 1, credit = credit - 0.25 WHERE username = '2785610719']
a2billing.php,1: file:a2billing.php - line:181 - uniqueid:1397437921.6 - [TRY : callingcard_ivr_authenticate]
a2billing.php,1: file:Class.A2Billing.php - line:2519 - uniqueid:1397437921.6 - [AUTO SetCallerID]
a2billing.php,1: file:Class.A2Billing.php - line:2536 - uniqueid:1397437921.6 - [REQUESTED SetCallerID : 2257618808]
a2billing.php,1: file:Class.A2Billing.php - line:2549 - uniqueid:1397437921.6 - [EXEC SetCallerID : 2257618808]
a2billing.php,1: file:a2billing.php - line:194 - uniqueid:1397437921.6 - [CHANNEL STATUS : 6 = Line is up]
a2billing.php,1: [CREDIT : 9999999999.96151][CREDIT MIN_CREDIT_2CALL : 0]
a2billing.php,1: file:a2billing.php - line:382 - uniqueid:1397437921.6 - TARIFF ID->1
a2billing.php,1: file:Class.A2Billing.php - line:803 - uniqueid:1397437921.6 - use_dnid:1 && (!in_array:) && len_dnid:(0 || len_exten:0 ) && (try_num:0)
a2billing.php,1: file:Class.A2Billing.php - line:820 - uniqueid:1397437921.6 - RES DTMF : -1
a2billing.php,1: file:Class.A2Billing.php - line:878 - uniqueid:1397437921.6 - [CALL 2 DID]
a2billing.php,1: file:Class.A2Billing.php - line:887 - uniqueid:1397437921.6 - SELECT cc_did.id, iduser FROM cc_did, cc_card WHERE cc_card.status=1 and cc_card.id = iduser and cc_did.activated = 1 and did = '-1' AND cc_did.startingdate<= CURRENT_TIMESTAMP AND (cc_did.expirationdate > CURRENT_TIMESTAMP OR cc_did.expirationdate IS NULL OR cc_did.expirationdate = '0000-00-00 00:00:00')
a2billing.php,1: file:Class.A2Billing.php - line:893 - uniqueid:1397437921.6 - DESTINATION ::> -1
a2billing.php,1: file:Class.A2Billing.php - line:900 - uniqueid:1397437921.6 - RULES APPLY ON DESTINATION ::> -1
a2billing.php,1: file:a2billing.php - line:560 - uniqueid:1397437921.6 - ANSWER fct callingcard_ivr authorize:> -1
a2billing.php,1: file:Class.A2Billing.php - line:744 - uniqueid:1397437921.6 - [CARD STATUS UPDATE]
a2billing.php,1: file:Class.A2Billing.php - line:753 - uniqueid:1397437921.6 - [QUERY USING CARD UPDATE::> UPDATE cc_card SET inuse = inuse - 1, credit = credit + 0.25 WHERE username = '2785610719']
ip-10-1-1-185*CLI>


Top
 Profile  
 
 Post subject: Re: use_dnid SEEMS not to be working properly
PostPosted: Mon Apr 14, 2014 10:43 am 
Offline

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

Without looking at it, I don't have any more suggestions.

This is a well tested area, so it should work fine.

I'd recommend reviewing all your AGI-Conf settings.

Joe


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 
Voice Broadcast System


All times are UTC


Who is online

Users browsing this forum: No registered users and 12 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