<p>Pruonckk, você tem certeza que é o caso? Quando comento as linhas do asterisk dentro do from-internal ele passa a transferir normalmente.(preferi fazer assim do que criar o extensions_a2billing.conf)</p>
<p>Ou seja, tirou o contexto a2billing, tudo funciona normalmente.</p>
<p>Você teria como esclarecer melhor?</p>
<p>Obrigado pela ajuda!</p>
<p>João Queiroz</p>
<p> </p>
<p> </p>
<p>Em 27/04/2009 18:22, <strong><span>pruonckk@pruonckk.org</span></strong> escreveu:</p>
<blockquote style="border-left: 2px solid #6868cc; margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br /><br />o transfer voce tem que por o parametro t ou T (ou os dois) , abaixo<br />descrição<br /><br />#  t: Allow the called user to transfer the call by hitting the blind xfer<br />keys (features.conf)<br /><br /> * If you have set the variable GOTO_ON_TRANSFER then the transferrer<br />will be sent to the context|exten|pri (you can use ^ to represent | to<br />avoid escapes), example: SetVar(GOTO_ON_TRANSFER=woohoo^s^1); works<br />with both t and T<br /> * WARNING: GOTO_ON_TRANSFER does not exist in any version of ASTERISK<br />and will not! the variable is called GOTO_ON_BLINDXFR see<br />http://svn.digium.com/view/asterisk?rev=5495&amp;view=rev and<br />http://bugs.digium.com/view.php?id=4056 for details. THX to the person<br />who shared the information above!<br /><br /># T: Allow the calling user to transfer the call by hitting the blind xfer<br />keys (features.co
 nf)<br /><br /><br /><br />&gt;
<p>Antes de postar aqui eu dei uma boa googleada e encontrei algo sobre o<br />&gt; parâmetro "i" no dialcommand porém não obtive sucesso, abaixo segue<br />&gt; meus parâmetros de discagem. Se tive paciência segue também meu<br />&gt; a2billing.conf completo.</p>
<br />&gt;
<p>dialcommand_param = "|60|HRgrL(%timeout%:61000:30000)"</p>
<br />&gt;
<p>; by default (3600000  =  1HOUR MAX CALL)<br /><br />&gt; /&gt;dialcommand_param_sipiax_friend = "|60|HRgirL(3600000:61000:30000)"</p>
<br />&gt;
<p>; Define the order to make the outbound call<br />; YES -&gt;<br />&gt; SIP/dialedphonenumber@gateway_ip - NO  SIP/gateway_ip/dialedphonenumber<br /><br />&gt; /&gt;; Both should work exactly the same but i experimented one case when<br />&gt; gateway was supporting dialedphonenumber@gateway_ip        <br />; So in case of<br />&gt; trouble, try it out<br />switchdialcommand = NO</p>
<br />&gt;
<p>Â</p>
<br />&gt;
<p>Tentei também alterar o contexto do a2billing para o descrito aqui:<br />&gt; http://forum.asterisk2billing.org/viewtopic.php?f=16&amp;t=3044&amp;start=15<br />&gt; também sem sucesso.</p>
<br />&gt;
<p>Â</p>
<br />&gt;
<p>Minha instalação roda no trixbox e os ramais foram importados usando<br />&gt; o bulk_extensions.</p>
<br />&gt;
<p>Â</p>
<br />&gt;
<p>Mais alguma idéia?</p>
<br />&gt;
<p>Segue meu a2billing.conf.</p>
<br />&gt;
<p>Obrigado,</p>
<br />&gt;
<p>João Queiroz</p>
<br />&gt;
<p>______________________________</p>
<br />&gt;
<p>Â</p>
<br />&gt;
<p>;<br />; config file for the A2Billing Callingcard platform<br />;</p>
<br />&gt;
<p><br />; Global Database Setup - select the database type and<br />&gt; authentication as required.</p>
<br />&gt;
<p>[database]<br />hostname = localhost<br />port = 5432<br />user =<br />&gt; a2billinguser<br />password = a2billing<br />dbname = mya2billing<br /><br />&gt; /&gt;;dbtype = postgres<br />dbtype = mysql</p>
<br />&gt;
<p><br />[global]<br />; len_cardnumber is removed<br />; interval for the<br />&gt; length of the cardnumber (number of digits), minimum lenght is 4<br />;<br />&gt; ie: 10-15 (cardnumber authorised 10, 11, 12, 13, 14, 15) ; 10,12,14<br />&gt; (cardnumber authorised 10, 12, 14)<br />interval_len_cardnumber = 10</p>
<br />&gt;
<p>; Alias-Card length<br />len_aliasnumber = 10</p>
<br />&gt;
<p>; Voucher length<br />len_voucher = 10</p>
<br />&gt;
<p>;base currency define the default currency that you want to use to<br />&gt; setup your system (see the currency table to know the currency code)<br /><br />&gt; /&gt;base_currency = brl</p>
<br />&gt;
<p>; filename of the image that will be display at the top of the invoice<br />&gt; (if not defined no image will appear ; path to place the image<br />&gt; templates/default/images/)<br />; the type of file have to be a<br />&gt; jpeg/jpg<br />invoice_image = asterisk01.jpg</p>
<br />&gt;
<p>; DID Billing - amount of day before the end of the monthly reservation<br />&gt; to bill the customer to for the DID use<br />; if the user dont have<br />&gt; enough credit he will get an email asking him to refill<br /><br />&gt; /&gt;didbilling_daytopay = 5</p>
<br />&gt;
<p>;webiste administrator email address<br />admin_email =<br />&gt; areski@gmail.com</p>
<br />&gt;
<p>; MANAGER CONNECTION PARAMETERS<br />manager_host = localhost<br /><br />&gt; /&gt;manager_username = a2billinguser<br />manager_secret = a2billing</p>
<br />&gt;
<p><br />; CALL-BACK<br />[callback]<br />; When web call-back is enabled<br />&gt; this is the context to sent the call.<br />context_callback =<br />&gt; a2billing-callback</p>
<br />&gt;
<p>; this is the Extension to redirect the call when the web callback is<br />&gt; returned<br />extension = 1000</p>
<br />&gt;
<p>; this is the number of seconds to wait before initiating the call<br />&gt; back.<br />sec_wait_before_callback = 10</p>
<br />&gt;
<p>;Number of seconds before the call-back can be re-initiated from the<br />&gt; web page<br />; to prevent repeated and unwanted calls. <br /><br />&gt; /&gt;sec_avoid_repeate = 30</p>
<br />&gt;
<p>; if the callback doesnt succeed within the value below, then the call<br />&gt; is deemed to have failed.<br />timeout = 20</p>
<br />&gt;
<p>; if we want to manage the answer on the call<br />; Disabling this for<br />&gt; callback trigger numbers makes it ring not hang up.<br />answer_call =<br />&gt; yes</p>
<br />&gt;
<p><br />; PREDICTIVE DIALER<br />; number of calls an agent will do when<br />&gt; the call button is clicked<br />nb_predictive_call = 10</p>
<br />&gt;
<p>; Number of days to wait before the number becomes available to call<br />&gt; again.<br />nb_day_wait_before_retry = 1</p>
<br />&gt;
<p>; The context to redirect the call for the predictive dialer<br /><br />&gt; /&gt;context_preditctivedialer = a2billing-predictivedialer</p>
<br />&gt;
<p><br />; When a call is made we need to limit the call duration : amount<br />&gt; in seconds <br />predictivedialer_maxtime_tocall = 5400</p>
<br />&gt;
<p>; set the callerID for the predictive dialer and call-back<br /><br />&gt; /&gt;callerid = 123456</p>
<br />&gt;
<p>; ID Call Plan to use when you use the all-callback mode, check the ID<br />&gt; in the "list Call Plan" - WebUI<br />all_callback_tariff = 1</p>
<br />&gt;
<p>; Define the group of servers that are going to be used by the<br />&gt; callback<br />id_server_group = 1</p>
<br />&gt;
<p>; Audio intro message when the callback is initiate <br /><br />&gt; /&gt;callback_audio_intro = prepaid-callback_intro</p>
<br />&gt;
<p><br />; CUSTOMISATION Of THE CUSTOMER INTERFACE<br /><br />&gt; /&gt;[webcustomerui]</p>
<br />&gt;
<p>; url of the signup page to show up on the sign in page (if empty no<br />&gt; link will show up)<br />signup_page_url =</p>
<br />&gt;
<p>;Enable or disable the payment methods; yes for multi-payment or no for<br />&gt; single payment method option<br />paymentmethod = no</p>
<br />&gt;
<p>;Enable or disable the page which allow customer to modify its personal<br />&gt; information<br />personalinfo = no</p>
<br />&gt;
<p>; Enable display of the payment interface - yes or no<br />customerinfo<br />&gt; = no</p>
<br />&gt;
<p>; Enable display of the sip/iax info - yes or no<br />sipiaxinfo =<br />&gt; no</p>
<br />&gt;
<p>; Enable the Call history - yes or no<br />cdr = yes</p>
<br />&gt;
<p>; Enable invoices - yes or no<br />invoice =no</p>
<br />&gt;
<p>; Enable the voucher screen - yes or no<br />voucher = no</p>
<br />&gt;
<p>; Enable the paypal payment buttons - yes or no<br />paypal = no</p>
<br />&gt;
<p>; Allow Speed Dial capabilities - yes or no<br />speeddial = no</p>
<br />&gt;
<p>; Enable the DID (Direct Inwards Dialling) interface - yes or no<br /><br />&gt; /&gt;did = no</p>
<br />&gt;
<p>; Show the ratecards - yes or no<br />ratecard = no</p>
<br />&gt;
<p>; Offer simulator option on the customer interface - yes or no<br /><br />&gt; /&gt;simulator = yes</p>
<br />&gt;
<p>; Enable the callback option on the customer interface - yes or no<br /><br />&gt; /&gt;callback = no</p>
<br />&gt;
<p>; Enable the predictivedialer option on the customer interface - yes or<br />&gt; no<br />predictivedialer = no</p>
<br />&gt;
<p>; Let users use SIP/IAX Webphone (Options : yes/no)<br />webphone =<br />&gt; yes</p>
<br />&gt;
<p>;IP address or domain name of asterisk server that would be used by the<br />&gt; web-phone<br />webphoneserver = localhost</p>
<br />&gt;
<p>; Let the users add new callerid<br />callerid = no</p>
<br />&gt;
<p>; Let the user change the webui password<br />password = yes</p>
<br />&gt;
<p>; The total number of callerIDs for CLI Recognition that can be add by<br />&gt; the customer<br />limit_callerid = 5</p>
<br />&gt;
<p>; Email address to send the notification and error report - new DIDs<br />&gt; assigned will also be emailed.<br />error_email =<br />&gt; confidencial@confidencial.com</p>
<br />&gt;
<p>; URL for specific return if an error occur after login<br /><br />&gt; /&gt;return_url_distant_login =</p>
<br />&gt;
<p>; URL for specific return if an error occur after forgetpassword<br /><br />&gt; /&gt;return_url_distant_forgetpassword =</p>
<br />&gt;
<p><br />;SIP &amp; IAX client configuration information.<br /><br />&gt; /&gt;[sip-iax-info]</p>
<br />&gt;
<p>;Trunk Name to show in sip/iax info <br />sip_iax_info_trunkname =<br />&gt; call-labs</p>
<br />&gt;
<p>;Allowed Codec, ulaw, gsm, g729<br />; use multi value without spaces :<br />&gt; "gsm,ulaw,g729"<br />sip_iax_info_allowcodec = g729</p>
<br />&gt;
<p>;host information<br />sip_iax_info_host = call-labs.com</p>
<br />&gt;
<p>;IAX Additional Parameters<br />iax_additional_parameters =<br />&gt; "canreinvite = no"</p>
<br />&gt;
<p>;SIP Additional Parameters<br />sip_additional_parameters = "trustrpid<br />&gt; = yes | sendrpid = yes | canreinvite = no"</p>
<br />&gt;
<p>[epayment_method]<br />enable = no<br />; eg, http://localhost  -<br />&gt; should not be empty for productive servers<br />http_server =<br />&gt; "http://www.call-labs.com"<br />; eg, https://localhost - Enter here your<br />&gt; Secure Server Address, should not be empty for productive servers<br /><br />&gt; /&gt;https_server = "http://www.call-labs.com"<br />; Enter your Domain Name<br />&gt; or IP Address, eg, 26.63.165.200<br />http_cookie_domain =<br />&gt; 26.63.165.200<br />; Enter your Secure server Domain Name or IP Address,<br />&gt; eg, 26.63.165.200<br />https_cookie_domain = 26.63.165.200<br />; Enter<br />&gt; the Physical path of your Application on your server<br />http_cookie_path<br />&gt; = "/A2BCustomer_UI/"<br />; Enter the Physical path of your Application on<br />&gt; your Secure Server<br />https_cookie_path = "/A2BCustomer_UI/"<br />;<br />&gt; Enter the Physical path of your Application on your server<br /><br />&gt; /&gt;dir_ws_http_catalog = 
 "/A2BCustomer_UI/"<br />; Enter the Physical path<br />&gt; of your Application on your Secure Server<br />dir_ws_https_catalog =<br />&gt; "/A2BCustome<br />&gt;  r_UI/"<br />; secure webserver for checkout procedure?<br />enable_ssl =<br />&gt; yes</p>
