[asterisk-users] audio from soft phone actual phone from cloud

Jerry Geis jerry.geis at gmail.com
Wed Jul 19 11:42:10 CDT 2023


I have a cloud server...
I have a phone in Chicago
I have a phone in Indiana.
Both are registered to the cloud server - using chan_sip and Asterisk
18.18.0

I can send a pre-recorded message to Chicago it auto answers and hear audio.
I can do the same to the phone in indiana.

however - when i call from Indiana to Chicago - the phone rings - but I do
not get any audio?

I have in sip.conf
externip=real_ip_here
localnet=172.31.17.0/255.255.255.0
localnet=192.168.11.0/255.255.255.0
localnet=192.168.1.0/255.255.252.0
localnet=10.0.0.0/255.255.255.0

One phone config:  (both are the same)
[YYYYY]
type=friend
defaultname=YYYYY
defaultuser=YYYYY
secret=notshown
dtmfmode=RFC2833
host=dynamic
description=testing.
context=some-context-that-works
rtptimeout=60
rtpholdtimeout=60
rtpkeepalive=60
callerid=YYYYYY
qualify=yes
insecure=
canreinvite=yes
timezone=0
nat=force_rport,comedia
disallow=all
allow=ulaw
allow=alaw
allow=gsm

Which accounts for all locations.

Why might I not be getting audio ?

Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20230719/870206ca/attachment.html>


More information about the asterisk-users mailing list