Hi again! The problem doesn't seem to be related to the PJSIP version I was using, as I updated to the latest SVN trunk and I still have the same kind of problem. I attached the log and the capture I made using the latest version. Cheers Pedro Gon?alves Pedro Gon?alves wrote: > Hi! > > I've been reworking my application, trying to remove some ICE-related > hacks that I was doing in the SIP Server. > Now I have a STUN server that I developed and I am trying to do as > much standard as I can. > I developed the STUN server and I tested it with pj_turn_client. > > However, I am having a problem, as the INVITE with the ICE candidates > the caller is sending has a problem: the candidate in use is not one > of the candidates included in the SDP! > > I included both the log and the capture I made, in which we can see > the STUN requests to the STUN Server (172.18.1.7:3478) and to the TURN > Server (172.18.1.7:3000) > > Here is the SDP: > v=0 > o=- 3429971726 3429971726 IN IP4 172.18.0.94 > s=pjmedia > c=IN IP4 172.18.0.94 > t=0 0 > m=audio 4000 RTP/AVP 0 8 101 > a=rtcp:4001 IN IP4 172.18.0.94 > a=rtpmap:0 PCMU/8000 > a=rtpmap:8 PCMA/8000 > a=sendrecv > a=rtpmap:101 telephone-event/8000 > a=fmtp:101 0-15 > a=ice-ufrag:428b26a6 > a=ice-pwd:701f5d03 > a=candidate:H 1 UDP 39 172.18.0.94 1332 typ host > a=candidate:R 1 UDP 15 172.18.1.7 4014 typ relay raddr 172.18.0.94 > rport 1333 > a=candidate:H 2 UDP 38 172.18.0.94 1334 typ host > a=candidate:R 2 UDP 14 172.18.1.7 4015 typ relay raddr 172.18.0.94 > rport 1335 > > As you can see, the candidates in use (172.18.0.94:4000 and > 172.18.0.94:40001) are not included in the candidate list. > This will cause an ice-mismatch in the answerer. > > I am using a version previous to 1.0. > Is this a bug which has been fixed in latest versions (1.0-rc1 and > 1.0-rc2)? > > Best Regards > Pedro Gon?alves -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: InviteWithProblems2.log Url: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080909/4c15ce42/attachment-0001.log -------------- next part -------------- A non-text attachment was scrubbed... Name: InviteWithProblems2.pcap Type: application/octet-stream Size: 51074 bytes Desc: not available Url : http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080909/4c15ce42/attachment-0001.pcap