I upgraded our Asterisk 13 LTS to Asterisk 16 Certified 16.8 yesterday and
converted form SIP to PJSIP using the python script as a start and then
mofiying from there.  I ran into an issue when testing that incoming calls
from MagicJack would go silent after about 10 seconds.  This happened while in
the automated attendant area.  This problem did not occur with Asterisk 13
LTS.  I reverted PJSIP back to SIP and the problem still occurred, so that was
not it.

We connect to Flowroute for our SIP provider.  I added "force_avp = yes" to
the Flowroute endpoint section in the pjsip.conf and the problem appeared to
be solved after I tested it a dozen times.  However, this morning this issue
has reappeared.  Any thoughts on what might be causing this?

My Flowroute pjsip.conf config:
[transport-udp]
type = transport
protocol = udp
bind = 0.0.0.0
tos = cs3

[reg_us-west-wa.sip.flowroute.com]
type = registration
retry_interval = 20
expiration = 120
transport = transport-udp
outbound_auth = auth_reg_us-west-wa.sip.flowroute.com
client_uri = sip:12345...@us-west-wa.sip.flowroute.com
server_uri = sip:us-west-wa.sip.flowroute.com

[auth_reg_us-west-wa.sip.flowroute.com]
type = auth
password = XXZZXXZZXXZZ
username = 12345678

[reg_us-west-or.sip.flowroute.com]
type = registration
retry_interval = 20
expiration = 120
transport = transport-udp
outbound_auth = auth_reg_us-west-or.sip.flowroute.com
client_uri = sip:12345...@us-west-or.sip.flowroute.com
server_uri = sip:us-west-or.sip.flowroute.com

[auth_reg_us-west-or.sip.flowroute.com]
type = auth
password = XXZZXXZZXXZZ
username = 12345678

[reg_us-east-nj.sip.flowroute.com]
type = registration
retry_interval = 20
expiration = 120
transport = transport-udp
outbound_auth = auth_reg_us-east-nj.sip.flowroute.com
client_uri = sip:12345...@us-east-nj.sip.flowroute.com
server_uri = sip:us-east-nj.sip.flowroute.com

[auth_reg_us-east-nj.sip.flowroute.com]
type = auth
password = XXZZXXZZXXZZ
username = 12345678

[reg_us-east-va.sip.flowroute.com]
type = registration
retry_interval = 20
expiration = 120
transport = transport-udp
outbound_auth = auth_reg_us-east-va.sip.flowroute.com
client_uri = sip:12345...@us-east-va.sip.flowroute.com
server_uri = sip:us-east-va.sip.flowroute.com

[auth_reg_us-east-va.sip.flowroute.com]
type = auth
password = XXZZXXZZXXZZ
username = 12345678

[flowroute]
type = aor
contact = sip:12345...@us-west-wa.sip.flowroute.com

[flowroute]
type = identify
endpoint = flowroute
match = 147.75.60.160/28, 34.210.91.112/28, 34.226.36.32/28, 147.75.65.192/28

[flowroute]
type = auth
username = 12345678
password = XXZZXXZZXXZZ

[flowroute]
type = endpoint
context = from-trunk
dtmf_mode = rfc4733
allow = !all,ulaw
direct_media = no
from_domain = us-west-wa.sip.flowroute.com
tos_audio = ef
tos_video = af41
; Note: "force_avp = yes" fixes issues with calls coming from MagicJack with
no audio after a few seconds.
force_avp = yes
auth = flowroute
outbound_auth = flowroute
aors = flowroute
t38_udptl = yes
t38_udptl_ec = fec

[anonymous]
type=endpoint
context = anonymous
allow = !all,ulaw
-- 
_____________________________________________________________________
-- 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