Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Mar 28, 2024 8:02 pm
VoIP Billing solution


All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: DID routing to PSTN destination not working
PostPosted: Mon Jan 08, 2007 9:17 pm 
Offline

Joined: Mon Jan 08, 2007 9:08 pm
Posts: 2
I have been trying to have a DID destination that is a regular PSTN number (16504265112). That destination number is supposed to be going out via one of my voip accounts.
I have had no success in getting this accomplished. From looking at the logs, it seems that the number is dialed but the wrong channel type is being used (local) insead if the correct one (SIP/${GATEWAY01}/Number.

Below is relevant part of the logs.

Any hint or suggestion would be greately appreciated.

LOG:

a2billing.php|1|did: line:311 - [ANSWER CALL] a2billing.php|1|did: line:330 - [DID CALL - [CallerID=3032930212]:[DID=9544141224] a2billing.php|1|did: line:340 - SELECT cc_did.id, cc_did_destination.id, billingtype, tariff, destination, voip_call, username FROM cc_did, cc_did_destination, cc_card WHERE id_cc_did=cc_did.id and cc_card.id=id_cc_card and cc_did_destination.activated=1 and cc_did.activated=1 and did='9544141224' AND cc_did.startingdate<= CURRENT_TIMESTAMP AND (cc_did.expirationdate > CURRENT_TIMESTAMP OR cc_did.expirationdate IS NULL OR LENGTH(cc_did.expirationdate)<5) ORDER BY priority ASC a2billing.php|1|did: line:343 - Array a2billing.php|1|did: line:849 - [A2Billing] DID call friend: FOLLOWME=1 (cardnumber:80418127|destination:16504265112|tariff:1) a2billing.php|1|did: a2billing.php|1|did: line:1472 - 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 FROM cc_card LEFT JOIN cc_tariffgroup ON tariff=cc_tariffgroup.id WHERE username='80418127' a2billing.php|1|did: line:1475 - Array a2billing.php|1|did: line:544 - 1 && && 11&& 0 a2billing.php|1|did: line:572 - DESTINATION ::> 16504265112 a2billing.php|1|did: line:574 - APPLY_RULES DESTINATION ::> 16504265112 a2billing.php|1|did: line:613 - OK - RESFINDRATE::> 1 a2billing.php|1|did: line:635 - RES_ALL_CALCULTIMEOUT ::> 1 a2billing.php|1|did: line:652 - TIMEOUT::> 189 : minutes=3 - seconds=9 a2billing.php|1|did: line:821 - LALALALA app_callingcard: Dialing 'local/16504265112@dial-queue/n|30|HL(189000:61000:30000)' with timeout of '189'. a2billing.php|1|did: -- AGI Script Executing Application: (Dial) Options: (local/16504265112@dial-queue/n|30|HL(189000:61000:30000)) -- Limit Data for this call: -- - timelimit = 189000 -- - play_warning = 61000 -- - play_to_caller= yes -- - play_to_callee= no -- - warning_freq = 30000 -- - start_sound = UNDEF -- - warning_sound = timeleft -- - end_sound = UNDEF == Everyone is busy/congested at this time (1:0/0/1) a2billing.php|1|did: line:897 - FAILOVER app_callingcard: Dialing 'SIP/voicepulse02/16504265112|30|HL(189000:61000:30000)' with timeout of '189'. a2billing.php|1|did: -- AGI Script a2billing.php completed, returning 0


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 09, 2007 2:54 am 
Offline
Moderator
User avatar

Joined: Tue Jun 06, 2006 12:14 pm
Posts: 685
Location: florida
Under DID / Destination ... I believe you have VOIP_CALL = "Yes", change that to "No". Your destination of course should say just 16504265112


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 09, 2007 4:10 am 
Offline

Joined: Mon Jan 08, 2007 9:08 pm
Posts: 2
Thanks a lot for the quick reply. I had that set to "No", but it still wasn't working. I found out why ealier today. I had a hacked version of RateEngine script that was sending the call to a specific (wrong) context. So, it was essentially my fault.
Still, I appreciate your quick respone. :)


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


All times are UTC


Who is online

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