mirror of
https://dev.iopsys.eu/bbf/icwmp.git
synced 2026-03-12 03:58:34 +01:00
Ticket refs #16152: TR-069: SetParameterValue of the parameter Device.Services.VoiceService.1.VoiceProfile.1.SIP.UserAgentTransport not working
This commit is contained in:
parent
295dafcf07
commit
44d41b4387
1 changed files with 3 additions and 1 deletions
|
|
@ -1160,11 +1160,13 @@ int get_sip_user_agent_transport(char *refparam, struct dmctx *ctx, void *data,
|
|||
|
||||
int set_sip_user_agent_transport(char *refparam, struct dmctx *ctx, void *data, char *instance, char *value, int action)
|
||||
{
|
||||
struct sip_args *sipargs = (struct sip_args *)data;
|
||||
switch (action) {
|
||||
case VALUECHECK:
|
||||
return 0;
|
||||
case VALUESET:
|
||||
//TODO FUNCTION IS EMPTY IN SCRIPT
|
||||
if (strcasecmp(value, "udp")==0) dmuci_set_value_by_section(sipargs->sip_section, "transport", "");
|
||||
else dmuci_set_value_by_section(sipargs->sip_section, "transport", value);
|
||||
return 0;
|
||||
}
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue