Add some info : list_sdp_context->cid give a right cid and its type is char* From: levequecedric@hotmail.comTo: pjsip at lists.pjsip.orgDate: Fri, 5 Sep 2008 15:23:57 +0200Subject: [PJSIP] Sending a stateless request. Hi, pj_status_t status; pjsip_tx_data *tdata; pj_str_t target; pj_str_t from; pj_str_t to; pj_str_t contact; pj_str_t cid; pjsip_method method; target = pj_str("sip:127.0.0.1:5061"); from = pj_str("sip:sipp at 127.0.0.1:5065"); to = pj_str("sip:sipp at 127.0.0.1:5061"); contact = pj_str("sip:sipp at 127.0.0.1:5065"); cid = pj_str(list_sdp_context->cid); pjsip_method_set(&method, PJSIP_INVITE_METHOD); //Creating data for the mn status = pjsip_endpt_create_request(global.endpt, &method, &target, &from, &to, &contact, &cid, 1, NULL, &tdata); if (status != PJ_SUCCESS) { app_perror("Error creating request", status); return PJ_TRUE; } status = pjsip_endpt_send_request_stateless(global.endpt, &tdata, NULL, NULL); if (status != PJ_SUCCESS) { app_perror("Error forwarding request", status); return PJ_TRUE; } I'm trying to send a stateless request with this code, but I have an error : stateful_proxy-i686-pc-linux-gnu: ../src/pjsip/sip_util.c:720: pjsip_process_route_set: Assertion `tdata->msg->type == PJSIP_REQUEST_MSG' failed.Abandon What can I do to send statelessly a request without managing route ?I don't want route in my final response. Thanks by advance for yours responses. C?dric. Votre correspondant a choisi Hotmail et profite d'un stockage quasiment illimit?. Cr?ez un compte Hotmail gratuitement ! _________________________________________________________________ Installez gratuitement les 20 ?m?ticones Windows Live Messenger les plus fous ! Cliquez ici ! http://www.emoticones-messenger.fr/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080905/9d45ab22/attachment.html