Help Products Voice Management Freeswitch PBX

Freeswitch PBX

Stijn Coppieters
Stijn Coppieters
Updated 10 months ago

SIP profile XML template using SIP REGISTER. Default configuration files for Unix based Freeswitch installations is: /usr/local/freeswitch/conf

<profile name="sip_profile_1"> <gateways> <gateway name="cm-sip-trunk-01"> <param name="caller-id-in-from" value="true"/> <param name="cid-type" value="pid"/> <param name="register" value="true"/> <param name="proxy" value="31.169.63.1:5060"/> <param name="ping" value="60"/> <param name="username" value="username"/> <param name="password" value="password"/> </gateway> <gateway name="cm-sip-trunk-02"> <param name="caller-id-in-from" value="true"/> <param name="cid-type" value="pid"/> <param name="register" value="true"/> <param name="proxy" value="31.169.63.2:5060"/> <param name="ping" value="60"/> <param name="username" value="username"/> <param name="password" value="password"/> </gateway> </gateways> <settings> <param name="user-agent-string" value="Freeswitch"/> <param name="shutdown-on-fail" value="false"/> <param name="debug" value="1"/> <param name="sip-trace" value="no"/> <param name="sip-capture" value="no"/> <param name="inbound-use-callid-as-uuid" value="true"/> <param name="outbound-use-uuid-as-callid" value="true"/> <param name="caller-id-type" value="pid"/> <param name="pass-callee-id" value="true"/> <param name="disable-hold" value="true"/> <param name="disable-transfer" value="true"/> <param name="apply-inbound-acl" value="default"/> <param name="apply-register-acl" value="default"/> <param name="apply-proxy-acl" value="default"/> <param name="dialplan" value="XML"/> <param name="context" value="outbound"/> <param name="inbound-bypass-media" value="false"/> <param name="inbound-proxy-media" value="false"/> <param name="disable-rtp-auto-adjust" value="true"/> <param name="inbound-codec-prefs" value="$${global_codec_prefs}"/> <param name="outbound-codec-prefs" value="$${outbound_codec_prefs}"/> <param name="codec-prefs" value="$${global_codec_prefs}"/> <param name="inbound-codec-negotiation" value="generous"/> <param name="inbound-late-negotiation" value="true"/> <param name="disable-transcoding" value="false"/> <param name="renegotiate-codec-on-reinvite" value="true"/> <param name="rfc2833-pt" value="101"/> <param name="dtmf-duration" value="2000"/> <param name="dtmf-type" value="rfc2833"/> <param name="pass-rfc2833" value="true"/> <param name="liberal-dtmf" value="true"/> <param name="enable-timer" value="true"/> <param name="session-timeout" value="1800"/> <param name="minimum-session-expires" value="120"/> <param name="sip-options-respond-503-on-busy" value="false"/> <param name="auto-jitterbuffer-msec" value="120"/> <param name="rtp-timer-name" value="soft"/> <param name="rtp-timeout-sec" value="0"/> <param name="rtp-hold-timeout-sec" value="0"/> <param name="rtp-autoflush-during-bridge" value="true"/> <param name="rtp-autoflush" value="false"/> <param name="accept-blind-auth" value="false"/> <param name="auth-calls" value="false"/> <param name="log-auth-failures" value="true"/> <param name="auth-all-packets" value="false"/> <param name="disable-register" value="false"/> <param name="multiple-registrations" value="false"/> <param name="accept-blind-reg" value="false"/> <param name="inbound-reg-force-matching-username" value="true"/> <param name="all-reg-options-ping" value="true"/> <param name="registration-thread-frequency" value="60"/> <param name="inbound-reg-in-new-thread" value="true"/> <param name="ping-mean-interval" value="true"/> <param name="manage-presence" value="false"/> <param name="max-proceeding" value="1000"/> </settings> </profile>

Is this region a better fit for you?

Go