📄 mjsip.cfg.txt
字号:
# Whether the server should stay in the signaling path (uses Record-Route/Route).
# Default value: on_route=no
#on_route=yes
# Whether implementing the RFC3261 Loose Route (or RFC2543 Strict Route) rule.
# Default value: loose_route=yes
#loose_route=no
# Whether checking for loops before forwarding a request (Loop Detection). In RFC3261 it is optional.
# Default value: loop_detection=yes
#loop_detection=no
# Sequence of pairs of username or phone prefix and corresponding nexthop address.
# It provides static rules for routing number-based SIP-URL the server is responsible for.
# Use "default" (or "*") as default prefix.
# Example, request URL sip:01234567@zoopera.com received by a server responsible for domain name 'zoopera.com'.
#phone_routing_rules={prefix=0123,nexthop=127.0.0.2:7002} {prefix=*,nexthop=127.0.0.3:7003}
# Sequence of pairs of destination domain and corresponding nexthop address.
# It provides static rules for routing domain-based SIP-URL the server is NOT responsible for.
# It make the server acting (also) as 'Interrogating' Proxy, i.e. I-CSCF in the 3G networks.
# domain_routing_rules={domain=wonderland.net,nexthop=neverland.net:5060} */
# ________________________________________________________________
#
# Section 5: UA configuration
# ________________________________________________________________
#
# Change these parameters in order to customize the UA profile.
# You need to edit this section only if you are using a MjSip UA or
# you are managing 3PCC services.
#
# User's AOR (Address Of Record), used also as From URL.
# The AOR is the SIP address used to register with the user's registrar server (if requested).
# The address of the registrar is taken from the hostport field of the AOR, i.e. the value(s) host[:port] after the '@' character.
# If not defined (default), it equals the 'contact_url' parameter
#from_url=sip:alice@wonderland.net
# Contact URL.
# If not defined (default), it is formed by sip:username@host_address:host_port
#contact_url=sip:alice@192.168.0.55:5070
# User's name (used to build the contact_url if not explitely defined).
#username=alice
# User's realm.
#realm=wonderland.net
# User's passwd.
#passwd=mypassword
# Path for the 'ua.jar' lib, used to retrive various UA media (gif, wav, etc.).
# Default value: ua_jar=lib/ua.jar
#ua_jar=./ua.jar
# Path for the 'contacts.lst' file where save and load the list of VisualUA contacts.
# Default value: contacts_file=config/contacts.lst
#contacts_file=contacts.lst
# Whether registering with the registrar server.
# Default value: do_register=no
#do_register=yes
# Whether unregistering the contact address.
# Default value: do_unregister=no
#do_unregister=yes
# Whether unregistering all contacts beafore registering the contact address.
# Default value: do_unregister_all=no
#do_unregister_all=yes
# Expires time.
# Default value: expires=3600
#expires=1800
# Rate of keep-alive packets sent toward the registrar server (in milliseconds).
# Set keepalive_time=0 to disable the sending of keep-alive datagrams.
# Default value: keepalive_time=0
#keepalive_time=8000
# Automatic call a remote user secified by the 'call_to' value.
# Use value 'NONE' for manual calls (or let it undefined).
# Default value: call_to=NONE
#call_to=sip:alice@wonderland.net
# Automatic answer time in seconds; time<0 corresponds to manual answer mode.
# Default value: accept_time=-1
#accept_time=0
# Automatic hangup time (call duartion) in seconds; time<=0 corresponds to manual hangup mode.
# Default value: hangup_time=-1
#hangup_time=10
# Automatic call transfer time in seconds; time<0 corresponds to no auto transfer mode.
# Default value: transfer_time=-1
#transfer_time=10
# Automatic re-inviting time in seconds; time<0 corresponds to no auto re-invite mode.
# Default value: re_invite_time=-1
#re_invite_time=10
# Redirect incoming call to the secified url.
# Use value 'NONE' for not redirecting incoming calls (or let it undefined).
# Default value: redirect_to=NONE
#redirect_to=sip:alice@wonderland.net
# Transfer calls to the secified url.
# Use value 'NONE' for not transferring calls (or let it undefined).
# Default value: transfer_to=NONE
#transfer_to=sip:alice@wonderland.net
# No offer in the invite.
# Default value: no_offer=no
#no_offer=yes
# Whether using audio.
# Default value: audio=no
#audio=yes
# Whether using video.
# Default value: video=no
#video=yes
# Whether playing in receive only mode.
# Default value: recv_only=no
#recv_only=yes
# Whether playing in send only mode.
# Default value: send_only=no
#send_only=yes
# Whether playing a test tone in send only mode.
# Default value: send_tone=no
#send_tone=yes
# Audio file to be played.
# Default value: send_file=NONE
#send_file=audio1.in
# Audio file to be recored.
# Default value: recv_file=NONE
#recv_file=audio1.out
# Audio port.
# Default value: audio_port=21068
#audio_port=4000
# Audio avp.
# Default value: audio_avp=0
#audio_avp=101
# Audio codec.
# Default value: audio_codec=PCMU
#audio_codec=GSM
# Audio sample rate.
# Default value: audio_sample_rate=8000
#audio_sample_rate=16000
# Audio sample size.
# Default value: audio_sample_size=1
#audio_sample_size=2
# Audio frame size.
# Default value: audio_frame_size=160
#audio_frame_size=500
# Video port.
# Default value: video_port=21070
#video_port=4002
# Video avp.
# Default value: video_avp=17
#video_avp=101
# Whether using JMF for audio/video streaming.
# Default value: use_jmf=no
#use_jmf=yes
# Whether using RAT (Robust Audio Tool) as audio sender/receiver.
# Default value: use_rat=no
#use_rat=yes
# RAT command-line executable.
# Default value: bin_rat=rat
#bin_rat=c:\programmi\mbone\rat
# Whether using VIC (Video Conferencing Tool) as video sender/receiver.
# Default value: use_vic=no
#use_vic=yes
# VIC command-line executable.
# Default value: bin_vic=vic
#bin_vic=c:\programmi\mbone\rat
# ________________________________________________________________
#
# Section 6: SBC
# ________________________________________________________________
#
# Change these parameters in order to customize the SessionBorderController (SBC) behaviour.
# You need to edit this section only if you are using a SBC.
#
# Maximum time that the UDP relay remains active without receiving UDP datagrams (in milliseconds).
# Default value: relay_timeout=60000
# Refresh time of address-binding cache (in milliseconds)
# Default value: binding_timeout=3600000
# Minimum time between two changes of peer address (in milliseconds)
# Default value: handover_time=0
# Rate of keep-alive datagrams sent toward all registered UAs (in milliseconds).
# Set keepalive_time=0 to disable the sending of keep-alive datagrams
# Default value: keepalive_time=0
# Whether sending keepalive datagram to all contacted UAs (also toward non-registered UAs)
# Default value: keepalive_aggressive=no
# Whether intercepting media traffics.
# Default value: do_interception=no
# Whether injecting new media flows.
# Default value: do_active_interception=no
# Sink address for media traffic interception.
# Default value: sink_addr=127.0.0.1
# Sink port for media traffic interception.
# Default value: sink_port=0
# Media address.
# Default value: media_addr=0.0.0.0
# Available media ports.
# Default value: media_ports=41000-41499
# Backend proxy where all requests not coming from it are passed to.
# It can be specified as FQDN or host_addr[:host_port].
# Use 'NONE' for not using a backend proxy (or let it undefined).
# Default value: backend_proxy=NONE
#backend_proxy=127.0.0.2:5069
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -