[asterisk-commits] may: trunk r313907 - /trunk/addons/chan_ooh323.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Apr 16 19:23:44 CDT 2011


Author: may
Date: Sat Apr 16 19:23:42 2011
New Revision: 313907

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=313907
Log:
fix trivial error with set_max_datagram on pvt->udptl

Modified:
    trunk/addons/chan_ooh323.c

Modified: trunk/addons/chan_ooh323.c
URL: http://svnview.digium.com/svn/asterisk/trunk/addons/chan_ooh323.c?view=diff&rev=313907&r1=313906&r2=313907
==============================================================================
--- trunk/addons/chan_ooh323.c (original)
+++ trunk/addons/chan_ooh323.c Sat Apr 16 19:23:42 2011
@@ -483,7 +483,6 @@
 	ast_mutex_init(&pvt->lock);
 	ast_mutex_lock(&pvt->lock);
 
-	ast_udptl_set_far_max_datagram(pvt->udptl, 144);
 	pvt->faxmode = 0;
 	pvt->t38support = gT38Support;
 	pvt->rtptimeout = gRTPTimeout;
@@ -3963,6 +3962,7 @@
 			strerror(errno));
 		return 0;
 	}
+	ast_udptl_set_far_max_datagram(pvt->udptl, 144);
 
 	if (p->owner) {
 		while (p->owner && ast_channel_trylock(p->owner)) {




More information about the asterisk-commits mailing list