]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
freetdm: ss7: bug fix for ticket 6290, channel status was not showing channel 1
authorKonrad Hammel <konrad@sangoma.com>
Fri, 11 Feb 2011 22:02:56 +0000 (17:02 -0500)
committerKonrad Hammel <konrad@sangoma.com>
Fri, 11 Feb 2011 22:02:56 +0000 (17:02 -0500)
libs/freetdm/src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_xml.c

index 2f67d3fee72a614ac291c8659fcd0d03332b0ce8..166fe5dc04fb710d9912c991ca2c698253c73d4f 100644 (file)
@@ -2833,7 +2833,7 @@ static int ftmod_ss7_fill_in_ccSpan(sng_ccSpan_t *ccSpan)
                }
 
                /* find a spot for this circuit in the global structure */
-               x = (ccSpan->procId * 1000);
+               x = (ccSpan->procId * 1000) + 1;
                flag = 0;
                while (flag == 0) {
                /**********************************************************************/