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

Joshua Colp (JIRA) noreply at issues.asterisk.org
Fri Aug 17 14:55:07 CDT 2012


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

Joshua Colp commented on ASTERISK-20238:
----------------------------------------

I've fixed the underlying issue here in subversion for 11 as of revision 371482 and trunk as of revision 371483. One other thing you will need is "avpf=yes" in the entry in sip.conf for the client. Putting this all together though still has things not working properly. Unfortunately while the Chrome team have made progress in further conforming to the official ICE specification they still have a little ways to go. The produced SDP is now close enough to what it should be to be parsed by us, but the actual outgoing packets to Chrome are ignored by it. It doesn't even return an error.

Additionally I will be working on documenting things on the wiki.

> 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
>            Assignee: Joshua Colp
>         Attachments: sip_call_attempt.txt
>
>
> 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