Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Sample file to run pjsua with option '--config-file'
- # Edit to your liking ;-)
- # Provided "as is", with the hope to be helpful but no guarantees whatsoever
- #
- # All lines preceded with a "--" below are a valid config file command
- #
- #
- # Audio devices:
- #
- # (may or may not be needed)
- #--playback-dev=0
- #--capture-dev=0
- #
- # Recording to file (optional):
- #
- #--rec-file=/mnt/sda1/sip1.wav
- # must be in a dir writable for tcuser
- #--auto-rec
- #
- # Logging options:
- #
- --log-file /tmp/app-log
- --log-level=5
- --app-log-level=3
- --color
- #
- # Network settings:
- #
- --local-port 5060
- #
- # ice seems to cause problems for some users
- # --use-ice
- #
- # STUN of your SIP provider:
- --stun-srv=stun01.sipphone.com
- #
- # Media settings:
- #
- --clock-rate 44100
- --quality=10
- # using default --ec-tail 200
- # using default --ilbc-mode 30
- --rtp-port 4000
- #
- # Codec priorities:
- # (you can specify multiply, but be aware that there is some max. limit of total arguments):
- #
- --add-codec=pcmu
- --add-codec=pcma
- --add-codec=pcma
- --add-codec=speex/32000
- --add-codec=speex/32000
- --add-codec=speex/32000
- #--dis-codec=speex/16000
- #--dis-codec=speex/8000
- #
- # User agent:
- #
- # --max-calls 4
- #
- # Buddies: You need to establish an account with a sip provider before you can use this
- #
- #--add-buddy=sip:name@proxy01.sipphone.com
- #--add-buddy=sip:name@ekiga.net
- #
- # All following automated numbers are working when calling from an ekiga account
- # Calling from a sipphone account to automated ekiga numbers does not work
- #
- --add-buddy=sip:500@ekiga.net
- --add-buddy=sip:520@ekiga.net
- --add-buddy=sip:501@ekiga.net
- --add-buddy=sip:17474743246@proxy01.sipphone.com
- --add-buddy=sip:1222000000@proxy01.sipphone.com
- --add-buddy=sip:*0@proxy01.sipphone.com
- #
- # SIP Accounts:
- #
- # Account 0:
- --id sip:myaccount@proxy01.sipphone.com
- --registrar=sip:proxy01.sipphone.com
- --realm *
- --username=myaccount
- --password=pw
- # --reg-timeout=55
- #
- # Account 1: The "--next-account" line is required for each additional account
- --next-account
- --id sip:myaccount@ekiga.net
- --registrar=sip:ekiga.net
- --realm *
- --username=myaccount
- --password=pw
- # --reg-timeout=55
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement