From a2683555d67deceaf83b7a29e619e44a9ee73b99 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 29 Sep 2006 13:00:28 +0000 Subject: [PATCH] update defaults git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2867 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- conf/freeswitch.xml | 7 ++++++- scripts/multicast/recv.pl | 1 + scripts/multicast/send.pl | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/conf/freeswitch.xml b/conf/freeswitch.xml index 5ab566e969..59658299a8 100644 --- a/conf/freeswitch.xml +++ b/conf/freeswitch.xml @@ -77,7 +77,7 @@ - + @@ -123,6 +123,7 @@ + @@ -484,9 +485,13 @@
+ + + + diff --git a/scripts/multicast/recv.pl b/scripts/multicast/recv.pl index ec55daf840..241d9df571 100644 --- a/scripts/multicast/recv.pl +++ b/scripts/multicast/recv.pl @@ -8,5 +8,6 @@ my $socket = IO::Socket::Multicast->new( LocalPort => $port, ReuseAddr => 1 ); $socket->mcast_add($ip); while($socket->recv($data,1024)) { + $data =~ s/^.{8}//; print $data; } diff --git a/scripts/multicast/send.pl b/scripts/multicast/send.pl index ed4c84dfe2..7b8a9aea6d 100755 --- a/scripts/multicast/send.pl +++ b/scripts/multicast/send.pl @@ -13,5 +13,5 @@ $/ = undef; my $buf = ; close(I); -$socket->send("$buf\n"); +$socket->send("00000000$buf\n");