Expanding on 052638186b to support boolean tel url params in mod_sofia

This commit is contained in:
William King 2014-04-25 13:49:59 -07:00
parent f27fe7ed08
commit 0ba59aa6c2
1 changed files with 5 additions and 0 deletions

View File

@ -8773,6 +8773,11 @@ void sofia_handle_sip_i_invite(switch_core_session_t *session, nua_t *nua, sofia
var_name = switch_mprintf("sip_invite_%s", argv2[0]);
switch_channel_set_variable(channel, var_name, argv2[1]);
switch_safe_free( var_name );
} else {
char *var_name = NULL;
var_name = switch_mprintf("sip_invite_%s", argv2[0]);
switch_channel_set_variable(channel, var_name, "true");
switch_safe_free( var_name );
}
}
}