[asterisk-users] MusicOnHold() stops after exactly 60 seconds

Stephen Bosch posting at vodacomm.ca
Mon May 21 03:05:42 MST 2007


Stephen Bosch wrote:
> Hi, folks:
> 
> Is there any reason why MusicOnHold() would die after 60 seconds? That
> looks suspiciously like a default timeout. How can I make it indefinite?

Moral of the story -- don't work at 4 am.

The call terminates after 60 seconds because I never answered it. Changing:

exten => 1234,1,MusicOnHold()

to

exten => 1234,1,Answer()
exten => 1234,2,MusicOnHold()

fixed the problem.

-Stephen-



More information about the asterisk-users mailing list