Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Apr 19, 2024 10:55 pm
Predictive Dialer


All times are UTC




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Where are the AGI files?
PostPosted: Wed Oct 28, 2009 7:25 pm 
Offline

Joined: Thu Nov 30, 2006 2:04 am
Posts: 40
Hi

In previous versions new agi-conf could be setup in a2billing.conf. I cant seem to find the agi settings in version 1.4

1.Are these settings now stored in the database?
2."we also have the possibility of creating a card each time a new callerID is found. if you want to activate this we would advise you to look at the following options in a2billing.conf : cid_auto_create_card ; cid_auto_create_card_typepaid ; cid_auto_create_card_credit ; cid_auto_create_card_credit_limit ; cid_auto_create_card_tariffgroup "

I need to create and AGI that would allow anyone to call without having to enter a pin number. I assume allowing the creation of a new card for every new callerid. I cant seem to find the cid_auto_create_card paramater

I need to setup a scenario where anyone can call into my inbound DID,do not need to enter a pin number and will be allowed to call out.

The rating of calls is just for admin purposes and I do not need to bill any of the callers

Basically a free dial through system

Any ideas


Top
 Profile  
 
 Post subject: Re: Where are the AGI files?
PostPosted: Wed Oct 28, 2009 10:42 pm 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
The agi settings are under system settings, and stored in the database.

All that you require can be done in A2Billing 1.4.2.1


Top
 Profile  
 
 Post subject: Re: Where are the AGI files?
PostPosted: Thu Oct 29, 2009 4:31 pm 
Offline

Joined: Thu Nov 30, 2006 2:04 am
Posts: 40
Thanks

Have updated and have found the relevant AGI settings. I have tries to setup the platform so that any person can call the DID without having an account and will be able to dial out after heaing the welcome and destination prompts.

I have setup to auto create a postpay account for each new caller ID, however the card does not get created and the system asks me for a pin number.

I know one might ask why I do not want to authenticate any users, but Iam setting this up for a community project and will not be charging users for calls.

I basically need to setup a scenario where the :

1. User calls the DID and hears the welcome message and "Please enter your destination " message
2. The user is then allowed to dial out

There should be no requet for a pin number

I know that if I setup auto create postpay account for new caller ID's recognised this may work however, what if the caller ID is set to private or not shown?

Would really like some direction in this regard as the project is for a social welfare project and I need to set it up

Thanks jroper for all your responses


Top
 Profile  
 
 Post subject: Re: Where are the AGI files?
PostPosted: Thu Oct 29, 2009 5:11 pm 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
If the caller ID is not shown, then you cannot authenticate on it.

All the settings you need to do this are pretty standard in the agi-conf. Just read it, and change one thing at time until you get the desired result.

Joe

PX, if you are not charging for the calls, why use A2Billing at all?


Top
 Profile  
 
 Post subject: Re: Where are the AGI files?
PostPosted: Thu Oct 29, 2009 5:36 pm 
Offline

Joined: Thu Nov 30, 2006 2:04 am
Posts: 40
Hi Thank you for the reply


We are using a2billing to monitor outbound call cost as well as inbound DID cost on which we received rebates.Thus the rebate exceeds the cost of terminating the call thus making a profit for the organisation.

Will try it out. Was wondering if it would be possible to link the DID to a sip account that authenticates and ht edestination number is requested. I know I have read somewhere that using sip account sometime ask for pin and destination.

If I could just get it to authenticate to a sip profile that has unlimited credit, and have a voice prompt to call a destination, that would work

Thanks again


Top
 Profile  
 
 Post subject: Re: Where are the AGI files?
PostPosted: Thu Oct 29, 2009 5:40 pm 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
My point was, you know how much you are paying, by how much money leaves your wallet, and goes to your service providers, so you don't really need to record it again, unless it is for carrier reconciliation.

Joe


Top
 Profile  
 
 Post subject: Re: Where are the AGI files?
PostPosted: Thu Oct 29, 2009 6:03 pm 
Offline

Joined: Thu Nov 30, 2006 2:04 am
Posts: 40
Yip..It is mainly for carrier reconcilliation.

What else would you suggest

Thanks


Top
 Profile  
 
 Post subject: Re: Where are the AGI files?
