diff --git a/src/mod/applications/mod_dptools/mod_dptools.c b/src/mod/applications/mod_dptools/mod_dptools.c index d6a6b21edd..b9dee89a39 100644 --- a/src/mod/applications/mod_dptools/mod_dptools.c +++ b/src/mod/applications/mod_dptools/mod_dptools.c @@ -81,6 +81,9 @@ SWITCH_STANDARD_DIALPLAN(inline_dialplan_hunt) switch_caller_extension_add_application(session, extension, app, data); } + caller_profile->destination_number = (char *)caller_profile->rdnis; + caller_profile->rdnis = SWITCH_BLANK_STRING; + return extension; }