[HELP] MOH problem "Request to schedule in the past?!?!"

Hello,

I aim at playing a live radio feed from server1.chilltrax.com:9000/listen.pls as Music On Hold

Here is an extract from musiconhold.conf

[manual]
mode=custom
; Note that with mode=custom, a directory is not required, such as when reading
; from a stream.
directory=/var/lib/asterisk/mohmp3/stream
application=/usr/bin/mpg123 -q -r 8000 -f 8192 -b 2048 --mono -s http://server1.chilltrax.com:9000/listen.pls

The queue seems to call it well:

    -- Started music on hold, class 'manual', on channel 'SIP/0001-00000081'

However, in the console, it renders errors as long as the call is not bridged:

 -- Executing [11@extensions:5] Queue("SIP/0001-00000085", "sales_FR,,,queue-plugmystore-sales-en") in new stack
    -- Started music on hold, class 'manual', on channel 'SIP/0001-00000085'
  == Using SIP RTP CoS mark 5
[2014-09-15 12:04:03] NOTICE[6653]: res_musiconhold.c:675 monmp3thread: Request to schedule in the past?!?!
[2014-09-15 12:04:03] NOTICE[6653]: res_musiconhold.c:675 monmp3thread: Request to schedule in the past?!?!
[2014-09-15 12:04:03] NOTICE[6653]: res_musiconhold.c:675 monmp3thread: Request to schedule in the past?!?!
    -- SIP/0005-00000086 is ringing
[2014-09-15 12:04:04] NOTICE[6653]: res_musiconhold.c:675 monmp3thread: Request to schedule in the past?!?!
[2014-09-15 12:04:04] NOTICE[6653]: res_musiconhold.c:675 monmp3thread: Request to schedule in the past?!?!
[2014-09-15 12:04:04] NOTICE[6653]: res_musiconhold.c:675 monmp3thread: Request to schedule in the past?!?!
[2014-09-15 12:04:05] NOTICE[6653]: res_musiconhold.c:675 monmp3thread: Request to schedule in the past?!?!
[2014-09-15 12:04:05] NOTICE[6653]: res_musiconhold.c:675 monmp3thread: Request to schedule in the past?!?!
[2014-09-15 12:04:05] NOTICE[6653]: res_musiconhold.c:675 monmp3thread: Request to schedule in the past?!?!
[2014-09-15 12:04:06] NOTICE[6653]: res_musiconhold.c:675 monmp3thread: Request to schedule in the past?!?!
[2014-09-15 12:04:06] NOTICE[6653]: res_musiconhold.c:675 monmp3thread: Request to schedule in the past?!?!
[2014-09-15 12:04:06] NOTICE[6653]: res_musiconhold.c:675 monmp3thread: Request to schedule in the past?!?!
[2014-09-15 12:04:07] NOTICE[6653]: res_musiconhold.c:675 monmp3thread: Request to schedule in the past?!?!
[2014-09-15 12:04:07] NOTICE[6653]: res_musiconhold.c:675 monmp3thread: Request to schedule in the past?!?!
[2014-09-15 12:04:07] NOTICE[6653]: res_musiconhold.c:675 monmp3thread: Request to schedule in the past?!?!
[2014-09-15 12:04:07] NOTICE[6653]: res_musiconhold.c:675 monmp3thread: Request to schedule in the past?!?!
[2014-09-15 12:04:08] NOTICE[6653]: res_musiconhold.c:675 monmp3thread: Request to schedule in the past?!?!
[2014-09-15 12:04:08] NOTICE[6653]: res_musiconhold.c:675 monmp3thread: Request to schedule in the past?!?!
[2014-09-15 12:04:08] NOTICE[6653]: res_musiconhold.c:675 monmp3thread: Request to schedule in the past?!?!
[2014-09-15 12:04:09] NOTICE[6653]: res_musiconhold.c:675 monmp3thread: Request to schedule in the past?!?!
[2014-09-15 12:04:09] NOTICE[6653]: res_musiconhold.c:675 monmp3thread: Request to schedule in the past?!?!
    -- SIP/0005-00000086 answered SIP/0001-00000085
    -- <SIP/0005-00000086> Playing 'queue-plugmystore-sales-en.gsm' (language 'en')
[2014-09-15 12:04:09] NOTICE[6653]: res_musiconhold.c:675 monmp3thread: Request to schedule in the past?!?!
[2014-09-15 12:04:10] NOTICE[6653]: res_musiconhold.c:675 monmp3thread: Request to schedule in the past?!?!
[2014-09-15 12:04:10] NOTICE[6653]: res_musiconhold.c:675 monmp3thread: Request to schedule in the past?!?!
[2014-09-15 12:04:10] NOTICE[6653]: res_musiconhold.c:675 monmp3thread: Request to schedule in the past?!?!
[2014-09-15 12:04:11] NOTICE[6653]: res_musiconhold.c:675 monmp3thread: Request to schedule in the past?!?!
[2014-09-15 12:04:11] NOTICE[6653]: res_musiconhold.c:675 monmp3thread: Request to schedule in the past?!?!
[2014-09-15 12:04:11] NOTICE[6653]: res_musiconhold.c:675 monmp3thread: Request to schedule in the past?!?!
[2014-09-15 12:04:11] NOTICE[6653]: res_musiconhold.c:675 monmp3thread: Request to schedule in the past?!?!
[2014-09-15 12:04:12] NOTICE[6653]: res_musiconhold.c:675 monmp3thread: Request to schedule in the past?!?!
[2014-09-15 12:04:12] NOTICE[6653]: res_musiconhold.c:675 monmp3thread: Request to schedule in the past?!?!
[2014-09-15 12:04:12] NOTICE[6653]: res_musiconhold.c:675 monmp3thread: Request to schedule in the past?!?!
[2014-09-15 12:04:13] NOTICE[6653]: res_musiconhold.c:675 monmp3thread: Request to schedule in the past?!?!
    -- Stopped music on hold on SIP/0001-00000085
    -- Locally bridging SIP/0001-00000085 and SIP/0005-00000086
[2014-09-15 12:04:13] NOTICE[6653]: res_musiconhold.c:675 monmp3thread: Request to schedule in the past?!?!
  == Spawn extension (extensions, 11, 5) exited non-zero on 'SIP/0001-00000085'

mpg123 is installed on the ubuntu distrib.

Any idea?

In case it can help, the configuration was achieved using those sources

linuxquestions.org/questions … 23-242242/

This wasn’t tried at my end as it seems a little too advanced for me:

linux.die.net/man/1/mpc

Anybody willing to copy / paste his MOH implementation (asterisk 1.8) for playing live feed?

That would be a mine of info for trying some debugging by myself C:

I desactivated the MOH class trying to read a feed from the internet and the problem disappeared…

I am however interested how to read a radio feed (not from shoutcast) as MOH.

Regards,