WebRTC VIA Header Websock Invalid Format

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
shrhoads
Posts: 1
Joined: Fri Apr 24, 2015 8:27 am

WebRTC VIA Header Websock Invalid Format

Post by shrhoads »

1. Brekeke Product Name and Version: 3.4.4.3/408

2. Java version: 1.7.0_45

3. OS type and the version: Windows 8 Professional

4. UA (phone), gateway or other hardware/software involved: JsSIP, Polycom

5. Your problem: Invoid VIA SIP headers with websocket connection.

I am testing WebRTC with the SIP Server (not PBX) and when I register with the websocket and JsSIP library mentioned in the wiki, the registration entry is invalid. (notice the .invalid address)

5002 sip:aj0b5fu8@kvvd09ok8di9.invalid
(192.168.3.9:65227)
Expires : 600 Priority : 1000
User Agent : JsSIP 0.6.26
Transport : WS
Time Update : Fri Apr 24 11:26:32 EDT 2015

The sip message looks like this:

INVITE sip:5000@192.168.3.9 SIP/2.0
Via: SIP/2.0/WS kvvd09ok8di9.invalid;branch=z9hG4bK105216
Max-Forwards: 69
To: <sip:5000@192.168.3.9>

(notice the invalid Via)

This results in invalid Via headers being routed to my polycom devices which rejects the call with this message:

0424100447|sip |4|00|Via does not have valid transport

I also tried with SIPML5 library with the same results.

Is there a trick to get the Via: header to output in valid format?
ambrosio
Posts: 215
Joined: Thu Mar 27, 2008 12:20 pm

Post by ambrosio »

As SIP proxy, Brekeke SIP Server keeps received Via header(s).

If your phone can not parse it, let you enable B2B-UA mode at Brekeke SIP Server.
http://wiki.brekeke.com/wiki/Back-To-Ba ... Agent-Mode
Post Reply