hi all, Could someone point to me why the following code fails on pjsua_transport_create when i run this on android: JNIEXPORT int JNICALL Java_org_rix_rixJNI_initpjsua(JNIEnv * env, jobject obj) { pjsua_acc_id acc_id; pj_status_t status; /** Create pjsua **/ status = pjsua_create(); if (status != PJ_SUCCESS) { printf("From native : error creating"); return -1; } /* Init pjsua */ { pjsua_config cfg; pjsua_logging_config log_cfg; pjsua_config_default(&cfg); cfg.cb.on_incoming_call = &on_incoming_call; cfg.cb.on_call_media_state = &on_call_media_state; cfg.cb.on_call_state = &on_call_state; pjsua_logging_config_default(&log_cfg); log_cfg.console_level = 4; status = pjsua_init(&cfg, &log_cfg, NULL); if (status != PJ_SUCCESS) { printf("From native : error initing"); return -2; } } /* Add UDP transport. */ { pjsua_transport_config udp_cfg; pjsua_transport_id transport_id = -1; pjsua_transport_config_default(&udp_cfg); udp_cfg.port = 5060; pjsip_transport_type_e type = PJSIP_TRANSPORT_UDP; /* it is always failing here */ status = pjsua_transport_create(type, &udp_cfg, &transport_id); if (status != PJ_SUCCESS) { return -3; } } Many thanks -- /dww -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20131111/84867fad/attachment-0001.html>