mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-19 01:45:32 +00:00
Expanding on 052638186b2784c4142089008adf4289d40c80bc to support boolean tel url params in mod_sofia
This commit is contained in:
parent
65026d3448
commit
838c2174e5
@ -8326,6 +8326,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 );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user