]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-5815 --resolve
authorAnthony Minessale <anthm@freeswitch.org>
Mon, 23 Sep 2013 15:58:25 +0000 (10:58 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Mon, 23 Sep 2013 15:58:25 +0000 (10:58 -0500)
src/mod/applications/mod_spandsp/mod_spandsp_modem.c

index 68964319e43d9d8bb1f1fab401704b825a03967f..7c43577427e5070e25b4a07b0af224c93056ed14 100644 (file)
@@ -883,6 +883,7 @@ static switch_call_cause_t channel_outgoing_channel(switch_core_session_t *sessi
                if (outbound_profile) {
                        caller_profile = switch_caller_profile_clone(*new_session, outbound_profile);
                        caller_profile->source = switch_core_strdup(caller_profile->pool, "mod_spandsp");
+                       caller_profile->destination_number = switch_core_strdup(caller_profile->pool, number);
                        switch_channel_set_caller_profile(channel, caller_profile);
                        tech_pvt->caller_profile = caller_profile;
                } else {