[Freeswitch-svn] [commit] r10393 - in freeswitch/trunk/src/mod: applications/mod_dptools dialplans/mod_dialplan_asterisk
FreeSWITCH SVN
brian at freeswitch.org
Thu Nov 13 17:00:03 PST 2008
Author: brian
Date: Thu Nov 13 20:00:02 2008
New Revision: 10393
Log:
unprotect these interfaces when done
Modified:
freeswitch/trunk/src/mod/applications/mod_dptools/mod_dptools.c
freeswitch/trunk/src/mod/dialplans/mod_dialplan_asterisk/mod_dialplan_asterisk.c
Modified: freeswitch/trunk/src/mod/applications/mod_dptools/mod_dptools.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_dptools/mod_dptools.c (original)
+++ freeswitch/trunk/src/mod/applications/mod_dptools/mod_dptools.c Thu Nov 13 20:00:02 2008
@@ -1956,6 +1956,8 @@
cause = SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER;
}
+ UNPROTECT_INTERFACE(error_endpoint_interface);
+
return cause;
}
@@ -2116,6 +2118,8 @@
done:
+ UNPROTECT_INTERFACE(user_endpoint_interface);
+
if (xml) {
switch_xml_free(xml);
}
Modified: freeswitch/trunk/src/mod/dialplans/mod_dialplan_asterisk/mod_dialplan_asterisk.c
==============================================================================
--- freeswitch/trunk/src/mod/dialplans/mod_dialplan_asterisk/mod_dialplan_asterisk.c (original)
+++ freeswitch/trunk/src/mod/dialplans/mod_dialplan_asterisk/mod_dialplan_asterisk.c Thu Nov 13 20:00:02 2008
@@ -318,6 +318,9 @@
}
outbound_profile->destination_number = switch_core_sprintf(outbound_profile->pool, "%s/%s", profile, outbound_profile->destination_number);
+
+ UNPROTECT_INTERFACE(sip_endpoint_interface);
+
return switch_core_session_outgoing_channel(session, var_event, "sofia", outbound_profile, new_session, pool, SOF_NONE);
}
@@ -337,6 +340,8 @@
switch_caller_profile_t *outbound_profile,
switch_core_session_t **new_session, switch_memory_pool_t **pool, switch_originate_flag_t flags)
{
+ UNPROTECT_INTERFACE(iax2_endpoint_interface);
+
return switch_core_session_outgoing_channel(session, var_event, "iax", outbound_profile, new_session, pool, SOF_NONE);
}
More information about the Freeswitch-svn
mailing list