From 6e8729a1596034548e998581f7caac9a97b37f42 Mon Sep 17 00:00:00 2001 From: Brian West Date: Fri, 18 Apr 2014 15:18:41 -0500 Subject: [PATCH] OPENZAP-222 --resolve --- libs/freetdm/src/ftmod/ftmod_libpri/ftmod_libpri.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/freetdm/src/ftmod/ftmod_libpri/ftmod_libpri.c b/libs/freetdm/src/ftmod/ftmod_libpri/ftmod_libpri.c index a16949fd71..0be6c5dcd4 100644 --- a/libs/freetdm/src/ftmod/ftmod_libpri/ftmod_libpri.c +++ b/libs/freetdm/src/ftmod/ftmod_libpri/ftmod_libpri.c @@ -1166,7 +1166,7 @@ static ftdm_status_t state_advance(ftdm_channel_t *chan) return FTDM_SUCCESS; } - caller_ton = caller_data->ani.type; + caller_ton = caller_data->cid_num.type; switch (caller_ton) { case FTDM_TON_NATIONAL: caller_ton = PRI_NATIONAL_ISDN;