My aor start with sip.
In fact I do:
........
su_init();
su_home_init(context->c_home);
context->c_root = su_root_create(context);
context->c_aor="sip:[EMAIL PROTECTED]";
if (context->c_root)
{
context->c_nua = nua_create(context->c_root, app_callback,
context,NUTAG_URL("sip:0.0.0.0:5060"),TAG_NULL());
if (context->c_nua )
{
nua_set_params(context->c_nua,
NUTAG_ENABLEMESSAGE(1), NUTAG_ENABLEINVITE(1),
NUTAG_AUTOALERT(1),TAG_IF(context->c_aor,
SIPTAG_FROM_STR(context->c_aor)),TAG_NULL());
}
}
........
Kai Vehmanen a écrit :
> On Fri, 2 Jun 2006, [EMAIL PROTECTED] wrote:
>
>> I work on windows and I test the sofia library. I do a nua_create with a
>> NUTAG_URL("sip:0.0.0.0:5060"), all seem ok, thus I do a nua_set_params
>> with the tag: SIPTAG_FROM_STR(aor)). But when I want to make a
>> nua_register I have this error:
>> "Invalid URI".
>
>
> What's the contents of 'aor'? First guess, does it have a valid scheme
> name, i.e. starts with "sip:", "sips:", or "tel:"?
>
_______________________________________________
Sofia-sip-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel