omnetpp.ini 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. [Config g726]
  2. **.server.udpApp[0].codec = "g726"
  3. **.server.udpApp[0].samplingRate = 8000Hz
  4. **.server.udpApp[0].compressedBitRate = 40000bps
  5. #**.server.udpApp[0].compressedBitRate = 32000bps
  6. #**.server.udpApp[0].compressedBitRate = 24000bps
  7. [Config g711_aLaw]
  8. **.server.udpApp[0].codec = "pcm_alaw"
  9. **.server.udpApp[0].bitsPerSample = 8
  10. **.server.udpApp[0].samplingRate = 8000Hz
  11. **.server.udpApp[0].compressedBitRate = 64000bps
  12. [Config g711_muLaw]
  13. **.server.udpApp[0].codec = "pcm_mulaw"
  14. **.server.udpApp[0].bitsPerSample = 8
  15. **.server.udpApp[0].samplingRate = 8000Hz
  16. **.server.udpApp[0].compressedBitRate = 64000bps
  17. [Config pcm_s16le]
  18. **.server.udpApp[0].codec = "pcm_s16le"
  19. **.server.udpApp[0].bitsPerSample = 8
  20. **.server.udpApp[0].samplingRate = 8000Hz
  21. **.server.udpApp[0].compressedBitRate = 128000bps
  22. # next codecs are not implemented yet (2010-10-14) in FFMPEG
  23. #[Config g723]
  24. #**.server.udpApp[0].codec = "g723"
  25. #**.server.udpApp[0].samplingRate = 8000Hz
  26. #**.server.udpApp[0].compressedBitRate = 6400bps
  27. ##**.server.udpApp[0].compressedBitRate = 5300bps
  28. #
  29. #[Config g728]
  30. #**.server.udpApp[0].codec = "g728"
  31. #**.server.udpApp[0].samplingRate = 8000Hz
  32. #**.server.udpApp[0].compressedBitRate = 16000bps
  33. #
  34. #[Config g729]
  35. #**.server.udpApp[0].codec = "g729"
  36. #**.server.udpApp[0].samplingRate = 8000Hz
  37. #**.server.udpApp[0].compressedBitRate = 8000bps
  38. [General]
  39. network = VoIPStreamTest
  40. tkenv-plugin-path = ../../../etc/plugins
  41. warnings = true
  42. num-rngs = 8
  43. rng-class = "cMersenneTwister"
  44. sim-time-limit = 100s
  45. total-stack = 2MiB # increase if necessary
  46. cmdenv-express-mode = true
  47. # tkenv-default-run=1
  48. #[Config config1]
  49. # udp app
  50. **.client.numUdpApps = 1
  51. **.client.udpApp[0].typename = "VoIPStreamReceiver"
  52. **.client.udpApp[0].localPort = 1000
  53. **.client.udpApp[0].resultFile = "results/${configname}_" + ${sound} + "_results.wav"
  54. **.server.numUdpApps = 1
  55. **.server.udpApp[0].typename = "VoIPStreamSender"
  56. **.server.udpApp[0].packetTimeLength = 20ms
  57. **.server.udpApp[0].voipHeaderSize = 4B
  58. **.server.udpApp[0].traceFileName = "results/${configname}_" + ${sound} + "_sent.wav"
  59. **.server.udpApp[0].voipSilenceThreshold = 100
  60. **.server.udpApp[0].repeatCount = 1
  61. **.server.udpApp[0].soundFile = "../soundFiles/" + \
  62. ${sound = "Beatify_Dabei_cut.mp3", \
  63. "Beatify_Ria_cut.mp3", \
  64. "husten.mp3", \
  65. "husten.wav", \
  66. "langes blabla.wav", \
  67. "ria_44100_stereo.mp3", \
  68. "ria_8000_mono.mp3", \
  69. "ria_8000_stereo.mp3", \
  70. "steuern.wav", \
  71. "test.wav"}
  72. **.server.udpApp[0].localPort = 1000
  73. **.server.udpApp[0].destPort = 1000
  74. **.server.udpApp[0].srcAddress = ""
  75. **.server.udpApp[0].destAddress = "client"
  76. # tcp apps (off)
  77. **.client.numTcpApps = 0
  78. **.client.tcpAppType = "TCPSessionApp"
  79. #**.server.tcpAppType="TCPSinkApp"
  80. **.server.numTcpApps = 0
  81. **.server.tcpAppType = "TCPEchoApp"
  82. # tcp settings
  83. **.tcp.mss = 1024
  84. **.tcp.advertisedWindow = 14336 # 14*mss
  85. #**.tcp.sendQueueClass = "TCPVirtualDataSendQueue"
  86. #**.tcp.receiveQueueClass = "TCPVirtualDataRcvQueue"
  87. **.tcp.tcpAlgorithmClass = "TCPReno"
  88. **.tcp.recordStats = true
  89. # ip settings
  90. **.ip.procDelay = 10us
  91. **.forwarding = false # Router's is hardwired "true"
  92. # hook names
  93. **.qosBehaviorClass = "EnqueueWithoutQoS"
  94. **.ip.*.procDelay = 0
  95. # ARP configuration
  96. **.arp.retryTimeout = 1s
  97. **.arp.retryCount = 3
  98. **.arp.cacheTimeout = 100s
  99. **.networkLayer.proxyARP = true # Host's is hardwired "false"
  100. # Ethernet NIC configuration
  101. **.eth[*].encap.writeScalars = false
  102. **.eth[*].mac.promiscuous = false
  103. **.eth[*].mac.address = "auto"
  104. **.eth[*].mac.txrate = 10e6bps
  105. **.eth[*].mac.duplexMode = true
  106. **.eth[*].mac.writeScalars = false
  107. # Queues
  108. **.ppp[*].queueType = "DropTailQueue"
  109. **.ppp[*].queue.frameCapacity = 10
  110. **.eth[*].queueType = "DropTailQueue"
  111. **.eth[*].queue.dataQueue.frameCapacity = 10
  112. # nam trace
  113. **.nam.logfile = "trace.nam"
  114. **.nam.prolog = ""
  115. **.namid = -1 # auto
  116. # Ethernet switch
  117. **.switch*.relayUnitType = "MACRelayUnit"
  118. **.relayUnit.addressTableSize = 100
  119. **.relayUnit.agingTime = 120s
  120. **.relayUnit.bufferSize = 1048576B # 1Mb
  121. **.relayUnit.highWatermark = 524288B # 512K
  122. **.relayUnit.pauseUnits = 300 # pause for 300*512 bit (19200 byte) time
  123. **.relayUnit.addressTableFile = ""
  124. **.relayUnit.numCPUs = 2
  125. **.relayUnit.processingTime = 2us
  126. **.relayUnit.writeScalars = true
  127. **.mac[*].writeScalars = true
  128. **.mac[*].address = "auto"
  129. **.mac[*].maxQueueSize = 50
  130. **.mac[*].promiscuous = false
  131. **.mac[*].txrate = 10Mbps
  132. **.mac[*].duplexMode = true