[asterisk-bugs] [JIRA] (ASTERISK-29683) Recalcitrant softphone sends absurd, wrong UDP port in Via: header (REGISTER)
Sean Bright (JIRA)
noreply at issues.asterisk.org
Fri Oct 8 12:09:49 CDT 2021
[ https://issues.asterisk.org/jira/browse/ASTERISK-29683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Bright updated ASTERISK-29683:
-----------------------------------
Description:
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.)
{noformat}
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
{noformat}
was:
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
> 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.)
> {noformat}
> 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
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list