<br />&gt;
<p>http_domain = 26.63.165.200</p>
<br />&gt;
<p>dir_ws_http = "/~areski/svn/a2billing/payment/A2BCustomer_UI/"</p>
<br />&gt;
<p>; maybe try with :<br />; Define here the URL to notify the payment<br /><br />&gt; /&gt;; payment_notify_url=...</p>
<br />&gt;
<p>;define the different amount of purchase that would be available - 5<br />&gt; amount maximum (5:10:15)<br />purchase_amount = 1:2:5:10:20</p>
<br />&gt;
<p>; Item name that would be display to the user when he will buy<br />&gt; credit<br />item_name = "Credit Purchase"</p>
<br />&gt;
<p>; Currency for the Credit purchase, only one can be define here<br /><br />&gt; /&gt;currency_code = USD</p>
<br />&gt;
<p>; Define here the URL of paypal gateway the payment (to test with<br />&gt; paypal sandbox)<br />paypal_payment_url =<br />&gt; "https://secure.paypal.com/cgi-bin/webscr"<br />;paypal_payment_url =<br />&gt; "https://www.sandbox.paypal.com/cgi-bin/webscr"</p>
<br />&gt;
<p>; paypal transaction verification url<br />paypal_verify_url =<br />&gt; "ssl://www.paypal.com"<br />;paypal_verify_url =<br />&gt; www.sandbox.paypal.com</p>
<br />&gt;
<p>; Define here the URL of Authorize gateway <br />authorize_payment_url<br />&gt; = "https://secure.authorize.net/gateway/transact.dll"<br /><br />&gt; /&gt;;authorize_payment_url =<br />&gt; "https://test.authorize.net/gateway/transact.dll"</p>
<br />&gt;
<p>;paypal store name to show in the paypal site when customer will go to<br />&gt; pay<br />store_name = Asterisk2Billing</p>
<br />&gt;
<p>;Transaction Key for security of Epayment Max length of 60<br />&gt; Characters.<br />transaction_key = asdf1212fasd121554sd4f5s45sdf</p>
<br />&gt;
<p>;Moneybookers secret word<br />moneybookers_secretword = areski<br /><br />&gt; <br />; SIGNUP MODULE<br />[signup]<br />; enable the signup module<br /><br />&gt; /&gt;enable_signup = 1</p>
<br />&gt;
<p>; enable Captcha on the signup module (value : YES or NO)<br /><br />&gt; /&gt;enable_captcha = YES</p>
<br />&gt;
<p>; amount of credit applied to a new user.<br />credit = 0</p>
<br />&gt;
<p>; the list of id of call plans which will be shown in signup.<br /><br />&gt; /&gt;callplan_id_list = 1, 2</p>
<br />&gt;
<p>; Specify whether the card is created as active or pending<br /><br />&gt; /&gt;activated = no</p>
<br />&gt;
<p>; Simultaneous or non concurrent access with the card - 0 = INDIVIDUAL<br />&gt; ACCESS or 1 = SIMULTANEOUS ACCESS<br />simultaccess = 0</p>
<br />&gt;
<p>;PREPAID CARD  =  0 - POSTPAY CARD  =  1<br />typepaid = 0</p>
<br />&gt;
<p>; Define credit limit, which is only used for a POSTPAY card. <br /><br />&gt; /&gt;creditlimit = 999999999</p>
<br />&gt;
<p>; Authorise the recurring service to apply on this card  -  Yes 1 - No<br />&gt; 0<br />runservice = 0</p>
<br />&gt;
<p>; Enable the expiry of the card  -  Yes 1 - No 0<br />enableexpire =<br />&gt; 0</p>
<br />&gt;
<p>; Expiry Date format YYYY-MM-DD HH:MM:SS. For instance, '2004-12-31<br />&gt; 00:00:00'  <br />expirationdate =</p>
<br />&gt;
<p>; The number of days after which the card will expire  <br />expiredays<br />&gt; = 0</p>
<br />&gt;
<p>; Create a sip account from signup ( default : yes )<br />sip_account =<br />&gt; yes</p>
<br />&gt;
<p>; Create an iax account from signup ( default : yes )<br />iax_account<br />&gt; = yes</p>
<br />&gt;
<p>; active card after the new signup. if No, the Signup confirmation is<br />&gt; needed and an email will be sent <br />; to the user with a link for<br />&gt; activation (need to put the link into the Signup mail template)<br /><br />&gt; /&gt;activatedbyuser = no</p>
<br />&gt;
<p>; url of the customer interface to display after activation<br /><br />&gt; /&gt;urlcustomerinterface = http://localhost/A2BCustomer_UI/</p>
<br />&gt;
<p>; Define if you want to reload Asterisk when a SIP / IAX Friend is<br />&gt; created at signup time<br />reload_asterisk_if_sipiax_created = no</p>
<br />&gt;
<p><br />;BACK-UP AND RESTORE<br />; configuration for backup and<br />&gt; restore<br />[backup]</p>
<br />&gt;
<p>; Path to store backup of database<br />backup_path = /tmp</p>
<br />&gt;
<p>; path for gzip<br />gzip_exe = /bin/gzip</p>
<br />&gt;
<p>; path for gunzip<br />gunzip_exe = /bin/gunzip</p>
<br />&gt;
<p>; path for mysqldump<br />mysqldump = /usr/bin/mysqldump</p>
<br />&gt;
<p>; path for pg_dump<br />pg_dump = /usr/bin/pg_dump</p>
<br />&gt;
<p>; path for mysql<br />mysql = /usr/bin/mysql</p>
<br />&gt;
<p>;path for psql<br />psql = /usr/bin/psql</p>
<br />&gt;
<p>Â</p>
<br />&gt;
<p>; WEB INTERFACE AND API CONFIGURATION<br />[webui]</p>
<br />&gt;
<p>; Path to store the asterisk configuration files SIP &amp; IAX<br /><br />&gt; /&gt;buddy_sip_file = /etc/asterisk/additional_a2billing_sip.conf<br /><br />&gt; /&gt;buddy_iax_file = /etc/asterisk/additional_a2billing_iax.conf</p>
<br />&gt;
<p>; API have a security key to validate the http request, the key has to<br />&gt; be sent after applying md5 <br />; Valid characters are [a-z,A-Z,0-9]<br /><br />&gt; /&gt;api_security_key = Ae87v56zzl34v</p>
<br />&gt;
<p>; API to restrict the IP's authorised to make a request. <br />; Define<br />&gt; The the list of ips separated by ;<br />api_ip_auth = 127.0.0.1</p>
<br />&gt;
<p>; Administative Email(not used yet)<br />email_admin =<br />&gt; confidencial@confidencial.com</p>
<br />&gt;
<p>; MOH (Music on Hold) base directory<br />dir_store_mohmp3 =<br />&gt; /var/lib/asterisk/mohmp3</p>
<br />&gt;
<p>; Number of MOH classes you have created in musiconhold.conf : acc_1,<br />&gt; acc_2... acc_10 class        etc...<br />num_musiconhold_class = 10</p>
<br />&gt;
<p>; Display the help section inside the admin interface  (YES - NO)<br /><br />&gt; /&gt;show_help = YES</p>
<br />&gt;
<p>; File Upload parameters<br />; PLEASE CHECK ALSO THE VALUE IN YOUR<br />&gt; PHP.INI THE LIMIT IS 2MG BY DEFAULT<br />my_max_file_size_import = 1024000<br />&gt; ; 1 MG</p>
<br />&gt;
<p>; Not used yet, The goal is to upload files and use them in the IVR<br /><br />&gt; /&gt;dir_store_audio = /var/lib/asterisk/sounds/a2billing</p>
<br />&gt;
<p>; upload maximum file size<br />my_max_file_size_audio=3072000 ; in<br />&gt; bytes</p>
<br />&gt;
<p>; File type extensions permitted to be uploaded such as "gsm, mp3, wav"<br />&gt; (separated by ,)<br />file_ext_allow = gsm, mp3, wav</p>
<br />&gt;
<p>; File type extensions permitted to be uploaded for the musiconhold<br />&gt; such as "gsm, mp3, wav" (separate by ,)<br />file_ext_allow_musiconhold =<br />&gt; mp3</p>
<br />&gt;
<p><br />; RECORDED CONVERSATIONS</p>
<br />&gt;
<p>; Enable link on the CDR viewer to the recordings. (YES - NO)<br /><br />&gt; /&gt;link_audio_file = yes</p>
<br />&gt;
<p><br />; Path to link the recorded monitor files<br />monitor_path =<br />&gt; /var/spool/asterisk/monitor<br />; grant access to apache user on read<br />&gt; mode for the directory :&gt;  chmod 755 /var/spool/asterisk/monitor/</p>
<br />&gt;
<p>; FORMAT OF THE RECORDED MONITOR FILE <br />monitor_formatfile =<br />&gt; gsm</p>
<br />&gt;
<p>; Display the icon in the invoice<br />show_icon_invoice = YES</p>
<br />&gt;
<p>;CURRENCY AND GENERAL SETTINGS</p>
<br />&gt;
<p>; Display the top frame (useful if you want to save space on your<br />&gt; little tiny screen )<br />show_top_frame = NO</p>
<br />&gt;
<p>; Allow the customer to chose the most appropriate currency ("all" can<br />&gt; be used)<br />currency_choose = usd, eur, cad, hkd</p>
<br />&gt;
<p>; field to export in csv format from cc_card table<br /><br />&gt; /&gt;card_export_field_list = id, username, useralias, lastname, credit,<br />&gt; tariff, activated, language, inuse, currency, sip_buddy, iax_buddy,<br />&gt; nbused, mac_addr</p>
<br />&gt;
<p>; field to export in csv format from cc_voucher table<br /><br />&gt; /&gt;voucher_export_field_list = id, voucher, credit, tag, activated,<br />&gt; usedcardnumber, usedate, currency</p>
<br />&gt;
<p>; Advanced mode - Display additional configuration options on the<br />&gt; ratecard (progressive rates, musiconhold, ...)<br />advanced_mode = NO</p>
<br />&gt;
<p>; Delete the SIP/IAX Friend &amp; callerid when a card is deleted<br /><br />&gt; /&gt;delete_fk_card = yes</p>
<br />&gt;
<p><br />; This section is basically used when we create a new friend <br /><br />&gt; /&gt;; when you create a SIP IAX friend for a card the following parameters<br />&gt; will define the default value for the peer creation<br />[peer_friend]<br /><br />&gt; /&gt;; Refer to sip.conf &amp; iax.conf documentation for the meaning of<br />&gt; those parameters<br />; sip.conf -&gt;<br />&gt; http://www.voip-info.org/wiki-Asterisk+config+sip.conf<br />; iax.conf<br />&gt; -&gt; http://www.voip-info.org/wiki-Asterisk+config+iax.conf<br />type =<br />&gt; friend<br />allow = ulaw,alaw,gsm,g729<br />context = a2billing<br />; use<br />&gt; "no" or "yes" with quote otherwise the value will be converted to 1 or<br />&gt; 0<br />nat = "yes"<br />amaflag = billing<br />; use "no" or "yes" with<br />&gt; quote otherwise the value will be converted to 1 or 0<br />qualify =<br />&gt; "yes"<br />host = dynamic<br />dtmfmode = RFC2833</p>
<br />&gt;
<p><br />[log-files]<br />; To disable application logging, remove/comment<br />&gt; the log file name aside service</p>
<br />&gt;
<p>; cront - recurring process <br />cront_alarm =<br />&gt; /tmp/cront_a2b_alarm.log<br />cront_autorefill =<br />&gt; /tmp/cront_a2b_autorefill.log<br />cront_batch_process =<br />&gt; /tmp/cront_a2b_batch_process.log<br />cront_bill_diduse =<br />&gt; /tmp/cront_a2b_bill_diduse.log<br />cront_subscriptionfee =<br />&gt; /tmp/cront_a2b_subscription_fee.log<br />cront_currency_update =<br />&gt; /tmp/cront_a2b_currency_update.log<br />cront_invoice =<br />&gt; /tmp/cront_a2b_invoice.log<br />cront_check_account =<br />&gt; /tmp/cront_a2b_check_account.log</p>
<br />&gt;
<p>; paypal log file, to log all the transaction &amp; error<br />paypal =<br />&gt; /tmp/a2billing_paypal.log</p>
<br />&gt;
<p>; epayment log file, to log all the transaction &amp; error<br /><br />&gt; /&gt;epayment = /tmp/a2billing_epayment.log</p>
<br />&gt;
<p>; Log file to store the ecommerce API requests<br />api_ecommerce =<br />&gt; /tmp/api_ecommerce_request.log</p>
<br />&gt;
<p>; Log file to store the CallBack API requests<br />api_callback =<br />&gt; /tmp/api_w<br />callback_request.log</p>
<br />&gt;
<p>; File to log<br />agi = /tmp/a2billing_agi.log</p>
<br />&gt;
<p>Â</p>
<br />&gt;
<p>; configuration for the AGI, different configuration can be defined, ie<br />&gt; "agi-conf1", "agi-conf2", etc...<br />; the groupid parameter will define<br />&gt; which process_sections to use. Usage : DeadAGI(a2billing.php|%groupid%)<br /><br />&gt; /&gt;; by default agi-conf1 is used<br />[agi-conf1]</p>
<br />&gt;
<p>; the debug level<br />; 0=none, 1=low, 2=normal, 3=all<br />debug =<br />&gt; 1</p>
<br />&gt;
<p>; Asterisk Version Information<br />; 1_1,1_2,1_4 By Default it will<br />&gt; take 1_2 or higher<br />asterisk_version = 1_2</p>
<br />&gt;
<p>; Manage the answer on the call<br />answer_call = YES</p>
<br />&gt;
<p>; Play audio - this will disable all stream file but not the Get Data<br />&gt; <br />; for wholesale ensure that the authentication works and than<br />&gt; number_try = 1<br />play_audio = YES</p>
<br />&gt;
<p>; play the goodbye message when the user has finished.<br />say_goodbye<br />&gt; = NO</p>
<br />&gt;
<p>; enable the menu to choose the language<br />; press 1 for English,<br />&gt; pulsa 2 para el español, Pressez 3 pour Français<br />play_menulanguage<br />&gt; = NO</p>
<br />&gt;
<p><br />; force the use of a language, if you dont want to use it leave<br />&gt; the option empty<br />; Values : ES, EN, FR, etc... (according to the<br />&gt; audio you have installed)<br />force_language = BR</p>
<br />&gt;
<p>; Introduction prompt : to specify an additional prompt to play at the<br />&gt; beginning of the application<br />intro_prompt =</p>
<br />&gt;
<p>; Minimum amount of credit to use the application<br />min_credit_2call<br />&gt; = 0</p>
<br />&gt;
<p>; this is the minimum duration in seconds of a call in order to be<br />&gt; billed<br />; any call with a length less than min_duration_2bill will<br />&gt; have a 0 cost<br />; useful not to charge callers for system errors when a<br />&gt; call was answered but it actually didn't connect<br />min_duration_2bill =<br />&gt; 0</p>
<br />&gt;
<p>; if user doesn't have enough credit to call a destination, prompt him<br />&gt; to enter another cardnumber<br />notenoughcredit_cardnumber = YES</p>
<br />&gt;
<p>; if notenoughcredit_cardnumber = YES  then        assign the CallerID to the<br />&gt; new cardnumber<br />notenoughcredit_assign_newcardnumber_cid = NO</p>
<br />&gt;
<p><br />; if YES it will use the DNID and try to dial out, without asking<br />&gt; for the phonenumber to call<br />; value : YES, NO<br />use_dnid = YES</p>
<br />&gt;
<p>; list the dnid on which you want to avoid the use of the previous<br />&gt; option "use_dnid"<br />no_auth_dnid = 2400,2300</p>
<br />&gt;
<p>; number of times the user can dial different number<br />number_try =<br />&gt; 3</p>
<br />&gt;
<p>; this will force to select a specific call plan by the Rate Engine<br /><br />&gt; /&gt;force_callplan_id  =</p>
<br />&gt;
<p>; Play the balance to the user after the authentication (values : yes -<br />&gt; no)<br />say_balance_after_auth = NO</p>
<br />&gt;
<p>; Play the balance to the user after the call (values : yes - no)<br /><br />&gt; /&gt;say_balance_after_call = NO</p>
<br />&gt;
<p>; Play the initial cost of the route (values : yes - no)<br /><br />&gt; /&gt;say_rateinitial = NO</p>
<br />&gt;
<p>; Play the amount of time that the user can call (values : yes - no)<br /><br />&gt; /&gt;say_timetocall = NO</p>
<br />&gt;
<p><br />; enable the setup of the callerID number before the outbound is<br />&gt; made, by default the user callerID value will be use<br />auto_setcallerid<br />&gt; = YES</p>
<br />&gt;
<p>; If auto_setcallerid is enabled, the value of force_callerid will be<br />&gt; set as CallerID<br />force_callerid =</p>
<br />&gt;
<p>; If force_callerid is not set, then the following option ensures that<br />&gt; CID is set to one of the card's configured caller IDs or blank if none<br />&gt; available.<br />; NO - disable this feature, caller ID can be anything.<br /><br />&gt; /&gt;; CID - Caller ID must be one of the customers caller IDs<br />; DID -<br />&gt; Caller ID must be one of the customers DID nos.<br />; BOTH - Caller ID<br />&gt; must be one of the above two items.<br />cid_sanitize = NO</p>
<br />&gt;
<p><br />; enable the callerid authentication<br />; if this option is<br />&gt; active the CC system will check the CID of caller <br />cid_enable =<br />&gt; NO</p>
<br />&gt;
<p>; if the CID does not exist, then the caller will be prompt to enter<br />&gt; his cardnumber<br />cid_askpincode_ifnot_callerid = YES</p>
<br />&gt;
<p>; if the callerID authentication is enable and the authentication fails<br />&gt; then the user will be prompt to enter his cardnumber<br />; this option<br />&gt; will bound the cardnumber entered to the current callerID so that next<br />&gt; call will be directly authenticate<br />cid_auto_assign_card_to_cid =<br />&gt; NO</p>
<br />&gt;
<p>; if the callerID is captured on a2billing, this option will create<br />&gt; automatically a new card and add the callerID to it        <br /><br />&gt; /&gt;cid_auto_create_card = NO</p>
<br />&gt;
<p>; set the length of the card that will be auto create (ie, 10)<br /><br />&gt; /&gt;cid_auto_create_card_len = 10</p>
<br />&gt;
<p>; If cid_auto_create_card has been set to YES, the following options<br />&gt; will define with which configuration we will create the card<br />;<br />;<br />&gt; billing type of the new card<br />; ( value : POSTPAY or PREPAY)<br /><br />&gt; /&gt;cid_auto_create_card_typepaid = POSTPAY</p>
<br />&gt;
<p>; amount of credit of the new card<br />cid_auto_create_card_credit =<br />&gt; 0</p>
<br />&gt;
<p>; if postpay, define the credit limit for the card<br /><br />&gt; /&gt;cid_auto_create_card_credit_limit = 1000</p>
<br />&gt;
<p>; the tariffgroup to use for the new card (this is the ID that you can<br />&gt; find on the admin web interface)<br />cid_auto_create_card_tariffgroup =<br />&gt; 6</p>
<br />&gt;
<p>; to check callerID over the cardnumber authentication (to guard<br />&gt; against spoofing)<br />callerid_authentication_over_cardnumber = NO</p>
<br />&gt;
<p>; enable the option to call sip/iax friend for free (values : YES -<br />&gt; NO)<br />sip_iax_friends = NO</p>
<br />&gt;
<p>; if SIP_IAX_FRIENDS is active, you can define a prefix for the dialed<br />&gt; digits to call a pstn number<br />; values : number<br /><br />&gt; /&gt;sip_iax_pstn_direct_call_prefix = 555</p>
<br />&gt;
<p>; this will enable a prompt to enter your destination number.<br />; if<br />&gt; number start by sip_iax_pstn_direct_call_prefix we do directly a sip iax<br />&gt; call, if not we do a normal call<br />sip_iax_pstn_direct_call = NO</p>
<br />&gt;
<p>; enable the option to refill card with voucher in IVR (values : YES -<br />&gt; NO)<br />ivr_voucher = NO</p>
<br />&gt;
<p>; if ivr_voucher is active, you can define a prefix for the voucher<br />&gt; number to refill your card<br />; values : number - don't forget to change<br />&gt; prepaid-refill_card_with_voucher audio accordingly<br />ivr_voucher_prefix<br />&gt; = 8</p>
<br />&gt;
<p>; When the user credit are below the minimum credit to call<br />&gt; min_credit<br />; jump directly to the voucher IVR menu  (values: YES -<br />&gt; NO)<br />jump_voucher_if_min_credit = NO</p>
<br />&gt;
<p>; Extracharge DIDs, multiple numbers and fees must be separated by<br />&gt; comma<br />; extracharge_did = 1800XXXXXXX,1888XXXXXXX<br /><br />&gt; /&gt;extracharge_did = <br />;extracharge_fee = 0.02,0.03<br /><br />&gt; /&gt;extracharge_fee = <br />;extracharge_buyfee = 0.015,0.025<br /><br />&gt; /&gt;extracharge_buyfee =</p>
<br />&gt;
<p>; List the prefixes that will be stripped off if the call plan requires<br />&gt; it<br />international_prefixes = 011,00,09</p>
<br />&gt;
<p>; More information about the Dial :<br />&gt; http://voip-info.org/wiki-Asterisk+cmd+dial<br />;        30 :  The timeout<br />&gt; parameter is optional. If not specifed, the Dial command will wait<br />&gt; indefinitely, exiting only when the originating channel hangs up, or all<br />&gt; the dialed channels return a busy or error condition. Otherwise it<br />&gt; specifies a maximum time, in seconds, that the Dial command is to wait for<br />&gt; a channel to answer.<br />;        H: Allow the caller to hang up by dialing *<br />&gt; <br />;        r: Generate a ringing tone for the calling party<br />;        g: When<br />&gt; the called party hangs up, exit to execute more commands in the current<br />&gt; context. (new in 1.4)<br />;        i: Asterisk will ignore any forwarding (302<br />&gt; Redirect) requests received. Essential for DID usage to prevent fraud.<br />&gt; (new in 1.4) Useful if you are ringing a group of people and one person<br />&gt; has set their phone to forwarded direct to voice
 mail on their cell or<br />&gt; something which normally prevents any of the other phones from ringing.<br /><br />&gt; /&gt;;        R: Indicate ringing<br />&gt;   to the calling party when the called party indicates ringing, pass no<br />&gt; audio until answered.<br />;        m: Provide Music on Hold to the calling<br />&gt; party until the called channel answers.                 <br />;         L(x[:y][:z]): Limit<br />&gt; the call to 'x' ms, warning when 'y' ms are left, repeated every 'z'<br />&gt; ms)<br />;                                  %timeout% tag is replaced by the calculated timeout<br />&gt; according the credit &amp; destination rate!</p>
