Updated conf

This commit is contained in:
David Yat Sin 2012-06-20 00:38:05 -04:00
parent dd4764bc19
commit 50e3e563da
1 changed files with 48 additions and 26 deletions

View File

@ -1,28 +1,50 @@
<configuration name="megaco.conf" description="Megaco Controllee"> <configuration name="media_gateway.conf" description="Media Gateway Configuration">
<!--Each instances of MG will have each mg profile -->
<mg_profiles> <mg_profiles>
<mg_profile name="default"> <mg_profile name="profile-1">
<param name="protocol" value="MEGACO"/> <!-- /* Protocol Type , Supported values are MEGACO/MGCP */ --> <param name="protocol" value="MEGACO"/>
<param name="version" value="3"/> <!-- /* Protocol Version , Supported values for MEGACO are 1/2/3 */ --> <param name="local-ip" value="192.168.1.50"/>
<param name="local-ip" value="192.168.1.103"/> <!-- /* Local node IP */ --> <param name="port" value="2944" />
<param name="port" value="2944" /> <!-- /* Port */ --> <param name="domain-name" value="lab.sangoma.com" />
<param name="domain-name" value="lab.sangoma.com" /> <!-- /* Local domain name */ --> <param name="message-identifier" value="<mg.sangoma.com>" />
<param name="message-identifier" value="<mg.sangoma.com>" /> <!-- /* Message Identifier (MID) of MEGACO message */ --> <param name="version" value="3"/>
<peers> <!-- /* List of Peers associated with this MG Profile */ --> <param name="default-codec" value="PCMA"/>
<param name="peer" value = "peer-1" /> <!-- /* link to peer configuration block */ --> <param name="rtp-port-range" value="5000-6000"/>
<param name="rtp-termination-id-prefix" value="TermRtp"/>
<param name="rtp-termination-id-len" value="4"/> <!-- /* Allowed values = any digit from 0 to 9 */ -->
<physical_terminations>
<map termination-id-prefix="Term1/" termination-id-base="1" tech="freetdm" channel-prefix="wp2" channel-map="1-15,17-31"/>
<map termination-id-prefix="Term2/" termination-id-base="1" tech="freetdm" channel-prefix="wp3" channel-map="1-31"/>
</physical_terminations>
<peers>
<param name="peer" value = "peer-1" />
<param name="peer" value = "peer-2" />
<param name="peer" value = "peer-3" />
</peers> </peers>
</mg_profile> </mg_profile>
</mg_profiles> </mg_profiles>
<mg_peers> <mg_peers>
<mg_peer name="peer-1"> <mg_peer name="peer-1">
<param name="ip" value="192.168.1.102"/> <!-- /* Peer node IP */ --> <param name="ip" value="192.168.1.49"/>
<param name="port" value="2944"/> <!-- /* peer port */ --> <param name="port" value="2944"/>
<param name="encoding-scheme" value="TEXT"/> <!-- /* H.248 Encoding scheme TEXT/BINARY */ --> <param name="encoding-scheme" value="TEXT"/>
<param name="transport-type" value="UDP"/> <!-- /* TCP/UDP/SCTP */ --> <param name="transport-type" value="UDP"/>
<param name="message-identifier" value="<remote1.mgc.com>" /> <!-- /* Message Identifier (MID) of remote MGC MEGACO message */ --> <param name="message-identifier" value="<remote1.mgc.com>" />
</mg_peer>
<mg_peer name="peer-2">
<param name="ip" value="192.168.1.55"/>
<param name="port" value="2944"/>
<param name="encoding-scheme" value="BINARY"/>
<param name="transport-type" value="UDP"/>
<param name="message-identifier" value="<remote2.mgc.com>" />
</mg_peer>
<mg_peer name="peer-3">
<param name="ip" value="192.168.1.44"/>
<param name="port" value="2944"/>
<param name="transport-type" value="UDP"/>
<param name="encoding-scheme" value="TEXT"/>
<param name="message-identifier" value="<remote3.mgc.com>" />
</mg_peer> </mg_peer>
</mg_peers> </mg_peers>
</configuration> </configuration>