Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Mon Mar 18, 2019 2:12 pm
Auto Dialer Software


All times are UTC




Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: Charge the calls sip/iax friend
PostPosted: Fri Aug 29, 2008 2:58 pm 
Offline

Joined: Wed Jun 11, 2008 10:19 am
Posts: 92
Location: Italy
Hi all,
is it possible charge the calls sip/iax friend?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 05, 2008 1:21 am 
Offline

Joined: Wed Jun 11, 2008 10:19 am
Posts: 92
Location: Italy
Waterloo? :cry:


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 05, 2008 6:05 am 
Offline

Joined: Thu Oct 19, 2006 9:56 am
Posts: 300
Location: Athens, Greece
Have you searched the forum?
Are you confusing us with a company?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 05, 2008 1:23 pm 
Offline

Joined: Wed Jun 11, 2008 10:19 am
Posts: 92
Location: Italy
I haven't found the solution in the forum


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 05, 2008 4:17 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
A2B won't bill SIP/IAX buddy calls.
Elsewhere on this forum a workaround is described to allow charging for the inbound leg of a DID call. I can't see a reason why a similar workaround wouldn't work here.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 05, 2008 4:42 pm 
Offline

Joined: Wed Jun 11, 2008 10:19 am
Posts: 92
Location: Italy
If someone wants to walk me through setting this up I will pay $20USD via paypal.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 05, 2008 7:06 pm 
Offline
User avatar

Joined: Mon Apr 30, 2007 6:43 am
Posts: 1060
Location: Canada
No offense, but 20$ will attract few people for something that could potentially take more than 1 hour specially when A2Billing does not bill SIP/IAX2 calls but default.

Cheers


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 05, 2008 7:23 pm 
Offline

Joined: Wed Jun 11, 2008 10:19 am
Posts: 92
Location: Italy
Bonjour Asiby :D

I offer 80$ let me know in private MSN: [email protected]


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 05, 2008 7:29 pm 
Offline
User avatar

Joined: Mon Apr 30, 2007 6:43 am
Posts: 1060
Location: Canada
Bonjour smart187 :D

My comment was a general comment. I personally have no immediate working solution for billing SIP phones call. Sorry :oops:. I am guessing that it would require some ratecard work out.

Cheers


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 13, 2008 4:14 pm 
Offline

Joined: Wed Jun 11, 2008 10:19 am
Posts: 92
Location: Italy
IN the a2billing.conf I set this


sip_iax_friends = NO
sip_iax_pstn_direct_call_prefix = 555
sip_iax_pstn_direct_call = YES


in the ratecard ==>rates ==> DESTINATION local 、PREFIX 555 ....、TRUNK local

TRUNK ==> local ==>LABEL local 、IP/HOST 192.0.2.1

Why the call don't go out? :evil:

