From 0532a56c7e86740348772994f4883d3c9bafe3f9 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 27 Oct 2006 15:20:14 +0000 Subject: [PATCH] sigh git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3218 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_wanpipe/mod_wanpipe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod/endpoints/mod_wanpipe/mod_wanpipe.c b/src/mod/endpoints/mod_wanpipe/mod_wanpipe.c index 38d2ff3294..0ea42f5865 100644 --- a/src/mod/endpoints/mod_wanpipe/mod_wanpipe.c +++ b/src/mod/endpoints/mod_wanpipe/mod_wanpipe.c @@ -1229,8 +1229,8 @@ static int on_ring(struct sangoma_pri *spri, sangoma_pri_event_t event_type, pri return 0; } - if (event->ring.aniii >= 0) { - snprintf(aniiistr, 5, "%.2d", event->ring.aniii); + if (event->ring.ani2 >= 0) { + snprintf(aniiistr, 5, "%.2d", event->ring.ani2); } if ((tech_pvt->caller_profile = switch_caller_profile_new(switch_core_session_get_pool(session),