Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Mar 28, 2024 3:47 pm
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: answer_call = NO
PostPosted: Fri Dec 05, 2008 9:11 pm 
Offline
User avatar

Joined: Thu Jan 18, 2007 5:37 pm
Posts: 131
Location: Mallorca / Spain
hey forum :)

i have a little problem with web-callback.

when i set answer_call = NO in [callback] section of a2billing.conf the first number is called, but when i pick up the phone the call ends.

here is the log :

Code:
a2billing.php|3|callback:     [agi_request] => a2billing.php
  a2billing.php|3|callback:     [agi_channel] => SIP/TEL01-081c4d68
  a2billing.php|3|callback:     [agi_language] => en
  a2billing.php|3|callback:     [agi_type] => SIP
  a2billing.php|3|callback:     [agi_uniqueid] => 1228510303.1
  a2billing.php|3|callback:     [agi_callerid] => 123456
  a2billing.php|3|callback:     [agi_calleridname] => unknown
  a2billing.php|3|callback:     [agi_callingpres] => 0
  a2billing.php|3|callback:     [agi_callingani2] => 0
  a2billing.php|3|callback:     [agi_callington] => 0
  a2billing.php|3|callback:     [agi_callingtns] => 0
  a2billing.php|3|callback:     [agi_dnid] => unknown
  a2billing.php|3|callback:     [agi_rdnis] => unknown
  a2billing.php|3|callback:     [agi_context] => a2billing-callback
  a2billing.php|3|callback:     [agi_extension] => 0034637xxx
  a2billing.php|3|callback:     [agi_priority] => 2
  a2billing.php|3|callback:     [agi_enhanced] => 0.0
  a2billing.php|3|callback:     [agi_accountcode] => 66965
  a2billing.php|3|callback: )
  a2billing.php|3|callback:
  a2billing.php|3|callback: file:Class.A2Billing.php - line:621 -  get_agi_request_parameter = 123456 ; SIP/TEL01-081c4d68 ; 1228510303.1 ; 66965 ; 0034637xxxxxx
  a2billing.php|3|callback: file:a2billing.php - line:699 - [CALLBACK]:[MODE : CALLBACK]
  a2billing.php|3|callback: file:a2billing.php - line:713 - [CALLBACK]:[NO ANSWER CALL]
  a2billing.php|3|callback: file:a2billing.php - line:747 - [CALLBACK]:[GET VARIABLE : CALLED=0034971xxxxxx | CALLING=0034xxxxxx | MODE= | TARIFF= | CBID=93354-llmr3km | LEG=66965]
  a2billing.php|3|callback: file:Class.A2Billing.php - line:1640 - 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='66965'
  a2billing.php|3|callback: file:Class.A2Billing.php - line:1714 - [SET CHANNEL(language) en]
  a2billing.php|3|callback: file:Class.A2Billing.php - line:654 - [CARD STATUS UPDATE : UPDATE cc_card SET inuse=inuse+1 WHERE username='66965']
  a2billing.php|3|callback: file:Class.A2Billing.php - line:1400 - [AUTO SetCallerID]
  a2billing.php|3|callback: file:Class.A2Billing.php - line:1406 - [REQUESTED SetCallerID : 123456]
  a2billing.php|3|callback: file:Class.A2Billing.php - line:1417 - [EXEC SetCallerID : 123456]
  a2billing.php|3|callback: file:a2billing.php - line:775 - [CALLBACK]:[CHANNEL STATUS : 6 = Line is up][status_channel=4]:[ORIG_CREDIT : 39.63420 - CUR_CREDIT - : 19.8171 - CREDIT MIN_CREDIT_2CALL : 0]
  a2billing.php|3|callback: file:Class.A2Billing.php - line:654 - [CARD STATUS UPDATE : UPDATE cc_card SET inuse=inuse-1 WHERE username='66965']
    -- AGI Script a2billing.php completed, returning 0


when i set answer_call = YES in [callback] the callback works. is that correct behaviour? when the CALLER ends i get MUSICONHOLD on the called party... why that?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 
Hosted Voice Broadcast


All times are UTC


Who is online

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