I hope you understand, that for security reasons I'd prefer do not disclose my IP's within Wiresharks log. But I'd like to provide you with data collected during some tests. I've just made test call from CSS (CSipSimple) to PL (PhonerLite). After taking the call for several seconds there was silence (no audio). Then, in approximately 3 sec I start to hear audio. Here is the log, connected with Wireshark (watch for port numbers specified after ':'): 00:00 - INVITE, CSS -> PL. SDP:m=4002, many codecs. m=rtcp:4003 00:08 - OK, PL -> CSS. SDP::m=5062, many codecs 00:08 - PL:5063 -> CSS:4003. RTCP - Source description 00:08 - PL:5062 -> CSS:4002. RTP - Unknown RTP version 00:08 - PL:5062 -> CSS:4002. RTP - PT=ITU-T G711 PCMU 00:08 - PL:5062 -> CSS:4002. RTP - PT=ITU-T G711 PCMU ... PL continues to send RTP packets to CSS, but there is no any messages sent back from CSS to PL 00:09 - INVITE, CSS -> PL. SDP:m=4002, one codec PCMU, m=rtcp:4003 00:09 - OK, PL -> CSS. SDP:m=5062, one codec PCMU 00:09 - PL:5062 -> CSS:4002. RTP - PT=ITU-T G711 PCMU 00:08 - PL:5062 -> CSS:4002. RTP - PT=ITU-T G711 PCMU ... PL continues to send RTP packets to CSS, but there is no any messages sent back from CSS to PL 00:11 - INVITE, PL -> CSS. SDP:m=5135, many codecs. m=rtcp:5135 first two RTP packets from CSS to PL: 00:11 - CSS:4002 -> PL:5060. RTP - PT=GSM 06.10 00:11 - CSS:4002 -> PL:5060. RTP - PT=GSM 06.10 00:11 - PL:5060 -> CSS:4002. RTP - PT=ITU-T G711 PCMU 00:11 - CSS:4002 -> PL:5060. RTP - PT=GSM 06.10 00:11 - PL:5060 -> CSS:4002. RTP - PT=ITU-T G711 PCMU 00:11 - CSS:4002 -> PL:5060. RTP - PT=GSM 06.10 00:11 - PL:5060 -> CSS:4002. RTP - PT=ITU-T G711 PCMU 00:11 - OK, CSS -> PL. SDP:m=4002, one codec GSM, m=rtcp:4003 00:11 - PL:5060 -> CSS:4002. RTP - Unknown RTP version 00:11 - PL:5060 -> CSS:4002. RTP - PT=GSM 06.10 00:11 - CSS:4002 -> PL:5060. RTP - PT=GSM 06.10 00:11 - PL:5060 -> CSS:4002. RTP - PT=GSM 06.10 00:11 - CSS:4002 -> PL:5060. RTP - PT=GSM 06.10 ... Audio is working since that. (some details about SDP content you may find in my log, previously mentioned in this thread) Weird things about it: 1. CSS offers it's usual RTP port 4002, but it doesn't not reply from it for several seconds after the call was answered. 2. In 3 sec PL sends its own INVITE message (offering set of its codecs) and it changes its RTP port form 5062 to 5135 (which will be not used at all, BTW). Only after that moment CSS starts sending its first RTP packets to PL... Watch for the port number that it sends its packets to - it's 5060 (not 5062)! Where this port (5060) comes from? Nevertheless, PL starts to sending RTP packets from this port (5060) back to CSS (4002). 3. Then CSS sends its OK, containing only one codec (GSM, previous codec was PCMU, BTW) 4. Only at that point the audio starts working fine Questions: 1. Why after 3 sec CSS starts sending RTP to PL:5060 and not to its port 5062? May be it was tried, but 5062 was blocked in NAT router? 2. Why CSS in 3 sec suddenly switches to port 5060 to send RTP packets? Where is comes from? PL sends in its SDP port 5062 first and then it changes it to 5135 (and both were never used) and later it looks like it accepts RTP on port 5060? 3. Do those "Unknown RTP version" packets mean anything? It's all very strange...
|