Have some trouble with moh and calls from PSTN. When I call from my Windows computer (X-lite), it plays a message with command Playback and playing moh just fine. But when I try it from my cellphone (via my operator through SIP provider), it plays the Playback-message but when the moh is supposed to load, it says:
NOTICE channel.c: Dropping incompatible voice frame on SIP/xxxxxxxx of format ulaw since our native format has changed to 0x8 (alaw).
and no music in phone =(
Im guessing based on the message that my asterisk and my SIP provider doesn’t agree on the codec being used. But why does Playback work and not moh?
exten => xxxx,1,Answer
exten => xxxx,n,Dial(SIP/soft1&SIP/soft2,20,m)
musiconhold.conf has default config. The sound files for moh are also default from source.
Version: Asterisk 18.104.22.168 built by root @ … on a amd64 running FreeBSD on 2010-02-20 09:30:13 UTC
I just cant figure this one out