<div dir="ltr">Hello,<div><br></div><div style>I doubt Kamailio adds any sdp body. Can you post here the ngrep with all the SIP signaling from the first INVITE?</div><div style><br></div><div style>Cheers,</div><div style>
Daniel</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Sep 8, 2013 at 11:00 PM, hiro <span dir="ltr"><<a href="mailto:23hiro@gmail.com" target="_blank">23hiro@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ok, I compiled the latest rtpproxy.so, the problem persists: the<br>
interesting facts are: the callee only answers with sdp port once, in<br>
the session progress message. the 200 ok does not have sdp body, but<br>
kamailio inserts sdp into it.<br>
<br>
With the new rtpproxy.so kamailio responds to the session progress by<br>
sending a prack to the callee itself followed by a 200 ok to the<br>
caller that includes sdp but has CSeq: 893961 PRACK which never got<br>
requested by the caller though.<br>
<div class="HOEnZb"><div class="h5"><br>
On 9/4/13, hiro <<a href="mailto:23hiro@gmail.com">23hiro@gmail.com</a>> wrote:<br>
> For this installation I used the .deb from <a href="http://deb.kamailio.org/kamailio" target="_blank">http://deb.kamailio.org/kamailio</a><br>
> Sorry I forgot to include this critical information.<br>
> Is 4.0.3 new enough? Else I can also compile tip, or head or whatever<br>
> it's called ;)<br>
><br>
>  kamailio -V<br>
> version: kamailio 4.0.3 (x86_64/linux)<br>
> flags: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, TLS_HOOKS,<br>
> USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM,<br>
> SHM_MMAP, PKG_MALLOC, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT,<br>
> USE_DNS_CACHE, USE_DNS_FAILOVER,<br>
>  USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES<br>
><br>
><br>
> ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,<br>
> MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 4MB<br>
> poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.<br>
> id: unknown<br>
> compiled on 17:01:35 Aug 19 2013 with gcc 4.7.2<br>
><br>
><br>
> On 9/4/13, Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>> wrote:<br>
>> Hello,<br>
>><br>
>> On 8/29/13 10:22 PM, hiro wrote:<br>
>>> After many failures because of broken libraries I managed to decrypt<br>
>>> my problematic TLS sessions providing the private key of kamailio to<br>
>>> wireshark.<br>
>>><br>
>>> With TLS+SRTP enabled my nokia phones send session progress and pracks<br>
>>> with rtp port. This breaks NAT/rtpproxy in kamailio, which replaces<br>
>>> the rtpproxy port in session progress, but then forgets about it for<br>
>>> the 200 OK.<br>
>>><br>
>>> Attached is a tree overview and the conversations of each phone with<br>
>>> kamailio.<br>
>> can you try with latest branch 4.0? The issue was probably due to<br>
>> rtpproxy_manage() function not taking in consideration PRACKs with sdp.<br>
>> Alternative is to use rtpproxy_offer()/rtpproxy_answer() to control<br>
>> rtpproxy application.<br>
>><br>
>> Cheers,<br>
>> Daniel<br>
>><br>
>> --<br>
>> Daniel-Constantin Mierla - <a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a><br>
>> <a href="http://twitter.com/#!/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a><br>
>> Kamailio Advanced Trainings - Berlin, Oct 21-24; Miami, Nov 11-13, 2013<br>
>>    - more details about Kamailio trainings at <a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a> -<br>
>><br>
>><br>
>> _______________________________________________<br>
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
>> <a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
>> <a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
>><br>
><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Daniel-Constantin Mierla<br>  <a href="http://www.asipto.com">http://www.asipto.com</a>
</div>