From: Birger Harzenetter Date: Sat, 16 Jun 2012 07:52:48 +0000 (+0200) Subject: Adds screening of redirecting number X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=commitdiff_plain;h=eab9beeb9b4aa65314f0a422970328e47183428a Adds screening of redirecting number --- diff --git a/apppbx.cpp b/apppbx.cpp index c80c20a..6cf2c92 100644 --- a/apppbx.cpp +++ b/apppbx.cpp @@ -1344,6 +1344,7 @@ void EndpointAppPBX::port_setup(struct port_list *portlist, int message_type, un if (e_callerinfo.interface[0]) { do_screen(0, e_callerinfo.id, sizeof(e_callerinfo.id), &e_callerinfo.ntype, &e_callerinfo.present, e_callerinfo.interface); do_screen(0, e_callerinfo.id2, sizeof(e_callerinfo.id2), &e_callerinfo.ntype2, &e_callerinfo.present2, e_callerinfo.interface); + do_screen(0, e_redirinfo.id, sizeof(e_redirinfo.id), &e_redirinfo.ntype, &e_redirinfo.present, e_callerinfo.interface); } /* process extension */ diff --git a/dss1.cpp b/dss1.cpp index 6a718ab..6adbf1f 100644 --- a/dss1.cpp +++ b/dss1.cpp @@ -1973,6 +1973,7 @@ void Pdss1::message_setup(unsigned int epoint_id, int message_id, union paramete /* screen outgoing caller id */ do_screen(1, p_callerinfo.id, sizeof(p_callerinfo.id), &p_callerinfo.ntype, &p_callerinfo.present, p_m_mISDNport->ifport->interface->name); do_screen(1, p_callerinfo.id2, sizeof(p_callerinfo.id2), &p_callerinfo.ntype2, &p_callerinfo.present2, p_m_mISDNport->ifport->interface->name); + do_screen(1, p_redirinfo.id, sizeof(p_redirinfo.id), &p_redirinfo.ntype, &p_redirinfo.present, p_m_mISDNport->ifport->interface->name); /* only display at connect state: this case happens if endpoint is in connected mode */ if (p_state==PORT_STATE_CONNECT) {