[SR-Users] Does rtpengine properly handle FQDN in SDP Origin?

Richard Fuchs rfuchs at sipwise.com
Tue Aug 19 22:17:07 CEST 2014


On 08/19/14 14:53, Anthony Messina wrote:
> I've begun playing with rtpengine (git e0957d1) a little and in my testing:
> CSipSimple <-> Kamailio/rtpengine <-> Asterisk 12/13
> 
> I see the following error when parsing SDP from the Asterisk side, possibly 
> related to the use of the FQDN in the Origin:
> 
> Got valid command from 127.0.0.1:44407: answer - {
> "sdp": "v=0
> o=- 3617462201 3617462204 IN IP4 hostname.example.com
> s=Asterisk
> <snip>
> 
> Error parsing SDP at offset 5: Error parsing o= line
> Protocol error in packet from 127.0.0.1:44407: Failed to parse SDP 
> [d3:sdp353:v=0
> o=- 3617462201 3617462204 IN IP4 hostname.example.com
> s=Asterisk
> <snip>
> 
> It was brought up here, https://issues.asterisk.org/jira/browse/ASTERISK-23994 
> and it appears that a FQDN should be supported in the SDP Origin.  Is this the 
> case, or might it be something else?

You're quite correct, this was an oversight. Fixed in
https://github.com/sipwise/rtpengine/commit/50f2bfbc4dc7f73a1fa215e1c80e89ccc1887d85

cheers



More information about the sr-users mailing list