Bug#856332: asterisk: useragent string contains special characters (~)

Tzafrir Cohen tzafrir at cohens.org.il
Tue Feb 28 11:28:49 UTC 2017


On Mon, Feb 27, 2017 at 05:58:19PM -0500, Henning Follmann wrote:
> Package: asterisk
> Version: 1:11.13.1~dfsg-2+deb8u2
> Severity: minor
> 
> During sip registration with an upstream provider some of the added
> characters (~) caused some issues.
> Please revert useragent string back to default "Asterisk PBX" or provide
> the sample config entry in /etc/asterisk/sip.conf:
> useragent="Asterisk PBX"

The user agent in the Debian package does not deviate from Upstream.
However, the version string in the Debian package includes a '~'
character that is not included in Upstream.

sip.conf already includes an example line (remmed out):

;useragent=Asterisk PBX         ; Allows you to change the user agent string
                                ; The default user agent string also contains the Asterisk
                                ; version. If you don't want to expose this, change the
                                ; useragent string.

Likewise in pjsip.conf (for Asterisk >= 13):

;user_agent=Asterisk PBX SVN-branch-12-r404375  ; Value used in User Agent
                                                ; header for SIP requests and
                                                ; Server header for SIP
                                                ; responses (default: "Asterisk
                                                ; PBX SVN-branch-12-r404375")

I see indeed that this example configuration file needs fixing. The
default value uses the current version, of course.

So I don't see anything that needs fixing here. Apart from the minor
issue with the text of the description of the pjsip.conf option
"user_agent". But that is for upstream.

-- 
Tzafrir Cohen         | tzafrir at jabber.org | VIM is
http://tzafrir.org.il |                    | a Mutt's
tzafrir at cohens.org.il |                    |  best
tzafrir at debian.org    |                    | friend



More information about the Pkg-voip-maintainers mailing list