[asterisk-users] MOH over IAX2 - NOT working

Joseph syscon780 at gmail.com
Sat Mar 6 11:46:12 CST 2010


I have bragged/connected two asterisk over IAX2 but MOH is not working when I try to dial directly between them?
MOH is working over SIP but not IAX2 ??? (the two asterisks are connected over VPN).

Here is the log:
-- Executing [877 at extensions:1] Dial("IAX2/home_server-1756", "SIP/877|25|m(default)w") in new stack
-- Called 877
-- Started music on hold, class 'default', on IAX2/home_server-1756
-- SIP/877-08237410 is ringing

Above everything looks OK but instead of "default" music I just get a ring tone.

When I dial IN from PSTN line I can here the music when dialing the same number:

-- Executing [877 at office-closed:1] Dial("SIP/pstn-4444-08237410", "SIP/877|25|m(default)w") in new stack
-- Called 877
-- Started music on hold, class 'default', on SIP/pstn-4444-08237410
-- SIP/877-08235260 is ringing

Do I need to enable anything in iax.conf?

-- 
Joseph




More information about the asterisk-users mailing list