Advertisement
Guest User

SMPPSim Configuration

a guest
May 8th, 2010
589
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.41 KB | None | 0 0
  1. # SMPP_PORT specified the port that SMPPSim will listen on for connections from SMPP
  2. # clients. SMPP_CONNECTION_HANDLERS determines the maximum number of client connections
  3. # that can be handled concurrently.
  4. SMPP_PORT=2775
  5. SMPP_CONNECTION_HANDLERS=10
  6.  
  7. # Specify the classes that imlement connection and protocol handling respectively here.
  8. # Such classes *must* be subclasses of com.seleniumsoftware.SMPPSim.ConnectionHandler and com.seleniumsoftware.SMPPSim.SMPPProtocolHandler respectively
  9. # Or those classes themselves for the default (good) behaviour
  10. # Supply your own subclasses with particular methods overridden if you want to implement
  11. # bad SMSC behaviours to see how your client application copes...
  12. CONNECTION_HANDLER_CLASS=com.seleniumsoftware.SMPPSim.StandardConnectionHandler
  13. PROTOCOL_HANDLER_CLASS=com.seleniumsoftware.SMPPSim.StandardProtocolHandler
  14.  
  15. # Specify the class that implements the message state life cycle simulation.
  16. # Such classes must extend the default class, LifeCycleManager
  17. LIFE_CYCLE_MANAGER=com.seleniumsoftware.SMPPSim.LifeCycleManager
  18. #
  19. # The Deterministic Lifecycle Manager sets message state according to the first character of the message destination address:
  20. # 1=EXPIRED,2=DELETED,3=UNDELIVERABLE,4=ACCEPTED,5=REJECTED, other=DELIVERED
  21. # LIFE_CYCLE_MANAGER=com.seleniumsoftware.SMPPSim.DeterministicLifeCycleManager
  22.  
  23. # LifeCycleManager parameters
  24. #
  25. # Check and possibly change the state of messages in the OutboundQueue every n milliseconds
  26. MESSAGE_STATE_CHECK_FREQUENCY=5000
  27.  
  28. # Maximum time (in milliseconds) in the initial ENROUTE state
  29. MAX_TIME_ENROUTE=100
  30.  
  31. # The minimum time to wait before generating a delivery receipt (ms)
  32. DELAY_DELIVERY_RECEIPTS_BY=0
  33.  
  34. # Percentage of messages that change state each time we check (excluding expiry or messages being completely discarded due to age)
  35. # Requires an integer between 0 and 100
  36. PERCENTAGE_THAT_TRANSITION=0
  37.  
  38. # State transition percentages. These parameters define the percentage of messages that
  39. # transition from ENROUTE to the specified final state. The list of percentages should
  40. # add up to 100 and must be integer values. SMPPSim will adjust the percentages if they do not.
  41.  
  42. # Percentage of messages that will transition from ENROUTE to DELIVERED
  43. PERCENTAGE_DELIVERED=100
  44.  
  45. # Percentage of messages that will transition from ENROUTE to UNDELIVERABLE
  46. PERCENTAGE_UNDELIVERABLE=6
  47.  
  48. # Percentage of messages that will transition from ENROUTE to ACCEPTED
  49. PERCENTAGE_ACCEPTED=2
  50.  
  51. # Percentage of messages that will transition from ENROUTE to REJECTED
  52. PERCENTAGE_REJECTED=2
  53.  
  54. # Time messages held in queue before being discarded, after a final state has been reached (milliseconds)
  55. # For example, after transitioning to DELIVERED (a final state), state info about this message will be
  56. # retained in the queue for a further (e.g.) 60000 milliseconds before being deleted.
  57. DISCARD_FROM_QUEUE_AFTER=60000
  58.  
  59. # Web Management
  60. HTTP_PORT=88
  61. HTTP_THREADS=1
  62. DOCROOT=www
  63. AUTHORISED_FILES=/css/style.css,/index.htm,/inject_mo.htm,/favicon.ico,/images/logo.gif,/images/dots.gif,/user-guide.htm,/images/homepage.gif,/images/inject_mo.gif
  64. INJECT_MO_PAGE=/inject_mo.htm
  65.  
  66. # Account details. Comma seperate. SystemID and Password provided in Binds will be validated against these credentials.
  67. SYSTEM_IDS=smppclient1,smppclient2
  68. PASSWORDS=password,password
  69. OUTBIND_ENABLED=false
  70. OUTBIND_ESME_IP_ADDRESS=127.0.0.1
  71. OUTBIND_ESME_PORT=2776
  72. OUTBIND_ESME_SYSTEMID=smppclient1
  73. OUTBIND_ESME_PASSWORD=password
  74.  
  75. # MO SERVICE
  76. DELIVERY_MESSAGES_PER_MINUTE=0
  77. #DELIVER_MESSAGES_FILE=deliver_messages.csv
  78.  
  79. # LOOPBACK
  80. LOOPBACK=FALSE
  81.  
  82. # ESME to ESME routing
  83. ESME_TO_ESME=false
  84.  
  85. # QUEUES
  86. # Maximum size parameters are expressed as max number of objects the queue can hold
  87. OUTBOUND_QUEUE_MAX_SIZE=10000
  88. INBOUND_QUEUE_MAX_SIZE=10000
  89.  
  90. # The delayed inbound queue holds DELIVER_SM (MO) messages which could not be delivered to the selected ESME
  91. # because it replied "queue full". Such messages get stored in the delayed inbound queue and delivery is attempted again
  92. # periodically according to the following configuration.
  93. #
  94. # How many seconds to wait between passes through the delayed inbound queue. Recommend this is set to at least one minute.
  95. DELAYED_INBOUND_QUEUE_PROCESSING_PERIOD=60
  96. DELAYED_INBOUND_QUEUE_MAX_ATTEMPTS=100
  97.  
  98.  
  99.  
  100. # LOGGING
  101. # See logging.properties for configuration of the logging system as a whole
  102. #
  103. # Set the following property to true to have each PDU logged in human readable
  104. # format. Uses INFO level logging so the log level must be set accordingly for this
  105. # output to appear.
  106. DECODE_PDUS_IN_LOG=true
  107.  
  108. # PDU CAPTURE
  109. # The following properties allow binary and/or decoded PDUs to be captured in files
  110. # This is to allow the results of test runs (especially regression testing) to be
  111. # checked with reference to these files
  112. #
  113. # Note that currently you must use the StandardConnectionHandler and StandardProtocolHandler classes for this
  114. # feature to be available.
  115. #
  116. # _SME_ properties concern PDUs sent from the SME application to SMPPSim
  117. # _SMPPSIM_ properties concern PDUs sent from SMPPSim to the SME application
  118. #
  119. CAPTURE_SME_BINARY=false
  120. CAPTURE_SME_BINARY_TO_FILE=sme_binary.capture
  121. CAPTURE_SMPPSIM_BINARY=false
  122. CAPTURE_SMPPSIM_BINARY_TO_FILE=smppsim_binary.capture
  123. CAPTURE_SME_DECODED=false
  124. CAPTURE_SME_DECODED_TO_FILE=sme_decoded.capture
  125. CAPTURE_SMPPSIM_DECODED=false
  126. CAPTURE_SMPPSIM_DECODED_TO_FILE=smppsim_decoded.capture
  127.  
  128. # Byte Stream Callback
  129. #
  130. # This feature, if enabled, will cause SMPPSim to send PDUs received from the ESME or sent to it
  131. # as byte streams over a couple of connections.
  132. # This is intended to be useful in automated testing scenarios where you need to notify the test application
  133. # with details of what was *actually* received by SMPPSim (or sent by it).
  134. #
  135. # Note that byte streams are prepended by the following fields:
  136. #
  137. # a 4 byte integer which indicates the length of the whole callback message
  138. # a 1 byte indicator of the type of interaction giving rise to the callback,
  139. # - where 0x01 means SMPPSim received a request PDU and
  140. # 0x02 means SMPPSim sent a request PDU (e.g. a DeliverSM)
  141. # a 4 byte fixed length identified, which identifies the SMPPSim instance that sent the bytes
  142. #
  143. # So the length of the SMPP pdu is the callback message length - 9.
  144. #
  145. # LENGTH(4) TYPE(1) ID(4) PDU (LENGTH)
  146. CALLBACK=false
  147. CALLBACK_ID=SIM1
  148. CALLBACK_TARGET_HOST=localhost
  149. CALLBACK_PORT=3333
  150.  
  151. # MISC
  152. SMSCID=SMPPSim
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement