[asterisk-commits] russell: branch russell/events r62291 - in /team/russell/events: apps/ configs/

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sat Apr 28 13:50:26 MST 2007


Author: russell
Date: Sat Apr 28 15:50:25 2007
New Revision: 62291

URL: http://svn.digium.com/view/asterisk?view=rev&rev=62291
Log:
Remove example of register=yes from iax.conf.sample and don't create the VM
poll thread as detached

Modified:
    team/russell/events/apps/app_voicemail.c
    team/russell/events/configs/iax.conf.sample

Modified: team/russell/events/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/team/russell/events/apps/app_voicemail.c?view=diff&rev=62291&r1=62290&r2=62291
==============================================================================
--- team/russell/events/apps/app_voicemail.c (original)
+++ team/russell/events/apps/app_voicemail.c Sat Apr 28 15:50:25 2007
@@ -7475,9 +7475,7 @@
 	poll_thread_run = 1;
 
 	pthread_attr_init(&attr);
-	pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED);
-	ast_pthread_create(&poll_thread, &attr, 
-		mb_poll_thread, NULL);
+	ast_pthread_create(&poll_thread, &attr, mb_poll_thread, NULL);
 	pthread_attr_destroy(&attr);
 }
 

Modified: team/russell/events/configs/iax.conf.sample
URL: http://svn.digium.com/view/asterisk/team/russell/events/configs/iax.conf.sample?view=diff&rev=62291&r1=62290&r2=62291
==============================================================================
--- team/russell/events/configs/iax.conf.sample (original)
+++ team/russell/events/configs/iax.conf.sample Sat Apr 28 15:50:25 2007
@@ -434,11 +434,3 @@
 ;secret=shazbot  ; only the last specified secret will be used.
 ;context=default
 ;permit=0.0.0.0/0.0.0.0
-
-; Registrations can be specified in a peer entry, as well.
-;[mypeer]
-;type=peer
-;host=mypeer.whatever.com
-;register=yes
-;username=myuser
-;secret=mysecret



More information about the asterisk-commits mailing list