Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Apr 19, 2024 2:00 am
Voice Broadcast System


All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: DID...
PostPosted: Sun Mar 14, 2010 6:10 pm 
Offline

Joined: Sun Aug 27, 2006 6:17 am
Posts: 7
Hi,

I use DID with version 1.4 no problem, but with 1.6 i just can't seem to get DID to work.

As soon as the a2billing.php AGI launches the DID function, it stops. I have no idea why.. Can you guys please help me? I'm so stuck at this part.

a2billing.php|1|did: [agi_request] => a2billing.php
a2billing.php|1|did: [agi_channel] => SIP/<ip-address>-00000000
a2billing.php|1|did: [agi_language] => en
a2billing.php|1|did: [agi_type] => SIP
a2billing.php|1|did: [agi_uniqueid] => 1268586543.0
a2billing.php|1|did: [agi_callerid] => 23456
a2billing.php|1|did: [agi_calleridname] => 23456
a2billing.php|1|did: [agi_callingpres] => 0
a2billing.php|1|did: [agi_callingani2] => 0
a2billing.php|1|did: [agi_callington] => 0
a2billing.php|1|did: [agi_callingtns] => 0
a2billing.php|1|did: [agi_dnid] => 1
a2billing.php|1|did: [agi_rdnis] => unknown
a2billing.php|1|did: [agi_context] => incoming
a2billing.php|1|did: [agi_extension] => 1
a2billing.php|1|did: [agi_priority] => 1
a2billing.php|1|did: [agi_enhanced] => 0.0
a2billing.php|1|did: [agi_accountcode] =>
a2billing.php|1|did: )
a2billing.php|1|did:
a2billing.php|1|did: file:a2billing.php - line:122 - uniqueid: - [INFO : A2Billing - Version 1.6.0 (Hickory) - Released : 16 February 2010]
a2billing.php|1|did: file:Class.A2Billing.php - line:713 - uniqueid:1268586543.0 - get_agi_request_parameter = 23456 ; SIP/208.44.220.234-00000000 ; 1268586543.0 ; ; 1
a2billing.php|1|did: file:a2billing.php - line:368 - uniqueid:1268586543.0 - [ANSWER CALL]
a2billing.php|1|did: file:a2billing.php - line:383 - uniqueid:1268586543.0 - [DID CALL - [CallerID=23456]:[DID=1]
a2billing.php|1|did: file:a2billing.php - line:395 - uniqueid:1268586543.0 - SELECT cc_did.id, cc_did_destination.id, billingtype, tariff, destination, voip_call, username, useralias FROM cc_did, cc_did_destination, cc_card WHERE id_cc_did=cc_did.id and cc_card.status=1 and cc_card.id=id_cc_card and cc_did_destination.activated=1 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') ORDER BY priority ASC
a2billing.php|1|did: file:a2billing.php - line:397 - uniqueid:1268586543.0 -
-- AGI Script a2billing.php completed, returning 0


Top
 Profile  
 
 Post subject: Re: DID...
PostPosted: Sun Mar 28, 2010 5:04 pm 
Offline

Joined: Fri Jul 13, 2007 5:50 pm
Posts: 11
Hi,
I experience the same issue with a2billing 1.6 and asterisk 1.6.2.

Incoming call was working with a2billing 1.6 and asterisk 1.4.x but not after asterisk 1.6.2 upgrade.
Same configuration is use.

Any idea why is not working with asterisk 1.6.2?

Thank You.

a2billing.php,2,did: (
a2billing.php,2,did: [agi_request] => a2billing.php
a2billing.php,2,did: [agi_channel] => SIP/in-0000000c
a2billing.php,2,did: [agi_language] => en
a2billing.php,2,did: [agi_type] => SIP
a2billing.php,2,did: [agi_uniqueid] => 1269795004.12
a2billing.php,2,did: [agi_version] => 1.6.2.6
a2billing.php,2,did: [agi_callerid] => unknown
a2billing.php,2,did: [agi_calleridname] => unknown
a2billing.php,2,did: [agi_callingpres] => 0
a2billing.php,2,did: [agi_callingani2] => 0
a2billing.php,2,did: [agi_callington] => 0
a2billing.php,2,did: [agi_callingtns] => 0
a2billing.php,2,did: [agi_dnid] => XXXXXXXX
a2billing.php,2,did: [agi_rdnis] => unknown
a2billing.php,2,did: [agi_context] => IN
a2billing.php,2,did: [agi_extension] => XXXXXXXXXX
a2billing.php,2,did: [agi_priority] => 3
a2billing.php,2,did: [agi_enhanced] => 0.0
a2billing.php,2,did: [agi_accountcode] => XXXXXXXX
a2billing.php,2,did: [agi_threadid] => -1213547632
a2billing.php,2,did: [agi_arg_1] => 2
a2billing.php,2,did: [agi_arg_2] => did
a2billing.php,2,did: )
a2billing.php,2,did:
a2billing.php,2,did: file:a2billing.php - line:122 - uniqueid: - [INFO : A2Billing - Version 1.6.0 (Hickory) - Released : 16 February 2010]
a2billing.php,2,did: file:Class.A2Billing.php - line:713 - uniqueid:1269795004.12 - get_agi_request_parameter = unknown ; SIP/in-0000000c ; 1269795004.12 ; XXXXXXXXX ; XXXXXXXXXXX
a2billing.php,2,did: file:a2billing.php - line:371 - uniqueid:1269795004.12 - [NO ANSWER CALL]
a2billing.php,2,did: file:a2billing.php - line:383 - uniqueid:1269795004.12 - [DID CALL - [CallerID=5144613090]:[DID=XXXXXXXXXX]
a2billing.php,2,did: file:a2billing.php - line:395 - uniqueid:1269795004.12 - SELECT cc_did.id, cc_did_destination.id, billingtype, tariff, destination, voip_call, username, useralias FROM cc_did, cc_did_destination, cc_card WHERE id_cc_did=cc_did.id and cc_card.status=1 and cc_card.id=id_cc_card and cc_did_destination.activated=1 and cc_did.activated=1 and did='XXXXXXXXXXX' 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') ORDER BY priority ASC
a2billing.php,2,did: file:a2billing.php - line:397 - uniqueid:1269795004.12 -
-- <SIP/in-0000000c>AGI Script a2billing.php completed, returning -1


Top
 Profile  
 
 Post subject: Re: DID...
PostPosted: Mon Mar 29, 2010 5:37 pm 
Offline

Joined: Fri Jul 13, 2007 5:50 pm
Posts: 11
Ok i manage to figure out why incoming was not working with asterisk 1.6.2.

Syntax for dialcommand_param_call_2did in asterisk 1.6 must be change from |60|HiL to ,60,HiL

"|" as ben replace with "," in asterisk 1.6


Case close :)

Regards


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 14 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