<div dir="ltr"><div><div><div><div><div><div><div><div>Hi,<br><br></div>I have a PJSIP account configured as below. I am testing with the Echo Test application on Asterisk 13 and using CSipSimple.<br><br></div>I can create a call with TLS and SRTP, however for some reason only 1 in every 5 calls has audio.<br><br></div>When I connect over WiFi, I have audio every single time. When I connect over 3G/4G I only get audio every now and then.<br><br></div>Sometimes
 pjsip shows: Probation passed - setting RTP source address to [public 
ip:port] and I get audio when using a mobile network.<br><br>Most of the
 time though asterisk shows it's playing the demo echotest file, but 
there doesn't appear to be any RTP and I hear no audio.<br><br></div>I'm using TLS and SRTP (SDES) Mandatory. I've tried various codecs too. I've tried STUN and ICE but with little luck. <br><br></div><div>Ideas would be greatly appreciated!<br><br></div><div>Thanks!<br></div><div><br></div>[someuser]<br><div>type=endpoint<br>context=some_context<br>disallow=all<br>allow=speex<br>allow=gsm<br>allow=alaw<br>allow=ulaw<br>allow=speex16<br>allow=speex32<br>allow=g722<br>auth=someuser<br>aors=someuser<br>direct_media=no<br>media_encryption=sdes<br>media_encryption_optimistic=yes<br>rtp_symmetric=yes<br>force_rport=yes<br>rewrite_contact=yes<br>ice_support=yes   <br><br></div><div>[someuser]<br></div>type=auth<br>auth_type=userpass<br>password=[redacted]<br>username=someuser<br><br>[someuser]<br>type=aor<br>remove_existing=yes<br>max_contacts=1<br><br></div>Thanks <br><br></div>C<br></div>