<div dir="ltr"><div><div><div><div><div><div><div><div>I have two accounts on Asterisk 13. One uses chan_sip and the other pjsip.<br><br></div>In my snom 760 the setup for these two accounts is identical.<br><br></div>When I call echo test from the account using chan_sip audio comes through fine.<br><br></div>When I call echo test from the account using pjsip there is no audio. <br><br></div>With rtp set debug on, I can see that audio is being sent to the snom's internal IP 192.168.0.x<br><br></div>I can add a stun server in the config for this account and RTP flows to the Public IP and I get audio.<br><br></div>I was wondering why there is a difference between pjsip and chan_sip so that one works without stun and the other requires it.  Does anybody know why? Maybe my settings are off in pjsip.<br><br></div>Here's how I have my endpoint configured:<br><br></div>[test]<br><div>type=endpoint<br>context=dial_out<br>disallow=all<br>allow=alaw<br>allow=speex<br>allow=speex16<br>allow=speex32<br>allow=gsm<br>allow=ulaw<br>allow=g722<br>auth=test<br>aors=test<br>direct_media=no<br>media_encryption=sdes<br>media_encryption_optimistic=yes<br>rtp_symmetric=yes<br>force_rport=no<br>rewrite_contact=yes  ; necessary if endpoint does not know/register public ip:port<br>ice_support=yes    ;This is specific to clients that support NAT traversal<br>                   ;for media via ICE,STUN,TURN. See the wiki at:<br>                   ;<a href="https://wiki.asterisk.org/wiki/x/D4FHAQ">https://wiki.asterisk.org/wiki/x/D4FHAQ</a><br>                   ;for a deeper explanation of this topic.<br><br>[test]<br>type=auth<br>auth_type=userpass<br>password=redacted<br>username=test<br><br>[test]<br>type=aor<br>remove_existing=yes<br>max_contacts=2<br>qualify_frequency=60<br><br></div><div>Looking forward to your thoughts.<br><br></div><div>Kind Regards,<br><br></div><div>C<br></div></div>