[asterisk-bugs] [JIRA] (ASTERISK-23994) res_pjsip_sdp_rtp: owner address in SDP may not be fully qualified domainname

Private Name (JIRA) noreply at issues.asterisk.org
Fri Jul 4 14:31:56 CDT 2014


    [ https://issues.asterisk.org/jira/browse/ASTERISK-23994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=220278#comment-220278 ] 

Private Name commented on ASTERISK-23994:
-----------------------------------------

a) This is not how the old chan_sip works
b) It will break interoperability with many SIP endpoints
c) This should be configurable by the user in pjsip.conf. In fact, this information should come only from the Transport which is associated with the outgoing endpoint.
d) Nobody has fully configured machine names that really map to an IP address. It just does not happens in the real world.
e) It is change so profound that is constitutes a bug.

Also, please understand how we do business. In a single machine, I have 50 independent Asterisk on top of each other, each one on an independent IP address. This scheme makes my design completely impossible. This field must not even look at the machine, only to the endpoint. I can show you a real machine with 50 Asterisks working perfectly well. As we say in Florida, "if ain't broke, don't fix it"


> res_pjsip_sdp_rtp: owner address in SDP may not be fully qualified domainname
> -----------------------------------------------------------------------------
>
>                 Key: ASTERISK-23994
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23994
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip_sdp_rtp
>    Affects Versions: 12.3.2
>         Environment: Linux any version
>            Reporter: Private Name
>
> I already asked this question to the list and nobody answered, therefore it is a bug. The SDP-Owner section is wrong. This is what my client said:
> {quote}
> "That OK message from 1.1.1.1 can not be parsed by our switch due to
> address representation in their SDP:
> Owner/Creator, Session Id (o): Pitcom 2723451647 2723451649 IN IP4 Pitcomlxc
> Such address representation not supported, there should be IP address
> instead of domain name.
> Example:
> {noformat}
> Owner/Creator, Session Id (o): Pitcom 2723451647 2723451649 IN IP4 1.1.1.1
> {noformat}
> In fact, I traced it in the SDP packet, I see
> {noformat}
> o=Pitcom 3991413436 3 IN IP4 pitcomlxc
> {noformat}
> where pitcomlxc is the host name.
> {quote}
> How do I make PJSIP use an IP address there instead of the host name?
> My /etc/hosts.com has an entry for pitcomlxc, but it makes no difference.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list