[Asterisk-Users] Music oh hold

Joseph syscon at interbaun.com
Wed Jun 29 11:08:33 MST 2005


On Wed, 2005-06-29 at 19:35 +0200, Giordano Grandis wrote:
> Sorry, i also tried this:
>  
> exten => 6000,1,Answer
> exten => 6000,2,MusicOnHold(default)
> 
> and i got this result:
>  
> *CLI>     -- Executing Answer("SIP/2391-8cdd", "") in new stack
>     -- Executing MusicOnHold("SIP/2391-8cdd", "default") in new stack
> Jun 29 19:33:47 WARNING[1616]: res_musiconhold.c:354 moh0_exec: Unable
> to start music on hold (class 'default') on channel SIP/2391-8cdd
>   == Spawn extension (local, 6000, 2) exited non-zero on
> 'SIP/2391-8cdd'

You put "MusicOnHold(default)" in exten 6000 and you are dialing 2391.
Why don't you put "MusicOnHold(default)" in exten 2391 as well.

-- 
#Joseph



More information about the asterisk-users mailing list