[asterisk-bugs] [JIRA] (ASTERISK-30356) suspect ps_endpints option rewrite_contact not rewriting with source ip.

Joshua C. Colp (JIRA) noreply at issues.asterisk.org
Thu Dec 15 10:54:51 CST 2022


    [ https://issues.asterisk.org/jira/browse/ASTERISK-30356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=260928#comment-260928 ] 

Joshua C. Colp commented on ASTERISK-30356:
-------------------------------------------

The rewrite_contact option has no affect on audio. The rtp_symmetric option sends audio to where it is received from. There is also no "outbound connection". I'd suggest seeking help on the community forum first[1] with logs and information, after which if an issue is determined then this can be reopened.

[1] https://community.asterisk.org/

> 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