]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
freetdm: fixed reset tx after unequiped cic; reset sent flag was not being cleared
authorNenad Corbic <ncorbic@sangoma.com>
Wed, 26 Oct 2011 00:29:22 +0000 (20:29 -0400)
committerNenad Corbic <ncorbic@sangoma.com>
Wed, 26 Oct 2011 00:29:22 +0000 (20:29 -0400)
libs/freetdm/src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_main.c

index 759fd2871f96d4491d9d6816c8b7686e05b9c32a..4f0d021228f935bd7db5d51c8ae7e68a2bef09aa 100644 (file)
@@ -1410,6 +1410,7 @@ ftdm_status_t ftdm_sangoma_ss7_process_state_change (ftdm_channel_t * ftdmchan)
                        sngss7_clear_ckt_blk_flag(sngss7_info, FLAG_CKT_UCIC_UNBLK);
 
                        /* throw the channel into reset to sync states */
+                       clear_tx_rsc_flags(sngss7_info);
                        sngss7_set_ckt_flag(sngss7_info, FLAG_RESET_TX);
 
                        /* bring the channel into restart again */