Ran into an error using google-chrome that said it could not find webkitPeerConnection00, I edited ApplicationSipTest.js and changed it to webkitRTCPeerConnection and it now does not give an error, but when I send a register it looks something like:
SIP message sent: REGISTER sip:robotics.net SIP/2.0 Call-ID: 1352336714179 CSeq: 1 REGISTER From: <sip:10...@robotics.net>;tag=1352336714190 To: <sip:10...@robotics.net> Via: SIP/2.0/WS SGdUTQwcTU3r.invalid;branch=z9hG4bK1352336714112 Max-Forwards: 70 Expires: 3600 User-Agent: WebRTC JAIN SIP JS UserAgent Allow: INVITE,ACK,CANCEL,BYE Contact: <sip:10...@SGdUTQwcTU3r.invalid;transport=ws> Content-Length: 0
As you can see the Via line is totally messed up, so my websockets proxy gets it, but can't respond because the Via is messed up.
Any ideas how to fix it?
--
><>
Nathan Stratton
nathan at robotics.net
http://www.robotics.net
Thanks, the new version does fix webkitPeerConnection00, however the IP address in the REGISTER is still garbage.
SIP message sent: REGISTER sip:mobicents.com SIP/2.0 Call-ID: 1352381851008 CSeq: 1 REGISTER From: <sip:tele...@mobicents.com>;tag=1352381851017 To: <sip:tele...@mobicents.com> Via: SIP/2.0/WS wFdzTI7flqTk.invalid;branch=z9hG4bK1352381850956 Max-Forwards: 70 Expires: 3600 User-Agent: MobicentsWebRTCPhone Allow: INVITE,UPDATE,ACK,CANCEL,BYE,NOTIFY,OPTIONS,MESSAGE,REFER Contact: <sip:tele...@wFdzTI7flqTk.invalid;transport=ws> Content-Length: 0