mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-24 03:47:39 +00:00
update defaults
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2867 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
60f8e4aa03
commit
a2683555d6
@ -77,7 +77,7 @@
|
|||||||
<configuration name="event_multicast.conf" description="Multicast Event">
|
<configuration name="event_multicast.conf" description="Multicast Event">
|
||||||
<settings>
|
<settings>
|
||||||
<param name="address" value="225.1.1.1"/>
|
<param name="address" value="225.1.1.1"/>
|
||||||
<param name="port" value="424242"/>
|
<param name="port" value="4242"/>
|
||||||
<param name="bindings" value="all"/>
|
<param name="bindings" value="all"/>
|
||||||
</settings>
|
</settings>
|
||||||
</configuration>
|
</configuration>
|
||||||
@ -123,6 +123,7 @@
|
|||||||
<param name="rtp-timer-name" value="soft"/>
|
<param name="rtp-timer-name" value="soft"/>
|
||||||
<param name="rtp-ip" value="192.168.1.20"/>
|
<param name="rtp-ip" value="192.168.1.20"/>
|
||||||
<param name="sip-ip" value="192.168.1.20"/>
|
<param name="sip-ip" value="192.168.1.20"/>
|
||||||
|
<!--<param name="auth-calls" value="true"/>-->
|
||||||
<!-- optional ; -->
|
<!-- optional ; -->
|
||||||
<!-- <param name="ext-rtp-ip" value="stun:stun.server.com"/>-->
|
<!-- <param name="ext-rtp-ip" value="stun:stun.server.com"/>-->
|
||||||
<!-- <param name="ext-rtp-ip" value="100.101.102.103"/> -->
|
<!-- <param name="ext-rtp-ip" value="100.101.102.103"/> -->
|
||||||
@ -484,9 +485,13 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section name="directory" description="User Directory">
|
<section name="directory" description="User Directory">
|
||||||
|
<!--the domain or ip (the right hand side of the @ in the addr-->
|
||||||
<domain name="mydomain.com">
|
<domain name="mydomain.com">
|
||||||
|
<!--the user id (the left hand side of the @ in the addr-->
|
||||||
<user id="1000">
|
<user id="1000">
|
||||||
|
<!-- omit password for authless registration -->
|
||||||
<param name="password" value="mypass"/>
|
<param name="password" value="mypass"/>
|
||||||
|
<!--various endpoints and application will look for user specific settings here -->
|
||||||
<param name="mypref" value="myval"/>
|
<param name="mypref" value="myval"/>
|
||||||
</user>
|
</user>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -8,5 +8,6 @@ my $socket = IO::Socket::Multicast->new( LocalPort => $port, ReuseAddr => 1 );
|
|||||||
$socket->mcast_add($ip);
|
$socket->mcast_add($ip);
|
||||||
|
|
||||||
while($socket->recv($data,1024)) {
|
while($socket->recv($data,1024)) {
|
||||||
|
$data =~ s/^.{8}//;
|
||||||
print $data;
|
print $data;
|
||||||
}
|
}
|
||||||
|
@ -13,5 +13,5 @@ $/ = undef;
|
|||||||
my $buf = <I>;
|
my $buf = <I>;
|
||||||
close(I);
|
close(I);
|
||||||
|
|
||||||
$socket->send("$buf\n");
|
$socket->send("00000000$buf\n");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user