[asterisk-commits] file: branch group/pimp_my_sip r389953 - /team/group/pimp_my_sip/res/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue May 28 14:22:57 CDT 2013


Author: file
Date: Tue May 28 14:22:53 2013
New Revision: 389953

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=389953
Log:
Fix a bug which prevented UPDATE messages from being sent while an INVITE transaction was present.

Modified:
    team/group/pimp_my_sip/res/res_sip_session.c

Modified: team/group/pimp_my_sip/res/res_sip_session.c
URL: http://svnview.digium.com/svn/asterisk/team/group/pimp_my_sip/res/res_sip_session.c?view=diff&rev=389953&r1=389952&r2=389953
==============================================================================
--- team/group/pimp_my_sip/res/res_sip_session.c (original)
+++ team/group/pimp_my_sip/res/res_sip_session.c Tue May 28 14:22:53 2013
@@ -733,7 +733,7 @@
 		return 0;
 	}
 
-	if (inv_session->invite_tsx) {
+	if ((method == AST_SIP_SESSION_REFRESH_METHOD_INVITE) && inv_session->invite_tsx) {
 		/* We can't send a reinvite yet, so delay it */
 		ast_debug(3, "Delaying sending reinvite to %s because of outstanding transaction...\n",
 				ast_sorcery_object_get_id(session->endpoint));




More information about the asterisk-commits mailing list