Quote:
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: A2Billing AGI internal configuration:
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: Array
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: (
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [debug] => 3
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [asterisk_version] => 1_2
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [answer_call] => 1
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [play_audio] => 1
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [say_goodbye] =>
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [play_menulanguage] =>
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [force_language] =>
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [intro_prompt] =>
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [min_credit_2call] => 0
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [min_duration_2bill] => 10
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [notenoughcredit_cardnumber] =>
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [notenoughcredit_assign_newcardnumber_cid] => 1
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [use_dnid] => 1
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [no_auth_dnid] => Array
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: (
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [0] =>
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: )
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1:
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [number_try] => 3
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [force_callplan_id] =>
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [say_balance_after_auth] =>
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [say_balance_after_call] =>
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [say_rateinitial] =>
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [say_timetocall] =>
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [auto_setcallerid] => 1
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [force_callerid] =>
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [cid_sanitize] =>
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [cid_enable] =>
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [cid_askpincode_ifnot_callerid] => 1
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [cid_auto_assign_card_to_cid] => 1
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [cid_auto_create_card] =>
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [cid_auto_create_card_len] => 10
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [cid_auto_create_card_typepaid] => POSTPAY
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [cid_auto_create_card_credit] => 0
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [cid_auto_create_card_credit_limit] => 1000
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [cid_auto_create_card_tariffgroup] => 6
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [callerid_authentication_over_cardnumber] =>
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [sip_iax_friends] =>
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [sip_iax_pstn_direct_call_prefix] => 555
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [sip_iax_pstn_direct_call] => 1
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [ivr_voucher] =>
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [ivr_voucher_prefix] => 8
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [jump_voucher_if_min_credit] => 1
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [extracharge_did] => Array
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: (
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [0] =>
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: )
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1:
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [extracharge_fee] => Array
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: (
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [0] =>
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: )
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1:
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [international_prefixes] => Array
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: (
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [0] => 011
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [1] => 00
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [2] => 09
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: )
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1:
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [dialcommand_param] => |50|HgL(%timeout%:61000:30000)
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [dialcommand_param_sipiax_friend] => |50|HgiL(%timeout%:61000:30000)
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [switchdialcommand] => 1
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [failover_recursive_limit] => 2
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [maxtime_tocall_negatif_free_route] => 5400
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [send_reminder] => 1
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [min_credit_sendreminder] => 5
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [record_call] =>
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [monitor_formatfile] => gsm
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [agi_force_currency] =>
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [currency_association] => Array
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: (
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [0] => usd:dollars
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [1] => mxn:pesos
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [2] => eur:euros
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [3] => all:credit
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: )
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1:
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [file_conf_enter_destination] => prepaid-enter-dest
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [file_conf_enter_menulang] => prepaid-menulang2
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [callback_bill_1stleg_ifcall_notconnected] => 1
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [logger_enable] => 1
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [log_file] => /tmp/a2billing.log
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [extracharge_buyfee] => Array
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: (
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [0] => Array
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: )
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1:
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [currency_association_internal] => Array
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: (
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [usd] => dollars
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [mxn] => pesos
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [eur] => euros
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [all] => credit
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: )
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1:
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [ivr_voucher_prefixe] => 8
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: )
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1:
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: file:a2billing.php - line:78 - IDCONFIG : 1
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: file:a2billing.php - line:79 - MODE : standard
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: file:a2billing.php - line:91 - AGI Request:
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: file:a2billing.php - line:92 - Array
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: (
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [agi_request] => a2billing.php
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [agi_channel] => SIP/73772975-091eb8f8
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [agi_language] => en
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [agi_type] => SIP
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [agi_uniqueid] => 1221321791.5711
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [agi_callerid] => 73772975
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [agi_calleridname] => 73772975
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [agi_callingpres] => 0
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [agi_callingani2] => 0
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [agi_callington] => 0
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [agi_callingtns] => 0
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [agi_dnid] => 55519718212
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [agi_rdnis] => unknown
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [agi_context] => a2billing
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [agi_extension] => 55519718212
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [agi_priority] => 3
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [agi_enhanced] => 0.0
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: [agi_accountcode] => 73772975
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: )
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1:
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: file:Class.A2Billing.php - line:621 - get_agi_request_parameter = 73772975 ; SIP/73772975-091eb8f8 ; 1221321791.5711 ; 73772975 ; 55519718212
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: file:a2billing.php - line:141 - [ANSWER CALL]
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: 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='73772975'
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: file:Class.A2Billing.php - line:1714 - [SET LANGUAGE() it]
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: file:Class.A2Billing.php - line:654 - [CARD STATUS UPDATE : UPDATE cc_card SET inuse=inuse+1 WHERE username='73772975']
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: file:Class.A2Billing.php - line:1400 - [AUTO SetCallerID]
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: file:Class.A2Billing.php - line:1406 - [REQUESTED SetCallerID : 73772975]
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: file:Class.A2Billing.php - line:1417 - [EXEC SetCallerID : 73772975]
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: file:a2billing.php - line:172 - [CHANNEL STATUS : 6 = Line is up]
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: file:a2billing.php - line:173 - [CREDIT : 24.00000][CREDIT MIN_CREDIT_2CALL : 0]
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: file:Class.A2Billing.php - line:676 - 1 && && 11&& 0
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: file:Class.A2Billing.php - line:701 - DESTINATION ::> 55519718212
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: file:Class.A2Billing.php - line:703 - RULES APPLY ON DESTINATION ::> 55519718212
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: file:Class.A2Billing.php - line:741 - OK - RESFINDRATE::> 1
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: file:Class.A2Billing.php - line:763 - RES_ALL_CALCULTIMEOUT ::> 1
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: file:Class.A2Billing.php - line:780 - TIMEOUT::> 720 : minutes=12 - seconds=0
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: file:Class.RateEngine.php - line:1012 - app_callingcard: Dialing 'SIP/[email protected]|50|HgL(720000:61000:30000)' with timeout of '720'.
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1:
Sep 13 18:03:12 VERBOSE[11491] logger.c: a2billing.php|1: file:Class.RateEngine.php - line:1037 - app_callingcard: CIDGROUPID='-1' OUTBOUND CID SELECTED IS '0'.
Sep 13 18:03:12 WARNING[11491] acl.c: Cannot connect
Sep 13 18:03:12 DEBUG[11491] chan_sip.c: Outgoing Call for 55519718212


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 14, 2008 7:52 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
smart187 wrote:
sip_iax_pstn_direct_call = YES
I would set this to 'NO' myself, as with your intended workaround this is going to be a 'normal' call (in the words of the comments in a2billing.conf).
Quote:
in the ratecard ==>rates ==> DESTINATION local 、PREFIX 555 ....、TRUNK local
In most places Asterisk is case-sensitive. That should be 'Local' not 'local'.
Quote:
TRUNK ==> local ==>LABEL local 、IP/HOST 192.0.2.1
The 'Local' channel driver in Asterisk doesn't use IP at all, so therefore doesn't need an IP address/hostname.
Quote:
Why the call don't go out? :evil:
This may be a problem with your rate card not selecting the 'Local' trunk to deliver the call, or it may be resolved when you the correct capitalisation of 'Local'.

