1 /* ==================================================================== 
     2  * The Kannel Software License, Version 1.0 
     4  * Copyright (c) 2001-2018 Kannel Group  
     5  * Copyright (c) 1998-2001 WapIT Ltd.   
     8  * Redistribution and use in source and binary forms, with or without 
     9  * modification, are permitted provided that the following conditions 
    12  * 1. Redistributions of source code must retain the above copyright 
    13  *    notice, this list of conditions and the following disclaimer. 
    15  * 2. Redistributions in binary form must reproduce the above copyright 
    16  *    notice, this list of conditions and the following disclaimer in 
    17  *    the documentation and/or other materials provided with the 
    20  * 3. The end-user documentation included with the redistribution, 
    21  *    if any, must include the following acknowledgment: 
    22  *       "This product includes software developed by the 
    23  *        Kannel Group (http://www.kannel.org/)." 
    24  *    Alternately, this acknowledgment may appear in the software itself, 
    25  *    if and wherever such third-party acknowledgments normally appear. 
    27  * 4. The names "Kannel" and "Kannel Group" must not be used to 
    28  *    endorse or promote products derived from this software without 
    29  *    prior written permission. For written permission, please  
    30  *    contact org@kannel.org. 
    32  * 5. Products derived from this software may not be called "Kannel", 
    33  *    nor may "Kannel" appear in their name, without prior written 
    34  *    permission of the Kannel Group. 
    36  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED 
    37  * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 
    38  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
    39  * DISCLAIMED.  IN NO EVENT SHALL THE KANNEL GROUP OR ITS CONTRIBUTORS 
    40  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,  
    41  * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT  
    42  * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR  
    43  * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,  
    44  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE  
    45  * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,  
    46  * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
    47  * ==================================================================== 
    49  * This software consists of voluntary contributions made by many 
    50  * individuals on behalf of the Kannel Group.  For more information on  
    51  * the Kannel Group, please see <http://www.kannel.org/>. 
    53  * Portions of this software are based upon software originally written at  
    54  * WapIT Ltd., Helsinki, Finland for the Kannel project.  
    58  * cfg.def - definition of configuration groups and variables
    65 #error OCTSTR not defined.
    69 #error SINGLE_GROUP not defined.
    73 #error MULTI_GROUP not defined.
    79     OCTSTR(admin-port-ssl)
    80     OCTSTR(admin-interface)    
    81     OCTSTR(admin-password)
    82     OCTSTR(status-password)
    84     OCTSTR(admin-allow-ip)
    86     OCTSTR(smsbox-port-ssl)
    87     OCTSTR(smsbox-interface)
    88     OCTSTR(smsbox-max-pending)
    90     OCTSTR(wapbox-port-ssl)
    95     OCTSTR(wdp-interface-name)
    99     OCTSTR(syslog-facility)
   101     OCTSTR(access-log-time)
   102     OCTSTR(access-log-format)
   103     OCTSTR(access-log-clean)
   105     OCTSTR(store-dump-freq)
   107     OCTSTR(store-location)
   108     OCTSTR(unified-prefix)
   109     OCTSTR(white-list)           /* deprecated, supported until next major stable release - start */
   110     OCTSTR(white-list-regex)
   112     OCTSTR(black-list-regex)     /* deprecated, supported until next major stable release - end */
   113     OCTSTR(white-list-sender)
   114     OCTSTR(white-list-sender-regex)
   115     OCTSTR(black-list-sender)
   116     OCTSTR(black-list-sender-regex)
   117     OCTSTR(white-list-receiver)
   118     OCTSTR(white-list-receiver-regex)
   119     OCTSTR(black-list-receiver)
   120     OCTSTR(black-list-receiver-regex)
   121     OCTSTR(http-proxy-host)
   122     OCTSTR(http-proxy-port)
   123     OCTSTR(http-proxy-ssl)
   124     OCTSTR(http-proxy-exceptions)
   125     OCTSTR(http-proxy-exceptions-regex)
   126     OCTSTR(http-proxy-username)
   127     OCTSTR(http-proxy-password)
   128     OCTSTR(ssl-client-certkey-file)
   129     OCTSTR(ssl-server-cert-file)
   130     OCTSTR(ssl-server-key-file)
   131     OCTSTR(ssl-trusted-ca-file)
   132     OCTSTR(ssl-client-cipher-list)
   133     OCTSTR(ssl-server-cipher-list)
   136     OCTSTR(maximum-queue-length)    /* deprecated, supported until next major stable release */
   137     OCTSTR(sms-incoming-queue-limit)
   138     OCTSTR(sms-outgoing-queue-limit)
   139     OCTSTR(sms-resend-freq)
   140     OCTSTR(sms-resend-retry)
   141     OCTSTR(sms-combine-concatenated-mo)
   142     OCTSTR(sms-combine-concatenated-mo-timeout)
   148     OCTSTR(bearerbox-host)
   151     OCTSTR(map-url)                 /* deprecated, supported until next major stable release - start */
   162     OCTSTR(map-url-9)               /* deprecated, supported until next major stable release - end */
   167     OCTSTR(syslog-facility)
   170     OCTSTR(access-log-time)
   171     OCTSTR(access-log-clean)
   172     OCTSTR(http-interface-name)
   173     OCTSTR(concatenation)
   180 MULTI_GROUP(wap-url-map,
   184     OCTSTR(send-msisdn-query)
   185     OCTSTR(send-msisdn-header)
   186     OCTSTR(send-msisdn-format)
   187     OCTSTR(accept-cookies)
   191 MULTI_GROUP(wap-user-map,
   200     OCTSTR(certificate-file)
   201     OCTSTR(privatekey-file)
   202     OCTSTR(privatekey-password)
   211     OCTSTR(concurrent-pushes)
   215     OCTSTR(ssl-server-cert-file)
   216     OCTSTR(ssl-server-key-file)
   217     OCTSTR(global-sender)
   219     OCTSTR(default-dlr-url)
   220     OCTSTR(ppg-smsbox-id)
   225 MULTI_GROUP(wap-push-user,
   226     OCTSTR(wap-push-user)
   229     OCTSTR(country-prefix)
   230     OCTSTR(allowed-prefix)
   231     OCTSTR(allowed-prefix-regex)
   232     OCTSTR(denied-prefix)
   233     OCTSTR(denied-prefix-regex)
   235     OCTSTR(white-list-regex)
   236     OCTSTR(black-list-regex)
   247 SINGLE_GROUP(test-ppg,
   250     OCTSTR(ssl-client-certkey-file)
   251     OCTSTR(ssl-trusted-ca-file)
   255 SINGLE_GROUP(configuration,
   266     OCTSTR(bearerbox-host)
   267     OCTSTR(bearerbox-port)
   268     OCTSTR(bearerbox-port-ssl)
   270     OCTSTR(sendsms-port-ssl)
   271     OCTSTR(sendsms-interface)    
   275     OCTSTR(sendsms-chars)
   276     OCTSTR(global-sender)
   280     OCTSTR(syslog-facility)
   282     OCTSTR(access-log-time)
   283     OCTSTR(access-log-clean)
   285     OCTSTR(reply-couldnotfetch)
   286     OCTSTR(reply-couldnotrepresent)
   287     OCTSTR(reply-requestfailed)
   288     OCTSTR(reply-emptymessage)
   289     OCTSTR(allowed-prefix)
   290     OCTSTR(denied-prefix)
   294     OCTSTR(http-request-retry)
   295     OCTSTR(http-queue-delay)
   296     OCTSTR(white-list-regex)
   297     OCTSTR(black-list-regex)
   298     OCTSTR(immediate-sendsms-reply)
   299     OCTSTR(max-pending-requests)
   304 MULTI_GROUP(smsbox-route,
   314     OCTSTR(smsc-admin-id)
   315     OCTSTR(denied-smsc-id)
   316     OCTSTR(allowed-smsc-id)
   317     OCTSTR(preferred-smsc-id)
   318     OCTSTR(allowed-prefix)
   319     OCTSTR(denied-prefix)
   320     OCTSTR(preferred-prefix)
   321     OCTSTR(unified-prefix)
   323     OCTSTR(reroute-smsc-id)
   324     OCTSTR(reroute-receiver)
   325     OCTSTR(reroute-receiver-regex)
   340     OCTSTR(smsc-username)
   341     OCTSTR(smsc-password)
   343     OCTSTR(sim-buffering)
   347     OCTSTR(validityperiod)
   350     OCTSTR(our-receiver-port)
   351     OCTSTR(connect-allow-ip)
   354     OCTSTR(address-range)
   358     OCTSTR(ois-debug-level)
   365     OCTSTR(sender-prefix)
   368     OCTSTR(wait-ack-expire)
   376     OCTSTR(session-length)
   379     OCTSTR(source-addr-ton)
   380     OCTSTR(source-addr-npi)
   381     OCTSTR(dest-addr-ton)
   382     OCTSTR(dest-addr-npi)
   383     OCTSTR(bind-addr-ton)
   384     OCTSTR(bind-addr-npi)
   387     OCTSTR(source-addr-autodetect)
   388     OCTSTR(enquire-link-interval)
   389     OCTSTR(max-pending-submits)
   390     OCTSTR(reconnect-delay)
   391     OCTSTR(transceiver-mode)
   392     OCTSTR(interface-version)
   394     OCTSTR(notification-pid)
   395     OCTSTR(notification-addr)
   398     OCTSTR(connection-timeout)
   399     OCTSTR(allowed-smsc-id-regex)
   400     OCTSTR(denied-smsc-id-regex)
   401     OCTSTR(preferred-smsc-id-regex)
   402     OCTSTR(allowed-prefix-regex)
   403     OCTSTR(denied-prefix-regex)
   404     OCTSTR(preferred-prefix-regex)
   405     OCTSTR(max-error-count)
   406     OCTSTR(alt-addr-charset)
   408     OCTSTR(status-success-regex)
   409     OCTSTR(status-permfail-regex)
   410     OCTSTR(status-tempfail-regex)
   411     OCTSTR(max-sms-octets)
   413     OCTSTR(password-prompt)
   414     OCTSTR(ssl-client-certkey-file)
   415     OCTSTR(generic-param-username)
   416     OCTSTR(generic-param-password)
   417     OCTSTR(generic-param-from)
   418     OCTSTR(generic-param-to)
   419     OCTSTR(generic-param-text)
   420     OCTSTR(generic-param-udh)
   421     OCTSTR(generic-param-service)
   422     OCTSTR(generic-param-account)
   423     OCTSTR(generic-param-binfo)
   424     OCTSTR(generic-param-dlr-mask)
   425     OCTSTR(generic-param-dlr-err)
   426     OCTSTR(generic-param-dlr-url)
   427     OCTSTR(generic-param-dlr-mid)
   428     OCTSTR(generic-param-flash)
   429     OCTSTR(generic-param-mclass)
   430     OCTSTR(generic-param-mwi)
   431     OCTSTR(generic-param-coding)
   432     OCTSTR(generic-param-validity)
   433     OCTSTR(generic-param-deferred)
   434     OCTSTR(generic-param-foreign-id)
   435     OCTSTR(generic-param-meta-data)
   436     OCTSTR(generic-message-sent)
   437     OCTSTR(generic-status-sent)
   438     OCTSTR(generic-status-error)
   439     OCTSTR(generic-foreign-id-regex)
   440     OCTSTR(mobile-originated)
   445 MULTI_GROUP(sms-service,
   456     OCTSTR(accepted-smsc)
   457     OCTSTR(accepted-smsc-regex)
   458     OCTSTR(accepted-account)
   459     OCTSTR(accepted-account-regex)
   464     OCTSTR(concatenation)
   472     OCTSTR(assume-plain-text)
   473     OCTSTR(accept-x-kannel-headers)
   474     OCTSTR(strip-keyword)
   477     OCTSTR(allowed-prefix)
   478     OCTSTR(allowed-prefix-regex)
   479     OCTSTR(denied-prefix)
   480     OCTSTR(denied-prefix-regex)
   481     OCTSTR(allowed-receiver-prefix)
   482     OCTSTR(allowed-receiver-prefix-regex)
   483     OCTSTR(denied-receiver-prefix)
   484     OCTSTR(denied-receiver-prefix-regex)
   486     OCTSTR(white-list-regex)
   488     OCTSTR(black-list-regex)
   491     OCTSTR(forced-priority)
   493     OCTSTR(keyword-regex)
   498 MULTI_GROUP(sendsms-user,
   503     OCTSTR(user-allow-ip)
   507     OCTSTR(default-sender)
   509     OCTSTR(concatenation)
   515     OCTSTR(allowed-prefix)
   516     OCTSTR(denied-prefix)
   521     OCTSTR(forced-priority)
   523     OCTSTR(allowed-prefix-regex)
   524     OCTSTR(denied-prefix-regex)
   525     OCTSTR(white-list-regex)
   526     OCTSTR(black-list-regex)
   530 MULTI_GROUP(ota-setting,
   541     OCTSTR(authentication)
   547 MULTI_GROUP(ota-bookmark,
   557     OCTSTR(detect-string)
   558     OCTSTR(detect-string2)
   565     OCTSTR(sendline-sleep)
   566     OCTSTR(keepalive-cmd)
   568     OCTSTR(message-storage)
   569     OCTSTR(message-start)
   572     OCTSTR(hardware-flow-control)
   577 MULTI_GROUP(mssql-connection,
   583     OCTSTR(max-connections)
   587 MULTI_GROUP(mysql-connection,
   594     OCTSTR(max-connections)
   598 MULTI_GROUP(oracle-connection,
   603     OCTSTR(max-connections)
   607 MULTI_GROUP(sdb-connection,
   610     OCTSTR(max-connections)
   614 MULTI_GROUP(pgsql-connection,
   621     OCTSTR(max-connections)
   625 MULTI_GROUP(sqlite-connection,
   628     OCTSTR(max-connections)
   632 MULTI_GROUP(sqlite3-connection,
   635     OCTSTR(max-connections)
   639 MULTI_GROUP(redis-connection,
   645     OCTSTR(max-connections)
   649 MULTI_GROUP(cassandra-connection,
   656     OCTSTR(max-connections)
   665     OCTSTR(field-timestamp)
   667     OCTSTR(field-destination)
   668     OCTSTR(field-service)
   672     OCTSTR(field-boxc-id)
   675 SINGLE_GROUP(store-db,
   682 SINGLE_GROUP(radius-acct,
   687     OCTSTR(remote-timeout)
   690     OCTSTR(secret-radius)
   691     OCTSTR(unified-prefix)
   695 MULTI_GROUP(smpp-tlv,