]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
freetdm: ss7 - bug fix in configuration
authorKonrad Hammel <konrad@sangoma.com>
Fri, 10 Sep 2010 01:22:18 +0000 (21:22 -0400)
committerKonrad Hammel <konrad@sangoma.com>
Fri, 10 Sep 2010 01:22:18 +0000 (21:22 -0400)
libs/freetdm/src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_cfg.c

index 9c9947dfa44470ca1f376e94af7f22f7be617a0c..21ab1d32d247a197980ce1586a329e06dcd53562 100644 (file)
@@ -644,7 +644,7 @@ int ftmod_ss7_mtp2_dlsap_config(int id)
        cfg.t.cfg.s.sdDLSAP.memMac.region       = S_REG;                                        /* memory region and pool id for MAC */
        cfg.t.cfg.s.sdDLSAP.memMac.pool         = S_POOL;
        cfg.t.cfg.s.sdDLSAP.maxOutsFrms         = MAX_SD_OUTSTANDING;           /* maximum outstanding frames */
-       cfg.t.cfg.s.sdDLSAP.errType                     = SD_ERR_NRM;
+       cfg.t.cfg.s.sdDLSAP.errType                     = k->mtp2.errorType;
        cfg.t.cfg.s.sdDLSAP.t1.enb                      = TRUE;                                         /* timer 1 - Alignment Ready Timer */
        cfg.t.cfg.s.sdDLSAP.t1.val                      = k->mtp2.t1;
        cfg.t.cfg.s.sdDLSAP.t2.enb                      = TRUE;                                         /* timer 2 - Not Aligned Timer */