Freeswitch-sofia.conf.xml: Difference between revisions

From 탱이의 잡동사니
Jump to navigation Jump to search
No edit summary
Line 40: Line 40:
     -->
     -->
     <profile name="example">
     <profile name="example">
    ...
      <gateways>
        <gateway name="example-gateway">
          ...
        </gateway>
        ...
      </gateways>
 
      <aliases>
        <!-- aliases are other names that will work as a valid profile name for
            this profile -->
        <alias name="default"/>
      </aliases>
 
      <domains>
        <!-- indicator to parse the directory for domains with parse="true" to
            get gateways -->
        <!-- <domain name="$${domain}" parse="true"/> -->
        <!-- indicator to parse the directory for domains with parse="true" to
            get gateways and alias every domain to this profile -->
        <!-- This may seem like just a configuration convenience, but
            aliasing has real effects on the handling of packets.  If
            you're sharing a profile between multiple realms, you
            want to alias all realms to the shared profile. -->
        <!-- <domain name="all" alias="true" parse="true"/> -->
        <domain name="all" alias="true" parse="false"/>
      </domains>
 
      <settings>
        ...
      </settings>
     </profile>
     </profile>
   </profiles>
   </profiles>
Line 46: Line 75:


=== profile ===
=== profile ===
==== gateways =====
==== settings =====
====== basic settings =====


== profile/gateways ==
== profile/settings ==
=== Basic settings ===
=== Media related options ===


== See also ==
== See also ==

Revision as of 13:09, 1 April 2016

Overview

Freeswitch SIP module 설정파일 sofia.conf.xml 내용 정리

Structure

sofia.conf.xml 파일은 다음과 같은 구조로 되어있다. <source lang=xml> <configuration name="sofia.conf" description="sofia endpoint">

 <global_settings>
 ...
 </global_settings>
 <profiles>
   ...
 </profiles>

</configuration> </source>

global_settings

전역 설정을 하는 부분이다. <source lang=xml>

 <global_settings>
   <param name="log-level" value="0"/>
   <param name="auto-restart" value="false"/>
   <param name="debug-presence" value="0"/>
 </global_settings>

</source>

profiles

sofia 모듈에서 사용하는 각각의 프로필을 설정한다.

<source lang=xml>

 <profiles>
   <profile name="example">
     <gateways>
       <gateway name="example-gateway">
         ...
       </gateway>
       ...
     </gateways>
     <aliases>
       <alias name="default"/>
     </aliases>
     <domains>
       <domain name="all" alias="true" parse="false"/>
     </domains>
     <settings>
       ...
     </settings>
   </profile>
 </profiles>

</source>

profile

profile/gateways

profile/settings

Basic settings

Media related options

See also

References

<references />