]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
dont update dest when transferring to inline dp
authorAnthony Minessale <anthony.minessale@gmail.com>
Thu, 5 Nov 2009 02:10:10 +0000 (02:10 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Thu, 5 Nov 2009 02:10:10 +0000 (02:10 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15363 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_dptools/mod_dptools.c

index d6a6b21edd76c3cbdb957dbe03540aa5736f2319..b9dee89a39120665e7552e6bfa0263dc555ac467 100644 (file)
@@ -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;
 }