<br />&gt;
<p>dialcommand_param = "|60|HRgrL(%timeout%:61000:30000)"</p>
<br />&gt;
<p>; by default (3600000  =  1HOUR MAX CALL)<br /><br />&gt; /&gt;dialcommand_param_sipiax_friend = "|60|HRgirL(3600000:61000:30000)"</p>
<br />&gt;
<p>; Define the order to make the outbound call<br />; YES -&gt;<br />&gt; SIP/dialedphonenumber@gateway_ip - NO  SIP/gateway_ip/dialedphonenumber<br /><br />&gt; /&gt;; Both should work exactly the same but i experimented one case when<br />&gt; gateway was supporting dialedphonenumber@gateway_ip        <br />; So in case of<br />&gt; trouble, try it out<br />switchdialcommand = NO</p>
<br />&gt;
<p>; failover recursive search - define how many time we want to authorize<br />&gt; the research of the failover trunk when a call fails (value : 0 - 20)<br /><br />&gt; /&gt;failover_recursive_limit = 2</p>
<br />&gt;
<p>; For free calls, limit the duration: amount in seconds <br /><br />&gt; /&gt;maxtime_tocall_negatif_free_route = 5400</p>
<br />&gt;
<p>; Send a reminder email to the user when they are under<br />&gt; min_credit_2call <br />send_reminder = NO</p>
<br />&gt;
<p>; enable to monitor the call (to record all the conversations)<br />;<br />&gt; value : YES - NO<br />record_call = NO</p>
<br />&gt;
<p>; format of the recorded monitor file <br />monitor_formatfile =<br />&gt; gsm</p>
<br />&gt;
<p>; Force to play the balance to the caller in a predefined currency, to<br />&gt; use the currency set for by the customer leave this field empty<br /><br />&gt; /&gt;agi_force_currency =</p>
<br />&gt;
<p>; CURRENCY SECTION<br />; Define all the audio (without file<br />&gt; extensions) that you want to play according to currency (use , to<br />&gt; separate, ie "usd:prepaid-dollar,mxn:pesos,eur:Euro,all:credit")<br /><br />&gt; /&gt;currency_association = usd:dollars,mxn:pesos,eur:euros,all:credit</p>
<br />&gt;
<p>; Please enter the file name you want to play when we prompt the<br />&gt; calling party to enter the destination number<br />;<br />&gt; file_conf_enter_destination = prepaid-enter-number-u-calling-1-or-011<br /><br />&gt; /&gt;file_conf_enter_destination = prepaid-enter-dest</p>
<br />&gt;
<p>; Please enter the file name you want to play when we prompt the<br />&gt; calling party to choose the prefered language<br />;<br />&gt; file_conf_enter_menulang = prepaid-menulang<br />file_conf_enter_menulang<br />&gt; = prepaid-menulang2</p>
<br />&gt;
<p>; Define if you want to bill the 1st leg on callback even if the call<br />&gt; is not connected to the destination<br /><br />&gt; /&gt;callback_bill_1stleg_ifcall_notconnected = YES</p>
<br />&gt;
<p>Â</p>
<br />&gt;
<p><br />Em 27/04/2009 17:38,<br />&gt; <strong><span>pruonckk@pruonckk.org</span></strong> escreveu:</p>
<br />&gt;
<blockquote style="border-left: 2px solid #6868cc; padding-left: 1ex;"><br /><br />verifique o parametro que está<br />&gt; sendo utilizado na discagem pelo a2billing<br />em<br />&gt; /etc/asterisk/a2billing.conf<br /><br />&gt;<br />&gt;
<p>Pessoal, tenho um pequeno escritório onde os clientes não<br />&gt; conseguem<br />&gt; transferir as ligações da forma correta.</p>
<br />&gt; <br />&gt;<br />&gt;
<p>Tenho o A2B instalado, quando faço uma ligação e vou<br />&gt; transferí-la<br />&gt; ela simplesmente não vai. Posso apertar *2<br />&gt; (transferir) quantas vezes for<br />&gt; que o cliente do outro lado da<br />&gt; linha escuta o DTMF do *2 mas a ligação<br />&gt; não vai, ÃƒÂ©<br />&gt; como se o A2B não reconhecesse essa facilidade, o efeito ÃƒÂ©<br />&gt;<br />&gt; o mesmo que apertar qualquer tecla do telefone durante uma chamada.<br />&gt; Só<br />&gt; consigo transferir usando a tecla TRANSFER do meu IP-Fone<br />&gt; para um RAMAL B,<br />&gt; mas mesmo assim a transferência ÃƒÂ© feita<br />&gt; porém a chamada externa fica<br />&gt; muda. Então faço uma<br />&gt; segunda transferência do RAMAL B para o ramal<br />&gt; original e,<br />&gt; só assim, tudo passa a funcionar normalmente.</p>
<br />&gt; <br />&gt;<br />&gt;
<p>Â</p>
<br />&gt; <br />&gt;<br />&gt;
<p>Não sei se me fiz entender, resumindo, apenas após duas<br />&gt;<br />&gt; transferências ÃƒÂ© que consigo trabalhar com a chamada dentro do<br />&gt; *.</p>
<br />&gt; <br />&gt;<br />&gt;
<p>No sip_additional.conf já coloquei transfer=yes e tudo continuou<br />&gt; na<br />&gt; mesma.</p>
<br />&gt; <br />&gt;<br />&gt;
<p>Alguma luz?</p>
<br />&gt; <br />&gt;<br />&gt;
<p>Â</p>
<br />&gt; <br />&gt;<br />&gt;
<p>Grato,</p>
<br />&gt; <br />&gt;<br />&gt;
<p>João Queiroz</p>
<br />&gt; <br />&gt; _______________________________________________<br />&gt;<br />&gt; Openmoko Freerunner, primeiro telefone open source, disponível no<br />&gt; Brasil<br />&gt; rodando o Android da Google.<br />&gt;<br />&gt; http://www.neodroid.com<br />&gt;<br />&gt; Compre uma camiseta da<br />&gt; AsteriskBrasil.org!<br />&gt; http://www.voipmania.com.br<br />&gt;<br /><br />&gt; /&gt;&gt; Acesse o canal IRC de discussão sobre Asterisk em Português<br />&gt; Brasileiro na<br />&gt; rede Freenode.net: #asterisk-br<br />&gt;<br />&gt; _______________________________________________<br />&gt; Lista de<br />&gt; discussões AsteriskBrasil.org<br />&gt;<br />&gt; AsteriskBrasil@listas.asteriskbrasil.org<br />&gt;<br />&gt; http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil<br /><br /><br />&gt; /&gt;<br />_______________________________________________<br />Openmoko<br />&gt; Freerunner, primeiro telefone open source, disponível no Brasil roda
 ndo o<br />&gt; Android da Google.<br />http://www.neodroid.com<br /><br />Compre uma<br />&gt; camiseta da AsteriskBrasil.org!<br />http://www.voipmania.com.br<br /><br /><br />&gt; /&gt;A<br />&gt;  cesse o canal IRC de discussão sobre Asterisk em Português Brasileiro<br />&gt; na rede Freenode.net: #asterisk-br<br /><br />&gt; /&gt;_______________________________________________<br />Lista de<br />&gt; discussões AsteriskBrasil.org<br /><br />&gt; /&gt;AsteriskBrasil@listas.asteriskbrasil.org<br /><br />&gt; /&gt;http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil<br /><br />&gt; /&gt;<br /></blockquote>
