After more debbuging, I saw this difference:

With MusicOnHold extension:
    -- Started music on hold, class 'default', on SIP/100-8b75
Jun 6 13:53:24 NOTICE[29117]: res_musiconhold.c:195 ast_moh_files_next: SIP/100-8b75 Opened file 0 '/var/lib/asterisk/ mohmp3/nadesico2'

Normal call on SIP phone, Pressing Hold button:

-- Started music on hold, class 'default', on SIP/100-7fac

As you can see, the second line does not appear on the non working music.

Any idea?

Regards

Kuon

On Jun 6, 2005, at 1:25 AM, 時期 精霊 wrote:

Hello, I have a little problem with MOH,

I use the latest cvs and native asterisk mp3 for moh.

When I call 6601 (cf exten => 6601,1,WaitMusicOnHold(30) ), I can hear the music (call 1).

But when I call my cisco 7960 phone, and press hold on the cisco, I don't have any music. (call 2)

Any idea?

Regards

Kuon

extension.conf
...
exten => 100,1,Dial(SIP/100)
exten => 102,1,Dial(SIP/102)
exten => 103,1,Dial(SIP/103)
...

Call 1

-- Executing Dial("SIP/103-bdf9", "SIP/100") in new stack
    -- Called 100
    -- SIP/100-902b is ringing
    -- SIP/100-902b answered SIP/103-bdf9
    -- Attempting native bridge of SIP/103-bdf9 and SIP/100-902b
    -- Started music on hold, class 'default', on SIP/103-bdf9
    -- Stopped music on hold on SIP/103-bdf9
== Spawn extension (inbound, 100, 1) exited non-zero on 'SIP/103- bdf9'

Call 2
    -- Executing WaitMusicOnHold("SIP/103-37f9", "30") in new stack
    -- Started music on hold, class 'default', on SIP/103-37f9
Jun 6 01:14:11 NOTICE[28140]: res_musiconhold.c:195 ast_moh_files_next: SIP/103-37f9 Opened file 0 '/var/lib/asterisk/ mohmp3/nadesico2'
    -- Stopped music on hold on SIP/103-37f9
== Spawn extension (inbound, 6601, 1) exited non-zero on 'SIP/ 103-37f9'
    -- Saved useragent "CSCO/7" for peer 100

_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to