[asterisk-bugs] [JIRA] (ASTERISK-29683) Recalcitrant softphone sends absurd, wrong UDP port in Via: header (REGISTER)

Juan Carlos Castro y Castro (JIRA) noreply at issues.asterisk.org
Fri Oct 8 12:07:49 CDT 2021


Juan Carlos Castro y Castro created ASTERISK-29683:
------------------------------------------------------

             Summary: Recalcitrant softphone sends absurd, wrong UDP port in Via: header (REGISTER)
                 Key: ASTERISK-29683
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29683
             Project: Asterisk
          Issue Type: Improvement
      Security Level: None
          Components: Channels/chan_pjsip
    Affects Versions: 18.7.0
         Environment: 3CXPhone 6.0.26523.0 trying to login on Asterisk from 18 GIT branch
            Reporter: Juan Carlos Castro y Castro


I get this WTH SIP message when the softphone tries to register. It would be nice if chan_pjsip had an option to ignore the bad value in the Via: header and just take into account the Contact: header. (Which will be rewritten anyway due to NAT.)

REGISTER sip:hashdex.central.viacall.com.br:5060 SIP/2.0
Via: SIP/2.0/UDP 100.82.18.145:602888;branch=z9hG4bK-d8754z-70043e7873644611-1---d8754z-;rport
Max-Forwards: 70
Contact: <sip:4122 at 100.82.18.145:60288;rinstance=9032ceaee666973a>
To: "Carolina"<sip:4122 at hashdex.central.viacall.com.br:5060>
From: "Carolina"<sip:4122 at hashdex.central.viacall.com.br:5060>;tag=3a295a45
Call-ID: ZmQzNDkwODlmNjZlOGYzMTYzZWY1ZTMyNjAzMTdmZDc.
CSeq: 11 REGISTER
Expires: 120
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO, MESSAGE
Supported: replaces
User-Agent: 3CXPhone 6.0.26523.0
Content-Length: 0



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



More information about the asterisk-bugs mailing list