[asterisk-bugs] [JIRA] Created: (ASTERISK-20238) Registering SIP user from JavaScript sipML5 client fails when random ".invalid" domain sent in Contact header

James Mortensen (JIRA) noreply at issues.asterisk.org
Wed Aug 15 16:13:07 CDT 2012


Registering SIP user from JavaScript sipML5 client fails when random ".invalid" domain sent in Contact header
-------------------------------------------------------------------------------------------------------------

                 Key: ASTERISK-20238
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20238
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
    Affects Versions: 11.0.0-beta1
            Reporter: James Mortensen


According to the spec, the JavaScript SIP client should send a random ".invalid" domain in the Contact header, since the JavaScript implementation has no way to determine the IP address or the port to send.

It seems that the Asterisk server should instead use the existing port 8088 to send WebSocket responses back to the client; however, the end result is a 400 Bad Request.

If I send my hard-coded IP address, I see a 200 OK message. I've also tried seeing the nat=no setting in sip.conf.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list