Advertisement
Guest User

Untitled

a guest
Jun 11th, 2017
506
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.14 KB | None | 0 0
  1. # Sample file to run pjsua with option '--config-file'
  2. # Edit to your liking ;-)
  3. # Provided "as is", with the hope to be helpful but no guarantees whatsoever
  4.  
  5. #
  6. # All lines preceded with a "--" below are a valid config file command
  7. #
  8.  
  9. #
  10. # Audio devices:
  11. #
  12. # (may or may not be needed)
  13. #--playback-dev=0
  14. #--capture-dev=0
  15.  
  16. #
  17. # Recording to file (optional):
  18. #
  19. #--rec-file=/mnt/sda1/sip1.wav
  20. # must be in a dir writable for tcuser
  21. #--auto-rec
  22.  
  23. #
  24. # Logging options:
  25. #
  26. --log-file /tmp/app-log
  27. --log-level=5
  28. --app-log-level=3
  29. --color
  30.  
  31. #
  32. # Network settings:
  33. #
  34. --local-port 5060
  35. #
  36. # ice seems to cause problems for some users
  37. # --use-ice
  38. #
  39. # STUN of your SIP provider:
  40. --stun-srv=stun01.sipphone.com
  41.  
  42. #
  43. # Media settings:
  44. #
  45. --clock-rate 44100
  46. --quality=10
  47. # using default --ec-tail 200
  48. # using default --ilbc-mode 30
  49. --rtp-port 4000
  50.  
  51. #
  52. # Codec priorities:
  53. # (you can specify multiply, but be aware that there is some max. limit of total arguments):
  54. #
  55. --add-codec=pcmu
  56. --add-codec=pcma
  57. --add-codec=pcma
  58. --add-codec=speex/32000
  59. --add-codec=speex/32000
  60. --add-codec=speex/32000
  61. #--dis-codec=speex/16000
  62. #--dis-codec=speex/8000
  63.  
  64. #
  65. # User agent:
  66. #
  67. # --max-calls 4
  68.  
  69. #
  70. # Buddies: You need to establish an account with a sip provider before you can use this
  71. #
  72. #--add-buddy=sip:name@proxy01.sipphone.com
  73. #--add-buddy=sip:name@ekiga.net
  74. #
  75. # All following automated numbers are working when calling from an ekiga account
  76. # Calling from a sipphone account to automated ekiga numbers does not work
  77. #
  78. --add-buddy=sip:500@ekiga.net
  79. --add-buddy=sip:520@ekiga.net
  80. --add-buddy=sip:501@ekiga.net
  81. --add-buddy=sip:17474743246@proxy01.sipphone.com
  82. --add-buddy=sip:1222000000@proxy01.sipphone.com
  83. --add-buddy=sip:*0@proxy01.sipphone.com
  84.  
  85. #
  86. # SIP Accounts:
  87. #
  88. # Account 0:
  89. --id sip:myaccount@proxy01.sipphone.com
  90. --registrar=sip:proxy01.sipphone.com
  91. --realm *
  92. --username=myaccount
  93. --password=pw
  94. # --reg-timeout=55
  95. #
  96. # Account 1: The "--next-account" line is required for each additional account
  97. --next-account
  98. --id sip:myaccount@ekiga.net
  99. --registrar=sip:ekiga.net
  100. --realm *
  101. --username=myaccount
  102. --password=pw
  103. # --reg-timeout=55
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement