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

2023-08-05 Thread Frank Vanoni
On Wed, 2023-07-19 at 12:42 -0400, Jerry Geis wrote:

> Why might I not be getting audio ?

Make sure the RTP port range is correctly configured and open on your
server's firewall.

The port range is defined in /etc/asterisk/rtp.conf

The same range of UDP ports must be correctly forwarded on your
firewall from the outside to Asterisk.


For example, in rtp.conf:

[general]
;
; RTP start and RTP end configure start and end addresses
;
rtpstart=10002
rtpend=10199




-- 
_
-- 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

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

2023-07-19 Thread Jerry Geis
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)
[Y]
type=friend
defaultname=Y
defaultuser=Y
secret=notshown
dtmfmode=RFC2833
host=dynamic
description=testing.
context=some-context-that-works
rtptimeout=60
rtpholdtimeout=60
rtpkeepalive=60
callerid=YY
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
-- 
_
-- 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