bug report - malformed User-Agent

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I'm encountering an issue where a Sonus SBC is rejecting all invites 
from pjsua. It seems to be the presence of multiple '/' characters in 
User-agent field:

User-Agent: PJSUA v2.2 win32-6.1/i386/msvc-15.0

Replacing the '/' with '-' in os_info.c fixes the issue.

According to Sonus the above User-Agent is out of spec, from 3261, 20.41 
User-Agent

The User-Agent header field contains information about the UAC
originating the request. The semantics of this header field are
defined in [H14.43].

 From [H14.43, S10.45] Its syntax is defined as following:

User-Agent = "User-Agent" HCOLON server-val *(LWS server-val)
server-val = product / comment
product = token [SLASH product-version]
product-version = token


Thanks,

Bill




[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux