From Naseer, 4 Years ago, written in FreeSWITCH.
- view diff
Embed
  1. <profile name="internal">
  2.   <settings>
  3.     <param name="domain" value="43.225.1.2"/>
  4.     <param name="ip" value="43.225.1.2"/>
  5.     <param name="port" value="2000"/>
  6.     <param name="patterns-dialplan" value="XML"/>
  7.     <param name="patterns-context" value="skinny-patterns"/>
  8.     <param name="dialplan" value="XML"/>
  9.     <param name="context" value="default"/>
  10.     <param name="keep-alive" value="60"/>
  11.     <param name="date-format" value="D/M/Y"/>
  12.     <param name="odbc-dsn" value=""/>
  13.     <param name="debug" value="4"/>
  14.     <param name="auto-restart" value="true"/>
  15.  
  16.     <!-- timeout to wait for another digit in milliseconds -->
  17.     <param name="digit-timeout" value="10000"/>
  18.   </settings>
  19. </profile>
  20.  
  21. <configuration name="sofia.conf" description="sofia Endpoint">
  22.   <profiles>
  23.     <profile name="internal">
  24.     <settings>
  25.         <param name="debug" value="0"/>
  26.         <param name="sip-trace" value="no"/>
  27.         <param name="sip-capture" value="no"/>
  28.         <param name="watchdog-enabled" value="no"/>
  29.         <param name="watchdog-step-timeout" value="30000"/>
  30.         <param name="watchdog-event-timeout" value="30000"/>
  31.         <param name="log-auth-failures" value="false"/>
  32.         <param name="forward-unsolicited-mwi-notify" value="false"/>
  33.         <param name="context" value="public"/>
  34.         <param name="rfc2833-pt" value="101"/>
  35.         <param name="sip-port" value="8199"/>
  36.         <param name="dialplan" value="XML"/>
  37.         <param name="dtmf-duration" value="2000"/>
  38.         <param name="inbound-codec-prefs" value="PCMA@20i,PCMU@20i"/>
  39.         <param name="outbound-codec-prefs" value="PCMA@20i,PCMU@20i"/>
  40.         <param name="rtp-timer-name" value="soft"/>
  41.         <param name="rtp-ip" value="43.225.1.2"/>
  42.         <param name="sip-ip" value="43.225.1.2"/>
  43.         <param name="hold-music" value="local_stream://moh"/>
  44.         <param name="apply-nat-acl" value="nat.auto"/>
  45.         <param name="apply-inbound-acl" value="domains"/>
  46.         <param name="local-network-acl" value="localnet.auto"/>
  47.         <param name="record-path" value="/opt/freeswitch/var/lib/freeswitch/recordings"/>
  48.         <param name="record-template" value="${caller_id_number}.${target_domain}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav"/>
  49.         <param name="manage-presence" value="true"/>
  50.         <param name="presence-hosts" value="43.225.1.2,43.225.1.2"/>
  51.         <param name="presence-privacy" value="false"/>
  52.         <param name="inbound-codec-negotiation" value="generous"/>
  53.         <param name="inbound-late-negotiation" value="true"/>
  54.         <param name="inbound-zrtp-passthru" value="true"/>
  55.         <param name="nonce-ttl" value="60"/>
  56.         <param name="disable-transcoding" value="false"/>
  57.         <param name="auth-calls" value="true"/>
  58.         <param name="inbound-reg-force-matching-username" value="true"/>
  59.         <param name="auth-all-packets" value="false"/>
  60.         <param name="ext-rtp-ip" value="autonat:43.225.1.2"/>
  61.         <param name="ext-sip-ip" value="autonat:43.225.1.2"/>
  62.         <param name="rtp-timeout-sec" value="300"/>
  63.         <param name="rtp-hold-timeout-sec" value="1800"/>
  64.         <param name="force-register-domain" value="43.225.1.2"/>
  65.         <param name="force-subscription-domain" value="43.225.1.2"/>
  66.         <param name="force-register-db-domain" value="43.225.1.2"/>
  67.         <param name="challenge-realm" value="auto_from"/>
  68.         <param name="sip-force-contact" value="NDLB-connectile-dysfunction"/>
  69.     </settings>
  70.     </profile>
  71.   </profiles>
  72. </configuration>