On Tue, 2010-02-02 at 10:29 -0500, David Saint wrote:
> As far as I remember the check for "sipx-noroute=Voicemail" in
> SipRedirectorRegDB.cpp was added to protect against forwarding
> Hunt Group calls prematurely. In a Hunt Group the users have
> expiration timers defined that are applied instead of the regular
> call forward timers.
There it is:
SipRedirectorRegDB.cpp:154
// Check for a per-user call forward timer.
// Don't set timer if we're not going to forward to voicemail.
UtlString userCfwdTimer;
bool foundUserCfwdTimer = false;
if (method.compareTo(SIP_INVITE_METHOD) == 0)
{
UtlString noRoute;
requestUriCopy.getUrlParameter("sipx-noroute", noRoute);
if ((!noRoute.isNull()) && (noRoute.compareTo("Voicemail") == 0))
{
// This is not a call scenerio controlled by this users "forward to
voicemail" timer
}
else
{
foundUserCfwdTimer =
UserForwardDB::getInstance()->getCfwdTime(requestUriCopy, userCfwdTimer);
}
}
Dale
_______________________________________________
sipx-dev mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/