]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
update defaults
authorAnthony Minessale <anthony.minessale@gmail.com>
Fri, 29 Sep 2006 13:00:28 +0000 (13:00 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Fri, 29 Sep 2006 13:00:28 +0000 (13:00 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2867 d0543943-73ff-0310-b7d9-9358b9ac24b2

conf/freeswitch.xml
scripts/multicast/recv.pl
scripts/multicast/send.pl

index 5ab566e96914e5366afa56525fbbb94be5781982..59658299a8836cb7b92ecd563a3ea8d24cbdb1f8 100644 (file)
@@ -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>
         <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"/> -->
   </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>
index ec55daf840bad0f3451f524d337b31a5395bfccc..241d9df5718155c6becfbdbd3a706fd1c933c10b 100644 (file)
@@ -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;
 }
index ed4c84dfe2441cc97c0bf6d584b64f505897f6ca..7b8a9aea6de56e8dad031a9408aa599a2629a154 100755 (executable)
@@ -13,5 +13,5 @@ $/ = undef;
 my $buf = <I>;
 close(I);
 
-$socket->send("$buf\n");
+$socket->send("00000000$buf\n");