[asterisk-bugs] [JIRA] (ASTERISK-25453) user_agent not set in Server header

Ross Beer (JIRA) noreply at issues.asterisk.org
Thu Oct 8 09:21:33 CDT 2015


Ross Beer created ASTERISK-25453:
------------------------------------

             Summary: user_agent not set in Server header
                 Key: ASTERISK-25453
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25453
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Channels/chan_pjsip
    Affects Versions: 13.6.0
            Reporter: Ross Beer
            Severity: Minor


user_agent in pjsip.conf is not propagating to the 'server' header in responses.

[global]
user_agent=Custom User Agent

SIP/2.0 200 OK
Via: SIP/2.0/UDP <IPADDRESS>:5060;rport=5060;received=<IPADDRESS>;branch=z9hG4bK1ed3e105
Call-ID: 3a30dacd2da58a420e184dda0d8b223f@<IPADDRESS>:5060
From: "Withheld" <sip:Withheld@<IPADDRESS>>;tag=as58d74c06
To: <sip:37.157.54.198>;tag=z9hG4bK1ed3e105
CSeq: 102 OPTIONS
Accept: application/sdp, application/dialog-info+xml, application/pidf+xml, application/dialog-info+xml, application/xpidf+xml, application/cpim-pidf+xml, application/simple-message-summary, application/pidf+xml, application/simple-message-summary, message/sipfrag;version=2.0
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REFER, MESSAGE, REGISTER
Supported: 100rel, timer, replaces, norefersub
Accept-Encoding: text/plain
Accept-Language: en
Server: Asterisk PBX 13.6.0-rc3
Content-Length:  0

The value is correctly being used in user-agent headers.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list