Hi,
I've downloaded Sofia and have installed it on windows XP. I was trying
to use it writing some simple codes like these on the web site and these
of sofsip-cli and sip-options but I have a problem with the nua_create.
My code is something like this,
......
......
context_t context[1] = {{{SU_HOME_INIT(context)}}};
su_home_t *home;
su_init();
su_home_init(home = context->c_home);
context->c_root = su_root_create(context);
if (context->c_root)
{
context->c_nua = nua_create(context->c_root, app_callback,
context, TAG_NULL());
}
if (context->c_nua)
{
nua_set_params(context->c_nua,NUTAG_URL("sip:0.0.0.0:5060"),
NUTAG_ENABLEMESSAGE(1), NUTAG_ENABLEINVITE(1),
NUTAG_AUTOALERT(1),TAG_NULL());
}
....
.....
.....
with a declaration of app_callback like the example on the web site.
But when I execute this code, I have two debug error of the same type on
nta.c:
1/ line 1499: "the variable 'ta' is being used without being defined"
2/ line 1509, "the variable 'ta' is being used without being defined"
Have someone some ideas to help me???
Best regards.
emilie
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sofia-sip-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel