stress.cfg 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. #
  2. #
  3. # iptel.org real world configuration
  4. #
  5. # ----------- global configuration parameters ------------------------
  6. debug=0
  7. fork=1
  8. log_stderror=yes # (cmd line: -E)
  9. check_via=no # (cmd. line: -v)
  10. dns=no # (cmd. line: -r)
  11. reply_to_via=0
  12. fifo="/tmp/ser_fifo"
  13. # advertise IP address in Via (as opposed to advertising DNS name
  14. # which is annoying for downstream servers and some phones can
  15. # not handle DNS at all)
  16. listen=195.37.77.100
  17. # ------------------ module loading ----------------------------------
  18. loadmodule "../sip_router/modules/sl/sl.so"
  19. loadmodule "../sip_router/modules/print/print.so"
  20. #loadmodule "../sip_router/modules/tm/tm_mod.so"
  21. loadmodule "../sip_router/modules/usrloc/usrloc.so"
  22. # ----------------- setting module-specific parameters ---------------
  23. # -- usrloc params --
  24. modparam("usrloc", "use_database", 0)
  25. modparam("usrloc", "flush_interval", 3600)
  26. # -- tm params --
  27. modparam("tm", "fr_timer", 5 )
  28. modparam("tm", "fr_inv_timer", 5 )
  29. modparam("tm", "wt_timer", 5 )
  30. # ------------------------- request routing logic -------------------
  31. # main routing logic
  32. route{
  33. append_branch("sip:[email protected]:5088");
  34. append_branch("sip:[email protected]:5088");
  35. t_on_negative("1");
  36. t_relay_to("bat.iptel.org","5088");
  37. }
  38. reply_route[1] {
  39. append_branch("sip:[email protected]:5088");
  40. }