<br />&gt; _______________________________________________<br />&gt; Openmoko Freerunner, primeiro telefone open source, disponível no Brasil<br />&gt; rodando o Android da Google.<br />&gt; http://www.neodroid.com<br />&gt;<br />&gt; Compre uma camiseta da AsteriskBrasil.org!<br />&gt; http://www.voipmania.com.br<br />&gt;<br />&gt; Acesse o canal IRC de discussão sobre Asterisk em Português Brasileiro na<br />&gt; rede Freenode.net: #asterisk-br<br />&gt; _______________________________________________<br />&gt; Lista de discussões AsteriskBrasil.org<br />&gt; AsteriskBrasil@listas.asteriskbrasil.org<br />&gt; http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil<br /><br /><br />_______________________________________________<br />Openmoko Freerunner, primeiro telefone open source, disponível no Brasil rodando o Android da Google.<br />http://www.neodroid.com<br /><br />Compre uma camiseta da AsteriskBrasil.org!<br />http://www.voipmania.com.br<br /><br />A
 cesse o canal IRC de discussão sobre Asterisk em Português Brasileiro na rede Freenode.net: #asterisk-br<br />_______________________________________________<br />Lista de discussões AsteriskBrasil.org<br />AsteriskBrasil@listas.asteriskbrasil.org<br />http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil<br /><br /></blockquote>