Discussion:
[SR-Users] Does rtpengine properly handle FQDN in SDP Origin?
Anthony Messina
2014-08-19 18:53:32 UTC
Permalink
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?
--
Anthony - https://messinet.com/ - https://messinet.com/~amessina/gallery
8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E
Richard Fuchs
2014-08-19 20:17:07 UTC
Permalink
Post by Anthony Messina
CSipSimple <-> Kamailio/rtpengine <-> Asterisk 12/13
I see the following error when parsing SDP from the Asterisk side, possibly
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
Anthony Messina
2014-08-19 20:27:20 UTC
Permalink
Post by Richard Fuchs
Post by Anthony Messina
I've begun playing with rtpengine (git e0957d1) a little and in my
CSipSimple <-> Kamailio/rtpengine <-> Asterisk 12/13
I see the following error when parsing SDP from the Asterisk side,
possibly >
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/50f2bfbc4dc7f73a1fa215e1c80e89cc
c1887d85
Wow. What speedy service, sir! Too bad you don't also deliver pizza ;)

Thanks a lot. -A
--
Anthony - https://messinet.com/ - https://messinet.com/~amessina/gallery
8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E
Loading...