git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7715
d0543943-73ff-0310-b7d9-
9358b9ac24b2
}
}
- if (!match && greedy) {
- skip++;
- continue;
- }
-
if (!match && near_match) {
const switch_codec_implementation_t *search[1];
char *prefs[1];
match = 1;
}
+ if (!match && greedy) {
+ skip++;
+ continue;
+ }
+
if (mimp) {
char tmp[50];
tech_pvt->rm_encoding = switch_core_session_strdup(session, (char *) map->rm_encoding);
done:
*cause = SWITCH_CAUSE_UNALLOCATED;
+ if (caller_channel && !switch_channel_ready(caller_channel)) {
+ status = SWITCH_STATUS_FALSE;
+ }
+
if (status == SWITCH_STATUS_SUCCESS) {
if (caller_channel) {
switch_channel_set_variable(caller_channel, "originate_disposition", "call accepted");