PostPosted: Thu Oct 29, 2009 11:07 pm 
Offline

Joined: Thu Nov 30, 2006 2:04 am
Posts: 40
Hi

I have been trying emphatically to setup the scenario where a CARD is created for any new caller ID recognised by the system. I have edited the Agi config and tried various configurations.

I have set autocreate card to yes as well as setup the type of card i.e postpay and the relevant credit. I cant seem to get it to work and it still asks for a pin number

here is the log file

Code:
Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
  a2billing.php|1: file:Class.A2Billing.php - line:578 - uniqueid: - A2Billing AGI internal configuration: ::> 4
  a2billing.php|1: file:Class.A2Billing.php - line:579 - uniqueid: - Array
  a2billing.php|1: (
  a2billing.php|1:     [dialcommand_param_call_2did] => |60|HiL(%timeout%:61000:30000)
  a2billing.php|1:     [description] => agi-config
  a2billing.php|1:     [asterisk_version] => 1_4
  a2billing.php|1:     [answer_call] => 1
  a2billing.php|1:     [play_audio] => 1
  a2billing.php|1:     [say_goodbye] => 0
  a2billing.php|1:     [play_menulanguage] => 0
  a2billing.php|1:     [force_language] =>
  a2billing.php|1:     [intro_prompt] => Welcome2
  a2billing.php|1:     [min_credit_2call] => 0
  a2billing.php|1:     [min_duration_2bill] => 0
  a2billing.php|1:     [notenoughcredit_cardnumber] => 0
  a2billing.php|1:     [notenoughcredit_assign_newcardnumber_cid] => 0
  a2billing.php|1:     [use_dnid] => 0
  a2billing.php|1:     [no_auth_dnid] => Array
  a2billing.php|1:         (
  a2billing.php|1:             [0] => 2400
  a2billing.php|1:             [1] => 2300
  a2billing.php|1:         )
  a2billing.php|1:
  a2billing.php|1:     [number_try] => 3
  a2billing.php|1:     [force_callplan_id] =>
  a2billing.php|1:     [say_balance_after_auth] => 0
  a2billing.php|1:     [say_balance_after_call] => 0
  a2billing.php|1:     [say_rateinitial] => 0
  a2billing.php|1:     [say_timetocall] => 0
  a2billing.php|1:     [auto_setcallerid] => 1
  a2billing.php|1:     [force_callerid] =>
  a2billing.php|1:     [cid_sanitize] => NO
  a2billing.php|1:     [cid_enable] => 1
  a2billing.php|1:     [cid_askpincode_ifnot_callerid] => 1
  a2billing.php|1:     [failover_lc_prefix] => 0
  a2billing.php|1:     [cid_auto_assign_card_to_cid] => 0
  a2billing.php|1:     [callerid_authentication_over_cardnumber] => 0
  a2billing.php|1:     [sip_iax_friends] => 0
  a2billing.php|1:     [sip_iax_pstn_direct_call_prefix] => 555
  a2billing.php|1:     [sip_iax_pstn_direct_call] => 0
  a2billing.php|1:     [ivr_voucher] => 0
  a2billing.php|1:     [ivr_voucher_prefix] => 8
  a2billing.php|1:     [jump_voucher_if_min_credit] => 0
  a2billing.php|1:     [dialcommand_param] => |60|HRrL(%timeout%:61000:30000)
  a2billing.php|1:     [dialcommand_param_sipiax_friend] => |60|HiL(3600000:61000:30000)
  a2billing.php|1:     [switchdialcommand] => 0
  a2billing.php|1:     [failover_recursive_limit] => 2
  a2billing.php|1:     [maxtime_tocall_negatif_free_route] => 5400
  a2billing.php|1:     [send_reminder] => 0
  a2billing.php|1:     [record_call] => 0
  a2billing.php|1:     [monitor_formatfile] => gsm
  a2billing.php|1:     [agi_force_currency] =>
  a2billing.php|1:     [currency_association] => Array
  a2billing.php|1:         (
  a2billing.php|1:             [0] => usd:dollars
  a2billing.php|1:             [1] => mxn:pesos
  a2billing.php|1:             [2] => eur:euros
  a2billing.php|1:             [3] => all:credit
  a2billing.php|1:         )
  a2billing.php|1:
  a2billing.php|1:     [local_dialing_addcountryprefix] => 0
  a2billing.php|1:     [max_call_call_2_did] => 3600
  a2billing.php|1:     [file_conf_enter_destination] => TheNumberToCall
  a2billing.php|1:     [conf_order_menulang] => en:fr:es
  a2billing.php|1:     [callback_bill_1stleg_ifcall_notconnected] => 1
  a2billing.php|1:     [international_prefixes] => Array
  a2billing.php|1:         (
  a2billing.php|1:             [0] => 011
  a2billing.php|1:             [1] => 00
  a2billing.php|1:             [2] => 09
  a2billing.php|1:             [3] => 1
  a2billing.php|1:         )
  a2billing.php|1:
  a2billing.php|1:     [extracharge_did] => Array
  a2billing.php|1:         (
  a2billing.php|1:             [0] => 1800
  a2billing.php|1:             [1] => 1900
  a2billing.php|1:         )
  a2billing.php|1:
  a2billing.php|1:     [extracharge_fee] => Array
  a2billing.php|1:         (
  a2billing.php|1:             [0] => 0
  a2billing.php|1:             [1] => 0
  a2billing.php|1:         )
  a2billing.php|1:
  a2billing.php|1:     [extracharge_buyfee] => Array
  a2billing.php|1:         (
  a2billing.php|1:             [0] => 0
  a2billing.php|1:             [1] => 0
  a2billing.php|1:         )
  a2billing.php|1:
  a2billing.php|1:     [maxtime_tounlimited_calls] => 5400
  a2billing.php|1:     [maxtime_tofree_calls] => 5400
  a2billing.php|1:     [callplan_deck_minute_threshold] =>
  a2billing.php|1:     [disable_announcement_seconds] => 0
  a2billing.php|1:     [verbosity_level] => 4
  a2billing.php|1:     [logging_level] => 3
  a2billing.php|1:     [dial_balance_reservation] => 0.25
  a2billing.php|1:     [callerid_update] => 0
  a2billing.php|1:     [cid_auto_create_card] => 1
  a2billing.php|1:     [cid_auto_create_card_len] => 10
  a2billing.php|1:     [cid_auto_create_card_typepaid] => POSTPAID
  a2billing.php|1:     [cid_auto_create_card_credit] => 10000000
  a2billing.php|1:     [cid_auto_create_card_credit_limit] => 1000000000
  a2billing.php|1:     [cid_auto_create_card_tariffgroup] => 1
  a2billing.php|1:     [logger_enable] => 1
  a2billing.php|1:     [log_file] => /var/log/a2billing/a2billing.log
  a2billing.php|1:     [currency_association_internal] => Array
  a2billing.php|1:         (
  a2billing.php|1:             [usd] => dollars
  a2billing.php|1:             [mxn] => pesos
  a2billing.php|1:             [eur] => euros
  a2billing.php|1:             [all] => credit
  a2billing.php|1:         )
  a2billing.php|1:
  a2billing.php|1:     [file_conf_enter_menulang] => prepaid-menulang
  a2billing.php|1:     [ivr_voucher_prefixe] => 8
  a2billing.php|1:     [cheat_on_announcement_time] => 0
  a2billing.php|1: )
  a2billing.php|1:  ::> 4
  a2billing.php|1: file:a2billing.php - line:99 - uniqueid: - IDCONFIG : 1 ::> 3
  a2billing.php|1: file:a2billing.php - line:100 - uniqueid: - MODE : standard ::> 3
  a2billing.php|1: file:a2billing.php - line:117 - uniqueid: - AGI Request:
  a2billing.php|1: Array
  a2billing.php|1: (
  a2billing.php|1:     [agi_request] => a2billing.php
  a2billing.php|1:     [agi_channel] => SIP/877513044-f5e20978
  a2billing.php|1:     [agi_language] => en
  a2billing.php|1:     [agi_type] => SIP
  a2billing.php|1:     [agi_uniqueid] => 1256856884.81
  a2billing.php|1:     [agi_callerid] => 0116468777
  a2billing.php|1:     [agi_calleridname] => 0116468777
  a2billing.php|1:     [agi_callingpres] => 0
  a2billing.php|1:     [agi_callingani2] => 0
  a2billing.php|1:     [agi_callington] => 0
  a2billing.php|1:     [agi_callingtns] => 0
  a2billing.php|1:     [agi_dnid] => unknown
  a2billing.php|1:     [agi_rdnis] => unknown
  a2billing.php|1:     [agi_context] => custom-a2billing
  a2billing.php|1:     [agi_extension] => _X.
  a2billing.php|1:     [agi_priority] => 3
  a2billing.php|1:     [agi_enhanced] => 0.0
  a2billing.php|1:     [agi_accountcode] =>
  a2billing.php|1: )
  a2billing.php|1:  ::> 4
  a2billing.php|1: file:Class.A2Billing.php - line:692 - uniqueid:1256856884.81 -  get_agi_request_parameter = 0116468777 ; SIP/877513044-f5e20978 ; 1256856884.81 ;  ; _X. ::> 3
  a2billing.php|1: file:a2billing.php - line:156 - uniqueid:1256856884.81 - [ANSWER CALL] ::> 3
    -- Playing 'Welcome2' (escape_digits=#) (sample_offset 0)
  a2billing.php|1: file:Class.A2Billing.php - line:2307 - uniqueid:1256856884.81 - [CID_ENABLE - CID_CONTROL - CID:0116468777] ::> 4
  a2billing.php|1: file:Class.A2Billing.php - line:2322 - uniqueid:1256856884.81 -  ::> 4
  a2billing.php|1: file:Class.A2Billing.php - line:2326 - uniqueid:1256856884.81 - [CID_CONTROL - STOP - NO CALLERID] ::> 4
  a2billing.php|1: file:Class.A2Billing.php - line:2439 - uniqueid:1256856884.81 -  - Account code -  ::> 4
  a2billing.php|1: file:Class.A2Billing.php - line:2601 - uniqueid:1256856884.81 - Requesting DTMF, CARDNUMBER_LENGTH_MAX 15 ::> 4
    -- <SIP/877513044-f5e20978> Playing 'prepaid-enter-pin-number' (language 'en')
  a2billing.php|1: file:Class.A2Billing.php - line:2603 - uniqueid:1256856884.81 - RES DTMF :  ::> 4
  a2billing.php|1: file:Class.A2Billing.php - line:2607 - uniqueid:1256856884.81 - CARDNUMBER ::>  ::> 4
  a2billing.php|1: file:Class.A2Billing.php - line:2611 - uniqueid:1256856884.81 - PREPAID-NO-CARD-ENTERED ::> 4
    -- Playing 'prepaid-no-card-entered' (escape_digits=#) (sample_offset 0)
  a2billing.php|1: file:Class.A2Billing.php - line:2593 - uniqueid:1256856884.81 - PREPAID-NO-CARD-ENTERED ::> 4
  a2billing.php|1: file:Class.A2Billing.php - line:2601 - uniqueid:1256856884.81 - Requesting DTMF, CARDNUMBER_LENGTH_MAX 15 ::> 4
    -- <SIP/877513044-f5e20978> Playing 'prepaid-enter-pin-number' (language 'en')
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
  a2billing.php|1: file:Class.A2Billing.php - line:2603 - uniqueid:1256856884.81 - RES DTMF : -1 ::> 4
  a2billing.php|1: file:Class.A2Billing.php - line:2607 - uniqueid:1256856884.81 - CARDNUMBER ::> -1 ::> 4
  a2billing.php|1: file:Class.A2Billing.php - line:2617 - uniqueid:1256856884.81 - PREPAID-INVALID-DIGITS ::> 4
    -- Playing 'prepaid-invalid-digits' (escape_digits=#) (sample_offset 0)


I have taken your advise and have tries messing around with the Agi without success. Any help would be appreciated.

Thanks


Top
 Profile  
 
 Post subject: Re: Where are the AGI files?
PostPosted: Mon Feb 15, 2010 3:20 pm 
Offline

Joined: Sat Sep 05, 2009 11:58 am
Posts: 20
Hi, I have version 1.4 and can't seem to find the option [cid_auto_create_card] within agi-conf . Can someone tell me how to manually add this to agi-conf?

thanks


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


All times are UTC


Who is online

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