Commit a78c296e authored by Martti Mela's avatar Martti Mela

added SIPTAG_FROM for nua_glib functions

darcs-hash:20060515125650-1b897-e0b3e26ccffb17a700dc4b3b122f39cc83df99f5.gz
parent c3be834f
......@@ -253,7 +253,7 @@ void nua_glib_set_property(GObject *object,
if (self->priv->nua)
{
nua_set_params(self->priv->nua,
SIPTAG_FROM_STR(g_value_get_string (value)),
SIPTAG_FROM_STR(self->priv->address),
TAG_NULL());
nua_get_params(self->priv->nua, TAG_ANY(), TAG_NULL());
}
......@@ -2236,6 +2236,7 @@ nua_glib_register(NuaGlib *self, const char *registrar)
if ((op = nua_glib_op_create(self, SIP_METHOD_REGISTER, address, TAG_END()))) {
printf("%s: REGISTER %s\n", self->priv->name, op->op_ident);
nua_register(op->op_handle,
SIPTAG_FROM_STR(self->priv->address),
TAG_IF(registrar, NUTAG_REGISTRAR(registrar)),
TAG_NULL());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment