I’m running Asterisk 1.8.13 (Debian Wheezy default) and have a strange problem. Clients behind a NAT firewall are connecting fine to my SIP server (internet, has external IP). They can make outgoing calls and receive incoming calls without problems. Only when asterisk itself is the producer of sound (moh, Playback, Background) the client gets only silence.
Client is latest jitsi and configured as follows:
type=friend allowguest=no nat=force_rport,comedia qualify=yes host=dynamic allow=ulaw
except for the “allow=ulaw” I did not fiddle with codecs. The playback and moh itself is working (using phones calling from the outside). I used the default files packed with asterisk for testing.
I hope you can give me a hint what the problem might be.
Output of “core show translations”: https://gist.github.com/anonymous/1e691598e0978c1ec9e4
Output of “core show codecs”: https://gist.github.com/anonymous/e370f80643d483edc93f
Output of "sip show peer ": https://gist.github.com/anonymous/fc7d1580c8be3fbe591d
I really appreciate your help.