mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 20:51:58 +00:00
look out below....(make current)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10363 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -91,8 +91,11 @@ static void switch_core_standard_on_routing(switch_core_session_t *session)
|
||||
}
|
||||
|
||||
count++;
|
||||
|
||||
if ((extension = dialplan_interface->hunt_function(session, dparg, NULL)) != 0) {
|
||||
|
||||
extension = dialplan_interface->hunt_function(session, dparg, NULL);
|
||||
UNPROTECT_INTERFACE(dialplan_interface);
|
||||
|
||||
if (extension) {
|
||||
switch_channel_set_caller_extension(session->channel, extension);
|
||||
switch_channel_set_state(session->channel, CS_EXECUTE);
|
||||
goto end;
|
||||
|
||||
Reference in New Issue
Block a user