On Thu, Oct 6, 2022 at 10:24 AM Jerry Geis <jerry.g...@gmail.com> wrote:

> >The sample configuration file outlines how things work, and the options for
> >it:
> >https://github.com/asterisk/asterisk/blob/master/configs/samples/sip.conf.sample#L874
> >in general localnet and externip (or externaddr, or externhost)
>
> I added:
>
> externip=xxx
> nat=force_rport,comedia
>
> to the general section of sip.conf
>
> its still sending to the local IP.
>

Look at the actual SIP/SDP signaling to see what is being sent and what IP
addresses are being used. If they're correct, then see if you are receiving
traffic using "rtp set debug on". If you aren't then it's something outside
of Asterisk preventing incoming traffic. Until Asterisk receives traffic it
can't know the IP address+port to send outgoing to, beyond what was given
in the SIP/SDP.

-- 
Joshua C. Colp
Asterisk Project Lead
Sangoma Technologies
Check us out at www.sangoma.com and www.asterisk.org
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to