[asterisk-users] Trying asterisk on AWS

Joshua C. Colp jcolp at sangoma.com
Thu Oct 6 08:27:26 CDT 2022


On Thu, Oct 6, 2022 at 10:24 AM Jerry Geis <jerry.geis at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20221006/ec3a2b72/attachment.html>


More information about the asterisk-users mailing list