SHARE
TWEET

Untitled

a guest Apr 12th, 2010 1,254 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ;
  2. ; config file for the A2Billing Callingcard platform
  3. ;
  4.  
  5.  
  6. ; Global Database Setup - select the database type and authentication as required.
  7.  
  8. [database]
  9. hostname = localhost
  10. port = 5432
  11. user = a2billinguser
  12. password = a2billing
  13. dbname = mya2billing
  14. ;dbtype = postgres
  15. dbtype = mysql
  16.  
  17.  
  18. [global]
  19. ; len_cardnumber is removed
  20. ; interval for the length of the cardnumber (number of digits), minimum lenght is 4
  21. ; ie: 10-15 (cardnumber authorised 10, 11, 12, 13, 14, 15) ; 10,12,14 (cardnumber authorised 10, 12, 14)
  22. interval_len_cardnumber = 10-15
  23.  
  24. ; Alias-Card length
  25. len_aliasnumber = 15
  26.  
  27. ; Voucher length
  28. len_voucher = 15
  29.  
  30. ;base currency define the default currency that you want to use to setup your system (see the currency table to know the currency code)
  31. base_currency = usd
  32.  
  33. ; filename of the image that will be display at the top of the invoice (if not defined no image will appear ; path to place the image templates/default/images/)
  34. ; the type of file have to be a jpeg/jpg
  35. invoice_image = asterisk01.jpg
  36.  
  37. ; DID Billing - amount of day before the end of the monthly reservation to bill the customer to for the DID use
  38. ; if the user dont have enough credit he will get an email asking him to refill
  39. didbilling_daytopay = 5
  40.  
  41. ;webiste administrator email address
  42. admin_email = areski@gmail.com
  43.  
  44. ; MANAGER CONNECTION PARAMETERS
  45. manager_host = localhost
  46. manager_username = a2billinguser
  47. manager_secret = a2billing
  48.  
  49.  
  50. ; CALL-BACK
  51. [callback]
  52. ; When web call-back is enabled this is the context to sent the call.
  53. context_callback = a2billing-callback
  54.  
  55. ; this is the Extension to redirect the call when the web callback is returned
  56. extension = 1000
  57.  
  58. ; this is the number of seconds to wait before initiating the call back.
  59. sec_wait_before_callback = 10
  60.  
  61. ;Number of seconds before the call-back can be re-initiated from the web page
  62. ; to prevent repeated and unwanted calls.
  63. sec_avoid_repeate = 30
  64.  
  65. ; if the callback doesnt succeed within the value below, then the call is deemed to have failed.
  66. timeout = 20
  67.  
  68. ; if we want to manage the answer on the call
  69. answer_call = yes
  70.  
  71.  
  72. ; PREDICTIVE DIALER
  73. ; number of calls an agent will do when the call button is clicked
  74. nb_predictive_call = 10
  75.  
  76. ; Number of days to wait before the number becomes available to call again.
  77. nb_day_wait_before_retry = 1
  78.  
  79. ; The context to redirect the call for the predictive dialer
  80. context_preditctivedialer = a2billing-predictivedialer
  81.  
  82.  
  83. ; When a call is made we need to limit the call duration : amount in seconds
  84. predictivedialer_maxtime_tocall = 5400
  85.  
  86. ; set the callerID for the predictive dialer and call-back
  87. callerid = 123456
  88.  
  89. ; ID Call Plan to use when you use the all-callback mode, check the ID in the "list Call Plan" - WebUI
  90. all_callback_tariff = 1
  91.  
  92. ; Define the group of servers that are going to be used by the callback
  93. id_server_group = 1
  94.  
  95. ; Audio intro message when the callback is initiate
  96. callback_audio_intro = prepaid-callback_intro
  97.  
  98.  
  99. ; CUSTOMISATION Of THE CUSTOMER INTERFACE
  100. [webcustomerui]
  101.  
  102. ; url of the signup page to show up on the sign in page (if empty no link will show up)
  103. signup_page_url =
  104.  
  105. ;Enable or disable the payment methods; yes for multi-payment or no for single payment method option
  106. paymentmethod = yes
  107.  
  108. ;Enable or disable the page which allow customer to modify its personal information
  109. personalinfo = yes
  110.  
  111. ; Enable display of the payment interface - yes or no
  112. customerinfo = yes
  113.  
  114. ; Enable display of the sip/iax info - yes or no
  115. sipiaxinfo = yes
  116.  
  117. ; Enable the Call history - yes or no
  118. cdr = yes
  119.  
  120. ; Enable invoices - yes or no
  121. invoice = yes
  122.  
  123. ; Enable the voucher screen - yes or no
  124. voucher = yes
  125.  
  126. ; Enable the paypal payment buttons - yes or no
  127. paypal = yes
  128.  
  129. ; Allow Speed Dial capabilities - yes or no
  130. speeddial = yes
  131.  
  132. ; Enable the DID (Direct Inwards Dialling) interface - yes or no
  133. did = yes
  134.  
  135. ; Show the ratecards - yes or no
  136. ratecard = yes
  137.  
  138. ; Offer simulator option on the customer interface - yes or no
  139. simulator = yes
  140.  
  141. ; Enable the callback option on the customer interface - yes or no
  142. callback = yes
  143.  
  144. ; Enable the predictivedialer option on the customer interface - yes or no
  145. predictivedialer = yes
  146.  
  147. ; Let users use SIP/IAX Webphone (Options : yes/no)
  148. webphone = yes
  149.  
  150. ;IP address or domain name of asterisk server that would be used by the web-phone
  151. webphoneserver = localhost
  152.  
  153. ; Let the users add new callerid
  154. callerid = yes
  155.  
  156. ; Let the user change the webui password
  157. password = yes
  158.  
  159. ; The total number of callerIDs for CLI Recognition that can be add by the customer
  160. limit_callerid = 5
  161.  
  162. ; Email address to send the notification and error report - new DIDs assigned will also be emailed.
  163. error_email = root@localhost
  164.  
  165. ;SIP & IAX client configuration information.
  166. [sip-iax-info]
  167.  
  168. ;Trunk Name to show in sip/iax info
  169. sip_iax_info_trunkname = Estrella
  170.  
  171. ;Allowed Codec, ulaw, gsm, g729
  172. sip_iax_info_allowcodec = g729
  173.  
  174. ;host information
  175. sip_iax_info_host = 188.40.158.233
  176.  
  177. ;IAX Additional Parameters
  178. iax_additional_parameters = "canreinvite = no"
  179.  
  180. ;SIP Additional Parameters
  181. sip_additional_parameters = "trustrpid = yes | sendrpid = yes | canreinvite = no"
  182.  
  183. [epayment_method]
  184. enable = yes
  185. ; eg, http://localhost  - should not be empty for productive servers
  186. http_server = "http://www.call-labs.com"
  187. ; eg, https://localhost - Enter here your Secure Server Address, should not be empty for productive servers
  188. https_server = "http://www.call-labs.com"
  189. ; Enter your Domain Name or IP Address, eg, 26.63.165.200
  190. http_cookie_domain = 26.63.165.200
  191. ; Enter your Secure server Domain Name or IP Address, eg, 26.63.165.200
  192. https_cookie_domain = 26.63.165.200
  193. ; Enter the Physical path of your Application on your server
  194. http_cookie_path = "/A2BCustomer_UI/"
  195. ; Enter the Physical path of your Application on your Secure Server
  196. https_cookie_path = "/A2BCustomer_UI/"
  197. ; Enter the Physical path of your Application on your server
  198. dir_ws_http_catalog = "/A2BCustomer_UI/"
  199. ; Enter the Physical path of your Application on your Secure Server
  200. dir_ws_https_catalog = "/A2BCustomer_UI/"
  201. ; secure webserver for checkout procedure?
  202. enable_ssl = yes
  203.  
  204. http_domain = 26.63.165.200
  205.  
  206. dir_ws_http = "/~areski/svn/a2billing/payment/A2BCustomer_UI/"
  207.  
  208. ; maybe try with :
  209. ; Define here the URL to notify the payment
  210. ; payment_notify_url=...
  211.  
  212. ;define the different amount of purchase that would be available - 5 amount maximum (5:10:15)
  213. purchase_amount = 1:2:5:10:20
  214.  
  215. ; Item name that would be display to the user when he will buy credit
  216. item_name = "Credit Purchase"          
  217.  
  218. ; Currency for the Credit purchase, only one can be define here
  219. currency_code = USD
  220.  
  221. ; Define here the URL of paypal gateway the payment (to test with paypal sandbox)
  222. ;paypal_payment_url = "https://secure.paypal.com/cgi-bin/webscr"
  223. paypal_payment_url = "https://www.sandbox.paypal.com/cgi-bin/webscr"
  224.  
  225. ;paypal transaction verification url
  226. ;paypal_verify_url = www.paypal.com
  227. paypal_verify_url = www.sandbox.paypal.com
  228.  
  229. ; Define here the URL of Authorize gateway
  230. ;authorize_payment_url = "https://secure.authorize.net/gateway/transact.dll"
  231. authorize_payment_url = "https://test.authorize.net/gateway/transact.dll"
  232.  
  233. ;paypal store name to show in the paypal site when customer will go to pay
  234. store_name = Asterisk2Billing
  235.  
  236. ;Transaction Key for security of Epayment Max length of 60 Characters.
  237. transaction_key = asdf1212fasd121554sd4f5s45sdf
  238.  
  239. ;Moneybookers secret word
  240. moneybookers_secretword = areski
  241.  
  242. ; SIGNUP MODULE
  243. [signup]
  244. ; enable the signup module
  245. enable_signup = 1
  246.  
  247. ; enable Captcha on the signup module (value : YES or NO)
  248. enable_captcha = YES
  249.  
  250. ; amount of credit applied to a new user.
  251. credit = 0
  252.  
  253. ; the list of id of call plans which will be shown in signup.
  254. callplan_id_list = 1, 2
  255.  
  256. ; Specify whether the card is created as active or pending
  257. activated = no
  258.  
  259. ; Simultaneous or non concurrent access with the card - 0 = INDIVIDUAL ACCESS or 1 = SIMULTANEOUS ACCESS
  260. simultaccess = 0       
  261.  
  262. ;PREPAID CARD  =  0 - POSTPAY CARD  =  1
  263. typepaid = 0
  264.  
  265. ; Define credit limit, which is only used for a POSTPAY card.
  266. creditlimit = 0
  267.  
  268. ; Authorise the recurring service to apply on this card  -  Yes 1 - No 0
  269. runservice = 0
  270.  
  271. ; Enable the expiry of the card  -  Yes 1 - No 0
  272. enableexpire = 0       
  273.  
  274. ; Expiry Date format YYYY-MM-DD HH:MM:SS. For instance, '2004-12-31 00:00:00'  
  275. expirationdate =
  276.  
  277. ; The number of days after which the card will expire  
  278. expiredays = 0 
  279.  
  280. ; Create a sip account from signup ( default : yes )
  281. sip_account = yes
  282.  
  283. ; Create an iax account from signup ( default : yes )
  284. iax_account = yes
  285.  
  286. ; active card after the new signup. if No, the Signup confirmation is needed and an email will be sent
  287. ; to the user with a link for activation (need to put the link into the Signup mail template)
  288. activatedbyuser = no
  289.  
  290. ; url of the customer interface to display after activation
  291. urlcustomerinterface = http://localhost/A2BCustomer_UI/
  292.  
  293. ; Define if you want to reload Asterisk when a SIP / IAX Friend is created at signup time
  294. reload_asterisk_if_sipiax_created = no
  295.  
  296.  
  297. ;BACK-UP AND RESTORE
  298. ; configuration for backup and restore
  299. [backup]
  300.  
  301. ; Path to store backup of database
  302. backup_path = /tmp
  303.  
  304. ; path for gzip
  305. gzip_exe = /bin/gzip
  306.  
  307. ; path for gunzip
  308. gunzip_exe = /bin/gunzip
  309.  
  310. ; path for mysqldump
  311. mysqldump = /usr/bin/mysqldump
  312.  
  313. ; path for pg_dump
  314. pg_dump = /usr/bin/pg_dump
  315.  
  316. ; path for mysql
  317. mysql = /usr/bin/mysql
  318.  
  319. ;path for psql
  320. psql = /usr/bin/psql
  321.  
  322.  
  323.  
  324. ; WEB INTERFACE AND API CONFIGURATION
  325. [webui]
  326.  
  327. ; Path to store the asterisk configuration files SIP & IAX
  328. buddy_sip_file = /etc/asterisk/additional_a2billing_sip.conf
  329. buddy_iax_file = /etc/asterisk/additional_a2billing_iax.conf
  330.  
  331. ; API have a security key to validate the http request, the key has to be sent after applying md5
  332. ; Valid characters are [a-z,A-Z,0-9]
  333. api_security_key = Ae87v56zzl34v
  334.  
  335. ; API to restrict the IP's authorised to make a request.
  336. ; Define The the list of ips separated by ;
  337. api_ip_auth = 127.0.0.1
  338.  
  339. ; Administative Email(not used yet)
  340. email_admin = root@localhost
  341.  
  342. ; MOH (Music on Hold) base directory
  343. dir_store_mohmp3 = /var/lib/asterisk/mohmp3
  344.  
  345. ; Number of MOH classes you have created in musiconhold.conf : acc_1, acc_2... acc_10 class     etc...
  346. num_musiconhold_class = 10     
  347.  
  348. ; Display the help section inside the admin interface  (YES - NO)
  349. show_help = YES
  350.  
  351. ; File Upload parameters
  352. ; PLEASE CHECK ALSO THE VALUE IN YOUR PHP.INI THE LIMIT IS 2MG BY DEFAULT
  353. my_max_file_size_import = 1024000 ; 1 MG
  354.  
  355. ; Not used yet, The goal is to upload files and use them in the IVR
  356. dir_store_audio = /var/lib/asterisk/sounds/a2billing
  357.  
  358. ; upload maximum file size
  359. my_max_file_size_audio=3072000 ; in bytes
  360.  
  361. ; File type extensions permitted to be uploaded such as "gsm, mp3, wav" (separated by ,)
  362. file_ext_allow = gsm, mp3, wav
  363.  
  364. ; File type extensions permitted to be uploaded for the musiconhold such as "gsm, mp3, wav" (separate by ,)
  365. file_ext_allow_musiconhold = mp3
  366.  
  367.  
  368. ; RECORDED CONVERSATIONS
  369.  
  370. ; Enable link on the CDR viewer to the recordings. (YES - NO)
  371. link_audio_file = NO
  372.  
  373.  
  374. ; Path to link the recorded monitor files
  375. monitor_path = /var/spool/asterisk/monitor
  376. ; grant access to apache user on read mode for the directory :>  chmod 755 /var/spool/asterisk/monitor/
  377.  
  378. ; FORMAT OF THE RECORDED MONITOR FILE
  379. monitor_formatfile = gsm
  380.  
  381. ; Display the icon in the invoice
  382. show_icon_invoice = YES
  383.  
  384. ;CURRENCY AND GENERAL SETTINGS
  385.  
  386. ; Display the top frame (useful if you want to save space on your little tiny screen )
  387. show_top_frame = NO
  388.  
  389. ; Allow the customer to chose the most appropriate currency ("all" can be used)
  390. currency_choose = usd, eur, cad, hkd
  391.  
  392. ; field to export in csv format from cc_card table
  393. card_export_field_list = creationdate, username, credit, lastname, firstname
  394.  
  395. ; field to export in csv format from cc_voucher table
  396. voucher_export_field_list = id, voucher, credit, tag, activated, usedcardnumber, usedate, currency
  397.  
  398. ; Advanced mode - Display additional configuration options on the ratecard (progressive rates, musiconhold, ...)
  399. advanced_mode = NO
  400.  
  401. ; Delete the SIP/IAX Friend & callerid when a card is deleted
  402. delete_fk_card = yes
  403.  
  404.  
  405. ; This section is basically used when we create a new friend
  406. ; when you create a SIP IAX friend for a card the following parameters will define the default value for the peer creation
  407. [peer_friend]
  408. ; Refer to sip.conf & iax.conf documentation for the meaning of those parameters
  409. ; sip.conf -> http://www.voip-info.org/wiki-Asterisk+config+sip.conf
  410. ; iax.conf -> http://www.voip-info.org/wiki-Asterisk+config+iax.conf
  411. type = friend
  412. allow = ulaw, alaw, gsm, g729
  413. context = a2billing
  414. ; use "no" or "yes" with quote otherwise the value will be converted to 1 or 0
  415. nat = "yes"
  416. amaflag = billing
  417. ; use "no" or "yes" with quote otherwise the value will be converted to 1 or 0
  418. qualify = "yes"
  419. host = dynamic
  420. dtmfmode = RFC2833
  421.  
  422.  
  423. [log-files]
  424. ; To disable application logging, remove/comment the log file name aside service
  425.  
  426. ; cront - recurring process
  427. cront_alarm = /tmp/cront_a2b_alarm.log
  428. cront_autorefill = /tmp/cront_a2b_autorefill.log
  429. cront_batch_process = /tmp/cront_a2b_batch_process.log
  430. cront_bill_diduse = /tmp/cront_a2b_bill_diduse.log
  431. cront_subscriptionfee = /tmp/cront_a2b_subscription_fee.log
  432. cront_currency_update = /tmp/cront_a2b_currency_update.log
  433. cront_invoice = /tmp/cront_a2b_invoice.log
  434. cront_check_account = /tmp/cront_a2b_check_account.log
  435.  
  436. ; paypal log file, to log all the transaction & error
  437. paypal = /tmp/a2billing_paypal.log
  438.  
  439. ; epayment log file, to log all the transaction & error
  440. epayment = /tmp/a2billing_epayment.log
  441.  
  442. ; Log file to store the ecommerce API requests
  443. api_ecommerce = /tmp/api_ecommerce_request.log
  444.  
  445. ; Log file to store the CallBack API requests
  446. api_callback = /tmp/api_callback_request.log
  447.  
  448. ; File to log
  449. agi = /tmp/a2billing_agi.log
  450.  
  451.  
  452.  
  453. ; configuration for the AGI, different configuration can be defined, ie "agi-conf1", "agi-conf2", etc...
  454. ; the groupid parameter will define which process_sections to use. Usage : DeadAGI(a2billing.php|%groupid%)
  455. ; by default agi-conf1 is used
  456. [agi-conf1]
  457.  
  458. ; the debug level
  459. ; 0=none, 1=low, 2=normal, 3=all
  460. debug = 1
  461.  
  462. ; Asterisk Version Information
  463. ; 1_1,1_2,1_4 By Default it will take 1_2 or higher
  464. asterisk_version = 1_2
  465.  
  466. ; Manage the answer on the call
  467. answer_call = YES
  468.  
  469. ; Play audio - this will disable all stream file but not the Get Data
  470. ; for wholesale ensure that the authentication works and than number_try = 1
  471. play_audio = YES
  472.  
  473. ; play the goodbye message when the user has finished.
  474. say_goodbye = NO
  475.  
  476. ; enable the menu to choose the language
  477. ; press 1 for English, pulsa 2 para el español, Pressez 3 pour Français
  478. play_menulanguage = NO
  479.  
  480.  
  481. ; force the use of a language, if you dont want to use it leave the option empty
  482. ; Values : ES, EN, FR, etc... (according to the audio you have installed)
  483. force_language =
  484.  
  485. ; Introduction prompt : to specify an additional prompt to play at the beginning of the application
  486. intro_prompt =  
  487.  
  488. ; Minimum amount of credit to use the application
  489. min_credit_2call = 0
  490.  
  491. ; this is the minimum duration in seconds of a call in order to be billed
  492. ; any call with a length less than min_duration_2bill will have a 0 cost
  493. ; useful not to charge callers for system errors when a call was answered but it actually didn't connect
  494. min_duration_2bill = 0
  495.  
  496. ; if user doesn't have enough credit to call a destination, prompt him to enter another cardnumber
  497. notenoughcredit_cardnumber = YES
  498.  
  499. ; if notenoughcredit_cardnumber = YES  then     assign the CallerID to the new cardnumber
  500. notenoughcredit_assign_newcardnumber_cid = YES
  501.  
  502.  
  503. ; if YES it will use the DNID and try to dial out, without asking for the phonenumber to call
  504. ; value : YES, NO
  505. use_dnid = NO
  506.  
  507. ; list the dnid on which you want to avoid the use of the previous option "use_dnid"
  508. no_auth_dnid = 2400,2300
  509.  
  510. ; number of times the user can dial different number
  511. number_try = 3
  512.  
  513. ; this will force to select a specific call plan by the Rate Engine
  514. force_callplan_id  =
  515.  
  516. ; Play the balance to the user after the authentication (values : yes - no)
  517. say_balance_after_auth = YES
  518.  
  519. ; Play the balance to the user after the call (values : yes - no)
  520. say_balance_after_call = NO
  521.  
  522. ; Play the initial cost of the route (values : yes - no)
  523. say_rateinitial = NO
  524.  
  525. ; Play the amount of time that the user can call (values : yes - no)
  526. say_timetocall = YES
  527.  
  528.  
  529. ; enable the setup of the callerID number before the outbound is made, by default the user callerID value will be use
  530. auto_setcallerid = YES
  531.  
  532. ; If auto_setcallerid is enabled, the value of force_callerid will be set as CallerID
  533. force_callerid =
  534.  
  535. ; If force_callerid is not set, then the following option ensures that CID is set to one of the card's configured caller IDs or blank if none available.
  536. ; NO - disable this feature, caller ID can be anything.
  537. ; CID - Caller ID must be one of the customers caller IDs
  538. ; DID - Caller ID must be one of the customers DID nos.
  539. ; BOTH - Caller ID must be one of the above two items.
  540. cid_sanitize = NO
  541.  
  542.  
  543. ; enable the callerid authentication
  544. ; if this option is active the CC system will check the CID of caller
  545. cid_enable = NO
  546.  
  547. ; if the CID does not exist, then the caller will be prompt to enter his cardnumber
  548. cid_askpincode_ifnot_callerid = YES
  549.  
  550. ; if the callerID authentication is enable and the authentication fails then the user will be prompt to enter his cardnumber
  551. ; this option will bound the cardnumber entered to the current callerID so that next call will be directly authenticate
  552. cid_auto_assign_card_to_cid = YES
  553.  
  554. ; if the callerID is captured on a2billing, this option will create automatically a new card and add the callerID to it
  555. cid_auto_create_card = NO
  556.  
  557. ; set the length of the card that will be auto create (ie, 10)
  558. cid_auto_create_card_len = 10
  559.  
  560. ; If cid_auto_create_card has been set to YES, the following options will define with which configuration we will create the card
  561. ;
  562. ; billing type of the new card
  563. ; ( value : POSTPAY or PREPAY)
  564. cid_auto_create_card_typepaid = POSTPAY
  565.  
  566. ; amount of credit of the new card
  567. cid_auto_create_card_credit = 0
  568.  
  569. ; if postpay, define the credit limit for the card
  570. cid_auto_create_card_credit_limit = 1000
  571.  
  572. ; the tariffgroup to use for the new card (this is the ID that you can find on the admin web interface)
  573. cid_auto_create_card_tariffgroup = 6
  574.  
  575. ; to check callerID over the cardnumber authentication (to guard against spoofing)
  576. callerid_authentication_over_cardnumber = NO
  577.  
  578. ; enable the option to call sip/iax friend for free (values : YES - NO)
  579. sip_iax_friends = NO
  580.  
  581. ; if SIP_IAX_FRIENDS is active, you can define a prefix for the dialed digits to call a pstn number
  582. ; values : number
  583. sip_iax_pstn_direct_call_prefix = 555
  584.  
  585. ; this will enable a prompt to enter your destination number.
  586. ; if number start by sip_iax_pstn_direct_call_prefix we do directly a sip iax call, if not we do a normal call
  587. sip_iax_pstn_direct_call = NO
  588.  
  589. ; enable the option to refill card with voucher in IVR (values : YES - NO)
  590. ivr_voucher = NO
  591.  
  592. ; if ivr_voucher is active, you can define a prefix for the voucher number to refill your card
  593. ; values : number - don't forget to change prepaid-refill_card_with_voucher audio accordingly
  594. ivr_voucher_prefix = 8
  595.  
  596. ; When the user credit are below the minimum credit to call min_credit
  597. ; jump directly to the voucher IVR menu  (values: YES - NO)
  598. jump_voucher_if_min_credit = NO
  599.  
  600. ; Extracharge DIDs, multiple numbers and fees must be separated by comma
  601. ; extracharge_did = 1800XXXXXXX,1888XXXXXXX
  602. extracharge_did =
  603. ;extracharge_fee = 0.02,0.03
  604. extracharge_fee =
  605.  
  606.  
  607. ; More information about the Dial : http://voip-info.org/wiki-Asterisk+cmd+dial
  608. ;       30 :  The timeout parameter is optional. If not specifed, the Dial command will wait indefinitely, exiting only when the originating channel hangs up, or all the dialed channels return a busy or error condition. Otherwise it specifies a maximum time, in seconds, that the Dial command is to wait for a channel to answer.
  609. ;   H: Allow the caller to hang up by dialing *
  610. ;   r: Generate a ringing tone for the calling party
  611. ;       R: Indicate ringing to the calling party when the called party indicates ringing, pass no audio until answered.
  612. ;   m: Provide Music on Hold to the calling party until the called channel answers.            
  613. ;       L(x[:y][:z]): Limit the call to 'x' ms, warning when 'y' ms are left, repeated every 'z' ms)
  614. ;                                 %timeout% tag is replaced by the calculated timeout according the credit & destination rate!
  615.  
  616. dialcommand_param = "|60|HRrL(%timeout%:61000:30000)"
  617.  
  618. ; by default (3600000  =  1HOUR MAX CALL)
  619. dialcommand_param_sipiax_friend = "|60|HL(3600000:61000:30000)"
  620.  
  621. ; Define the order to make the outbound call
  622. ; YES -> SIP/dialedphonenumber@gateway_ip - NO  SIP/gateway_ip/dialedphonenumber
  623. ; Both should work exactly the same but i experimented one case when gateway was supporting dialedphonenumber@gateway_ip       
  624. ; So in case of trouble, try it out
  625. switchdialcommand = NO
  626.  
  627. ; failover recursive search - define how many time we want to authorize the research of the failover trunk when a call fails (value : 0 - 20)
  628. failover_recursive_limit = 2
  629.  
  630. ; For free calls, limit the duration: amount in seconds
  631. maxtime_tocall_negatif_free_route = 5400
  632.  
  633. ; Send a reminder email to the user when they are under min_credit_2call
  634. send_reminder = NO
  635.  
  636. ; enable to monitor the call (to record all the conversations)
  637. ; value : YES - NO
  638. record_call = NO
  639.  
  640. ; format of the recorded monitor file
  641. monitor_formatfile = gsm
  642.  
  643. ; Force to play the balance to the caller in a predefined currency, to use the currency set for by the customer leave this field empty
  644. agi_force_currency =
  645.  
  646. ; CURRENCY SECTION
  647. ; Define all the audio (without file extensions) that you want to play according to currency (use , to separate, ie "usd:prepaid-dollar,mxn:pesos,eur:Euro,all:credit")
  648. currency_association = usd:dollars,mxn:pesos,eur:euros,all:credit
  649.  
  650. ; Please enter the file name you want to play when we prompt the calling party to enter the destination number
  651. ; file_conf_enter_destination = prepaid-enter-number-u-calling-1-or-011
  652. file_conf_enter_destination = prepaid-enter-dest
  653.  
  654. ; Please enter the file name you want to play when we prompt the calling party to choose the prefered language
  655. ; file_conf_enter_menulang = prepaid-menulang
  656. file_conf_enter_menulang = prepaid-menulang2
  657.  
  658. ; Define if you want to bill the 1st leg on callback even if the call is not connected to the destination
  659. callback_bill_1stleg_ifcall_notconnected = YES
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top