[asterisk-bugs] [JIRA] (ASTERISK-30356) suspect ps_endpints option rewrite_contact not rewriting with source ip.
Michael (JIRA)
noreply at issues.asterisk.org
Thu Dec 15 10:50:51 CST 2022
Michael created ASTERISK-30356:
----------------------------------
Summary: suspect ps_endpints option rewrite_contact not rewriting with source ip.
Key: ASTERISK-30356
URL: https://issues.asterisk.org/jira/browse/ASTERISK-30356
Project: Asterisk
Issue Type: Bug
Security Level: None
Components: pjproject/pjsip, Resources/res_rtp_asterisk
Affects Versions: 20.0.1
Environment: debian 10 amd64
Reporter: Michael
I suspect asterisk and/or pjsip is not rewriting the contact header with source ip address and port when using the rewrite_contact option in ps_endpoints.
I have used this option in the past with success, when address is an internal nat'd 192.168 address. Recently, using soft phone on cellular data network, i have seen ipv6 ip addresses show up in the sip headers while the source address is indeed ipv4.
SIP packets move back and forth but when answering a call, no audio is passed and asterisk console shows this:
WARNING[4801] acl.c: Cannot connect to 2605:b100:349:5cd1:0:4:375a:3e01: Cannot assign requested address
it looks like the outbound connection is trying to go to an ipv6 address instead of the source ipv4 address.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list