On Tue, Feb 9, 2010 at 12:30 PM, Nikolay Popok <nikolay.popok at gmail.com> wrote: > Hi guys. I'm testing my application with X-Lite and have a problem. > When i call to X-Lite my INVITE has: > s=pjmedia > c=IN IP4 213.192.59.91 > t=0 0 > a=X-nat:0 > m=audio 44958 RTP/AVP 8 0 3 101 > a=rtcp:9002 IN IP4 192.168.1.109 > a=rtpmap:8 PCMA/8000 > a=rtpmap:0 PCMU/8000 > a=rtpmap:3 GSM/8000 > a=sendrecv > a=rtpmap:101 telephone-event/8000 > a=fmtp:101 0-15 > a=zrtp-hash:1.10 > ab7dae0fdc35281e85a55ea8d06943f1e9bcdd6f3f1c582938e85dfdc1dc33f2 > > SDP in X-lite's OK: > s=CounterPath X-Lite 3.0 > c=IN IP4 195.189.201.65 > t=0 0 > m=audio 33462 RTP/AVP 8 0 3 101 > a=fmtp:101 0-15 > a=rtpmap:101 telephone-event/8000 > a=sendrecv > > After that X-lite sends PCMU, my application sends PCMA. But pjlib drops > incoming packets, because payload type in RTP is wrong. > Is there any way to get rid of dropping? Or this is X-lite's bug? > Thanks. > > PS. if X-lite initiates call, everything is fine, because pj informs what > codec it's going to use. > This is a known issue, see: http://trac.pjsip.org/repos/ticket/476