sip: origin: Fix nua_authenticate call

nua_* calls need TAG_END or TAG_NULL as the final parameter.
This commit is contained in:
Evangelos Ribeiro Tzaras
2021-05-01 13:59:32 +02:00
parent 0d467244b2
commit 21e72c9e12

View File

@@ -318,7 +318,7 @@ sip_authenticate (CallsSipOrigin *origin,
auth = g_strdup_printf ("%s:%s:%s:%s",
scheme, realm, origin->user, origin->password);
nua_authenticate (nh, NUTAG_AUTH (auth));
nua_authenticate (nh, NUTAG_AUTH (auth), TAG_END ());
}