[libpri-commits] mattf: branch mattf/libpri-1.4-ntptmp r949 -	/team/mattf/libpri-1.4-ntptmp/
    SVN commits to the libpri project 
    libpri-commits at lists.digium.com
       
    Tue Jul 21 17:31:21 CDT 2009
    
    
  
Author: mattf
Date: Tue Jul 21 17:31:18 2009
New Revision: 949
URL: http://svn.asterisk.org/svn-view/libpri?view=rev&rev=949
Log:
Make sure we send the remove message twice, as recommended by Q.931
Modified:
    team/mattf/libpri-1.4-ntptmp/q921.c
Modified: team/mattf/libpri-1.4-ntptmp/q921.c
URL: http://svn.asterisk.org/svn-view/libpri/team/mattf/libpri-1.4-ntptmp/q921.c?view=diff&rev=949&r1=948&r2=949
==============================================================================
--- team/mattf/libpri-1.4-ntptmp/q921.c (original)
+++ team/mattf/libpri-1.4-ntptmp/q921.c Tue Jul 21 17:31:18 2009
@@ -1285,7 +1285,8 @@
 
 	pri_error(pri, "Sending TEI release, in order to re-establish TEI state\n");
 
-	/* TODO: Send TEI release message here */
+	/* Q.931 says we should send the remove message twice, in case of link corruption */
+	q921_send_tei(pri, Q921_TEI_IDENTITY_REMOVE, 0, h->h.tei, 1);
 	q921_send_tei(pri, Q921_TEI_IDENTITY_REMOVE, 0, h->h.tei, 1);
 
 	return NULL;
    
    
More information about the libpri-commits
mailing list