Yate Community Forum

Yate server => Yate bugs => Topic started by: sh4mu on May 20, 2016, 08:36:50 AM

Title: Wrong behavior when INVITE has no SDP
Post by: sh4mu on May 20, 2016, 08:36:50 AM
Hi all!

The YATE server is not processing an incoming INVITE without SDP properly.

According to RFC3261, “When a UAC does not include an SDP body in the INVITE request, it is required that the UAS includes an offer in the first reliable non-failure response”,
In this case the 200 OK towards the IMS should have a SDP offer. However, YATE PBX is "rebounding" the 200 OK from the SoftPhone with an ACK and replying to the initial INVITE with a 200 without SDP, which is not correct.

(http://i.imgur.com/kotnD52.jpg)

Is there anyway of overcoming this scenario only through YATE configuration? For instance, simply forward the SDP between end points.

I have attached the .pcap trace for better understanding of the issue
http://www.filedropper.com/yatenosdp (http://www.filedropper.com/yatenosdp)
Title: Re: Wrong behavior when INVITE has no SDP
Post by: marian on May 23, 2016, 12:12:18 AM
For rtp/sdp forward see:
http://docs.yate.ro/wiki/RTP_Forwarding
Title: Re: Wrong behavior when INVITE has no SDP
Post by: sh4mu on May 23, 2016, 11:27:26 AM
Marian, ths for the tip.

I've managed to forward the SDP's, but only for calls starting with an INVITE with SDP.
If the INVITE has no SDP, the behavior is the same  :-[