mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-05-22 23:16:09 +00:00
oops
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13627 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
35bdae4aa2
commit
dfaf607e6d
@ -50,9 +50,8 @@ SWITCH_DECLARE(switch_caller_profile_t *) switch_caller_profile_new(switch_memor
|
|||||||
switch_caller_profile_t *profile = NULL;
|
switch_caller_profile_t *profile = NULL;
|
||||||
|
|
||||||
profile = switch_core_alloc(pool, sizeof(*profile));
|
profile = switch_core_alloc(pool, sizeof(*profile));
|
||||||
memset(profile, 0, sizeof(*profile));
|
|
||||||
|
|
||||||
switch_assert(profile != NULL);
|
switch_assert(profile != NULL);
|
||||||
|
memset(profile, 0, sizeof(*profile));
|
||||||
|
|
||||||
if (!context) {
|
if (!context) {
|
||||||
context = "default";
|
context = "default";
|
||||||
|
@ -1526,8 +1526,6 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_execute_exten(switch_core_se
|
|||||||
|
|
||||||
dpstr = switch_core_session_strdup(session, new_profile->dialplan);
|
dpstr = switch_core_session_strdup(session, new_profile->dialplan);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
switch_channel_set_hunt_caller_profile(channel, new_profile);
|
switch_channel_set_hunt_caller_profile(channel, new_profile);
|
||||||
argc = switch_separate_string(dpstr, ',', dp, (sizeof(dp) / sizeof(dp[0])));
|
argc = switch_separate_string(dpstr, ',', dp, (sizeof(dp) / sizeof(dp[0])));
|
||||||
for (x = 0; x < argc; x++) {
|
for (x = 0; x < argc; x++) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user