[asterisk-commits] file: branch file/gulp_fax r394551 - /team/file/gulp_fax/res/res_sip_t38.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jul 17 10:54:17 CDT 2013


Author: file
Date: Wed Jul 17 10:54:15 2013
New Revision: 394551

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=394551
Log:
Tweak what we tell the main SDP handling code so it doesn't consider things a failure.

With this we now reinvite back to previous streams as expected.

Modified:
    team/file/gulp_fax/res/res_sip_t38.c

Modified: team/file/gulp_fax/res/res_sip_t38.c
URL: http://svnview.digium.com/svn/asterisk/team/file/gulp_fax/res/res_sip_t38.c?view=diff&rev=394551&r1=394550&r2=394551
==============================================================================
--- team/file/gulp_fax/res/res_sip_t38.c (original)
+++ team/file/gulp_fax/res/res_sip_t38.c Wed Jul 17 10:54:15 2013
@@ -660,10 +660,10 @@
 	pj_str_t stmp;
 
 	if (!session->endpoint->t38udptl) {
-		return 0;
+		return 1;
 	} else if ((session->t38state != T38_LOCAL_REINVITE) && (session->t38state != T38_PEER_REINVITE) &&
 		(session->t38state != T38_ENABLED)) {
-		return 0;
+		return 1;
 	} else if (!(state = t38_state_get_or_alloc(session))) {
 		return -1;
 	} else if (t38_initialize_session(session, session_media)) {




More information about the asterisk-commits mailing list