Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
WebRTC VIA Header Websock Invalid Format
Author Message
shrhoads
Brekeke Newbie


Joined: 24 Apr 2015
Posts: 1

PostPosted: Fri Apr 24, 2015 8:41 am    Post subject: WebRTC VIA Header Websock Invalid Format Reply with quote

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?
Back to top
View user's profile
ambrosio
Brekeke Master Guru


Joined: 27 Mar 2008
Posts: 215

PostPosted: Fri Apr 24, 2015 2:05 pm    Post subject: Reply with quote

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-Back-User-Agent-Mode
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1