PS What is this character you're using in lieu of commas: 、 ?
I've never seen it before, and Google isn't helping me at all.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 15, 2008 12:18 am 
Offline

Joined: Wed Jun 11, 2008 10:19 am
Posts: 92
Location: Italy
Thank you Stavros for your reply. :)
Now I have:

Quote:
sip_iax_pstn_direct_call = NO

in the ratecard -->rates --> DESTINATION local PREFIX 555 ... TRUNK Local

TRUNK = Local -->LABEL = Local and IP/HOST = Local

I try dial card number 19718212
Quote:
Sep 15 01:53:11 VERBOSE[1420] logger.c: a2billing.php|1: A2Billing AGI internal configuration:
Sep 15 01:53:11 VERBOSE[1420] logger.c: a2billing.php|1: Array
Sep 15 01:53:11 VERBOSE[1420] logger.c: a2billing.php|1: (
Sep 15 01:53:11 VERBOSE[1420] logger.c: a2billing.php|1: [debug] => 3
Sep 15 01:53:11 VERBOSE[1420] logger.c: a2billing.php|1: [asterisk_version] => 1_2
Sep 15 01:53:11 VERBOSE[1420] logger.c: a2billing.php|1: [answer_call] => 1
Sep 15 01:53:11 VERBOSE[1420] logger.c: a2billing.php|1: [play_audio] => 1
Sep 15 01:53:11 VERBOSE[1420] logger.c: a2billing.php|1: [say_goodbye] =>
Sep 15 01:53:11 VERBOSE[1420] logger.c: a2billing.php|1: [play_menulanguage] =>
Sep 15 01:53:11 VERBOSE[1420] logger.c: a2billing.php|1: [force_language] =>
Sep 15 01:53:11 VERBOSE[1420] logger.c: a2billing.php|1: [intro_prompt] =>
Sep 15 01:53:11 VERBOSE[1420] logger.c: a2billing.php|1: [min_credit_2call] => 0
Sep 15 01:53:11 VERBOSE[1420] logger.c: a2billing.php|1: [min_duration_2bill] => 10
Sep 15 01:53:11 VERBOSE[1420] logger.c: a2billing.php|1: [notenoughcredit_cardnumber] =>
Sep 15 01:53:11 VERBOSE[1420] logger.c: a2billing.php|1: [notenoughcredit_assign_newcardnumber_cid] => 1
Sep 15 01:53:11 VERBOSE[1420] logger.c: a2billing.php|1: [use_dnid] => 1
Sep 15 01:53:11 VERBOSE[1420] logger.c: a2billing.php|1: [no_auth_dnid] => Array
Sep 15 01:53:11 VERBOSE[1420] logger.c: a2billing.php|1: (
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [0] =>
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: )
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1:
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [number_try] => 3
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [force_callplan_id] =>
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [say_balance_after_auth] =>
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [say_balance_after_call] =>
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [say_rateinitial] =>
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [say_timetocall] =>
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [auto_setcallerid] => 1
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [force_callerid] =>
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [cid_sanitize] =>
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [cid_enable] =>
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [cid_askpincode_ifnot_callerid] => 1
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [cid_auto_assign_card_to_cid] => 1
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [cid_auto_create_card] =>
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [cid_auto_create_card_len] => 10
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [cid_auto_create_card_typepaid] => POSTPAY
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [cid_auto_create_card_credit] => 0
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [cid_auto_create_card_credit_limit] => 1000
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [cid_auto_create_card_tariffgroup] => 6
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [callerid_authentication_over_cardnumber] =>
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [sip_iax_friends] =>
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [sip_iax_pstn_direct_call_prefix] => 555
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [sip_iax_pstn_direct_call] =>
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [ivr_voucher] =>
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [ivr_voucher_prefix] => 8
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [jump_voucher_if_min_credit] => 1
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [extracharge_did] => Array
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: (
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [0] =>
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: )
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1:
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [extracharge_fee] => Array
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: (
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [0] =>
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: )
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1:
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [international_prefixes] => Array
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: (
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [0] => 011
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [1] => 00
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [2] => 09
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: )
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1:
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [dialcommand_param] => |50|HgL(%timeout%:61000:30000)
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [dialcommand_param_sipiax_friend] => |50|HgiL(%timeout%:61000:30000)
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [switchdialcommand] => 1
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [failover_recursive_limit] => 2
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [maxtime_tocall_negatif_free_route] => 5400
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [send_reminder] => 1
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [min_credit_sendreminder] => 5
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [record_call] =>
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [monitor_formatfile] => gsm
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [agi_force_currency] =>
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [currency_association] => Array
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: (
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [0] => usd:dollars
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [1] => mxn:pesos
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [2] => eur:euros
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [3] => all:credit
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: )
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1:
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [file_conf_enter_destination] => prepaid-enter-dest
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [file_conf_enter_menulang] => prepaid-menulang2
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [callback_bill_1stleg_ifcall_notconnected] => 1
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [logger_enable] => 1
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [log_file] => /tmp/a2billing.log
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [extracharge_buyfee] => Array
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: (
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [0] => Array
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: )
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1:
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [currency_association_internal] => Array
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: (
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [usd] => dollars
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [mxn] => pesos
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [eur] => euros
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [all] => credit
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: )
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1:
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [ivr_voucher_prefixe] => 8
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: )
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1:
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: file:a2billing.php - line:78 - IDCONFIG : 1
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: file:a2billing.php - line:79 - MODE : standard
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: file:a2billing.php - line:91 - AGI Request:
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: file:a2billing.php - line:92 - Array
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: (
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [agi_request] => a2billing.php
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [agi_channel] => SIP/73772975-b7901e50
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [agi_language] => en
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [agi_type] => SIP
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [agi_uniqueid] => 1221436390.7783
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [agi_callerid] => 73772975
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [agi_calleridname] => unknown
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [agi_callingpres] => 0
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [agi_callingani2] => 0
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [agi_callington] => 0
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [agi_callingtns] => 0
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [agi_dnid] => 55519718212
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [agi_rdnis] => unknown
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [agi_context] => a2billing
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [agi_extension] => 55519718212
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [agi_priority] => 3
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [agi_enhanced] => 0.0
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: [agi_accountcode] => 73772975
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: )
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1:
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: file:Class.A2Billing.php - line:621 - get_agi_request_parameter = 73772975 ; SIP/73772975-b7901e50 ; 1221436390.7783 ; 73772975 ; 55519718212
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: file:a2billing.php - line:141 - [ANSWER CALL]
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: 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='73772975'
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: file:Class.A2Billing.php - line:1714 - [SET LANGUAGE() it]
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: file:Class.A2Billing.php - line:654 - [CARD STATUS UPDATE : UPDATE cc_card SET inuse=inuse+1 WHERE username='73772975']
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: file:Class.A2Billing.php - line:1400 - [AUTO SetCallerID]
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: file:Class.A2Billing.php - line:1406 - [REQUESTED SetCallerID : 73772975]
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: file:Class.A2Billing.php - line:1417 - [EXEC SetCallerID : 73772975]
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: file:a2billing.php - line:172 - [CHANNEL STATUS : 6 = Line is up]
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: file:a2billing.php - line:173 - [CREDIT : 24.00000][CREDIT MIN_CREDIT_2CALL : 0]
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: file:Class.A2Billing.php - line:676 - 1 && && 11&& 0
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: file:Class.A2Billing.php - line:701 - DESTINATION ::> 55519718212
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: file:Class.A2Billing.php - line:703 - RULES APPLY ON DESTINATION ::> 55519718212
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: file:Class.A2Billing.php - line:741 - OK - RESFINDRATE::> 1
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: file:Class.A2Billing.php - line:763 - RES_ALL_CALCULTIMEOUT ::> 1
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: file:Class.A2Billing.php - line:780 - TIMEOUT::> 720 : minutes=12 - seconds=0
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: file:Class.RateEngine.php - line:1012 - app_callingcard: Dialing 'SIP/[email protected]|50|HgL(720000:61000:30000)' with timeout of '720'.
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1:
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: file:Class.RateEngine.php - line:1037 - app_callingcard: CIDGROUPID='-1' OUTBOUND CID SELECTED IS '0'.
Sep 15 01:53:12 WARNING[1420] chan_sip.c: No such host: Local
Sep 15 01:53:12 NOTICE[1420] app_dial.c: Unable to create channel of type 'SIP' (cause 3 - No route to destination)
Sep 15 01:53:12 DEBUG[1420] app_dial.c: Exiting with DIALSTATUS=CHANUNAVAIL.
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: file:Class.RateEngine.php - line:1065 - [K=0]:[ANSWEREDTIME=0-DIALSTATUS=CHANUNAVAIL]
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: file:Class.RateEngine.php - line:1105 - FAILOVER app_callingcard: Dialing 'SIP/[email protected]|50|HgL(720000:61000:30000)' with timeout of '720'.
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1:
Sep 15 01:53:12 WARNING[1420] chan_sip.c: No such host: Local
Sep 15 01:53:12 NOTICE[1420] app_dial.c: Unable to create channel of type 'SIP' (cause 3 - No route to destination)
Sep 15 01:53:12 DEBUG[1420] app_dial.c: Exiting with DIALSTATUS=CHANUNAVAIL.
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: file:Class.RateEngine.php - line:1115 - [FAILOVER K=0]:[ANSTIME=-DIALSTATUS=CHANUNAVAIL]
Sep 15 01:53:12 VERBOSE[1420] logger.c: a2billing.php|1: file:Class.RateEngine.php - line:1148 - [USEDRATECARD - FAIL =0]
Sep 15 01:53:12 DEBUG[1420] channel.c: Scheduling timer at 160 sample intervals
Sep 15 01:53:12 DEBUG[28666] chan_sip.c: Stopping retransmission on '[email protected]' of Request 102: Match Found
Sep 15 01:53:13 DEBUG[28666] chan_sip.c: Stopping retransmission on '[email protected]' of Request 102: Match Found
Sep 15 01:53:14 DEBUG[28666] chan_sip.c: Stopping retransmission on '[email protected]' of Request 102: Match Found
Sep 15 01:53:14 DEBUG[28666] chan_sip.c: Stopping retransmission on '[email protected]' of Request 102: Match Found
Sep 15 01:53:15 DEBUG[1420] channel.c: Scheduling timer at 0 sample intervals
Sep 15 01:53:15 DEBUG[1420] chan_sip.c: update_call_counter(73772975) - decrement call limit counter
Sep 15 01:53:15 DEBUG[1420] cdr_addon_mysql.c: cdr_mysql: inserting a CDR record.
Sep 15 01:53:15 DEBUG[1420] cdr_addon_mysql.c: cdr_mysql: SQL command as follows: INSERT INTO cdr (calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode,uniqueid) VALUES ('2008-09-15 01:53:10','73772975','73772975','55519718212','a2billing', 'SIP/73772975-b7901e50','','Dial','SIP/[email protected]|50|HgL(720000:61000:30000)',5,5,'ANSWERED',2,'73772975','1221436390.7783')

But the call don't go out :wall:
But I must add trunk Local also in Trixbox 2.0? If yes, how? :help:


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 15, 2008 1:00 am 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
smart187 wrote:
Dialing 'SIP/[email protected]|50|HgL(720000:61000:30000)' with timeout of '720'.
You must use the 'Local' channel technology, not SIP. Read that thread I linked more carefully.
Quote:
But I must add trunk Local also in Trixbox 2.0?
I don't think so, but I've only used Trixbox for a total of 5 minutes so I can't be sure.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 
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