git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3218 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2006-10-27 15:20:14 +00:00
parent a203d22fe2
commit 0532a56c7e
1 changed files with 2 additions and 2 deletions

View File

@ -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),