Hi all, I have the same problem described in ticket #1060. We have Windows Mobile device and when it looses and regains contact with the WiFi network, sometimes it will not register to a SIP server. The ticket is set to wontfix, but I did some testing and perhaps know a solution. In sip_reg.c I changed at function pjsip_regc_send I changed the lines status = pjsip_endpt_send_request(regc->endpt, tdata, REGC_TSX_TIMEOUT, regc, &tsx_callback); if (status!=PJ_SUCCESS) { PJ_LOG(4,(THIS_FILE, "Error sending request, status=%d", status)); } into status = pjsip_endpt_send_request(regc->endpt, tdata, REGC_TSX_TIMEOUT, regc, &tsx_callback); if (status!=PJ_SUCCESS) { PJ_LOG(4,(THIS_FILE, "Error sending request, status=%d", status)); if (status == PJ_EEXISTS ) { /* reset flag, otherwise sending can never been done */ regc->has_tsx = PJ_FALSE; /* reset current op */ regc->current_op = REGC_IDLE; } } That does solve my problem. With this solution the flags that block sending new regc transactions and the device does register normal at my SIP server. Is there any good reason why this should not be added to the project? regards, Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20101122/0f5464e2/attachment.html>