[Freeswitch-svn] [commit] r2867 - in freeswitch/trunk: conf scripts/multicast

Freeswitch SVN anthm at freeswitch.org
Fri Sep 29 09:00:29 EDT 2006


Author: anthm
Date: Fri Sep 29 09:00:28 2006
New Revision: 2867

Modified:
   freeswitch/trunk/conf/freeswitch.xml
   freeswitch/trunk/scripts/multicast/recv.pl
   freeswitch/trunk/scripts/multicast/send.pl

Log:
update defaults

Modified: freeswitch/trunk/conf/freeswitch.xml
==============================================================================
--- freeswitch/trunk/conf/freeswitch.xml	(original)
+++ freeswitch/trunk/conf/freeswitch.xml	Fri Sep 29 09:00:28 2006
@@ -77,7 +77,7 @@
     <configuration name="event_multicast.conf" description="Multicast Event">
       <settings>
         <param name="address" value="225.1.1.1"/>
-        <param name="port" value="424242"/>
+        <param name="port" value="4242"/>
         <param name="bindings" value="all"/>
       </settings>
     </configuration>
@@ -123,6 +123,7 @@
         <param name="rtp-timer-name" value="soft"/>
         <param name="rtp-ip" value="192.168.1.20"/>
         <param name="sip-ip" value="192.168.1.20"/>
+        <!--<param name="auth-calls" value="true"/>-->
         <!-- optional ; -->
         <!-- <param name="ext-rtp-ip" value="stun:stun.server.com"/>-->
         <!-- <param name="ext-rtp-ip" value="100.101.102.103"/> -->
@@ -484,9 +485,13 @@
   </section>
 
   <section name="directory" description="User Directory">
+    <!--the domain or ip (the right hand side of the @ in the addr-->
     <domain name="mydomain.com">
+    <!--the user id (the left hand side of the @ in the addr-->
       <user id="1000">
+	<!-- omit password for authless registration -->
 	<param name="password" value="mypass"/>
+	<!--various endpoints and application will look for user specific settings here -->
 	<param name="mypref" value="myval"/>
 	</user>
     </domain>

Modified: freeswitch/trunk/scripts/multicast/recv.pl
==============================================================================
--- freeswitch/trunk/scripts/multicast/recv.pl	(original)
+++ freeswitch/trunk/scripts/multicast/recv.pl	Fri Sep 29 09:00:28 2006
@@ -8,5 +8,6 @@
 $socket->mcast_add($ip);
 
 while($socket->recv($data,1024)) {
+  $data =~ s/^.{8}//;
   print $data;
 }

Modified: freeswitch/trunk/scripts/multicast/send.pl
==============================================================================
--- freeswitch/trunk/scripts/multicast/send.pl	(original)
+++ freeswitch/trunk/scripts/multicast/send.pl	Fri Sep 29 09:00:28 2006
@@ -13,5 +13,5 @@
 my $buf = <I>;
 close(I);
 
-$socket->send("$buf\n");
+$socket->send("00000000$buf\n");
 



More information about the Freeswitch-svn mailing list