hi, I am using sofia-sip stack to develop an user agent,As a first step i thought of writing a simple instant messaging application. For that, am trying to register my sip address to ekiga registrar but am getting service unavailable message from the sofia stack. Here is the code snippet :
/*create NUA stack */ appl->nua = nua_create(appl->root,app_callback,appl, SIPTAG_FROM_STR("sip:[EMAIL PROTECTED]"), NUTAG_PROXY("sip:86.64.162.35:5060"), TAG_NULL()); nua_set_params(appl->nua, NUTAG_ENABLEMESSAGE(1), NUTAG_ENABLEINVITE(1), NUTAG_AUTOALERT(1), NUTAG_SESSION_TIMER(0), NUTAG_AUTOANSWER(0), TAG_NULL()); if (appl->nua != NULL) { nua_handle_t *nh; to = sip_to_make(appl->home, "sip:[EMAIL PROTECTED]"); if (to == NULL) { return 0; } nh = nua_handle(appl->nua, NULL,NUTAG_URL(to->a_url),SIPTAG_TO(to),TAG_END()); nua_register(nh, TAG_END()); /* enter main loop for processing of messages */ su_root_run(appl->root); In the call back registered am getting service unavailable message..Can any body help me on this issue?? Thanks in advance !! Regards, Arun ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel