Music on Hold - ich dreh durch :)

RcRaCk2k

Mitglied
Mitglied seit
4 Aug 2005
Beiträge
230
Punkte für Reaktionen
0
Punkte
16
Servus Leute!

Ich hab folgendes Problem: Ich will eine bestimmte MOH-Klasse für bestimmte Anrufe setzen, aber Asterisk nimmt immer die DEFAULT-Klasse!

Er sagt zwar SetMusicOnHold("SIP/1159800011-08166c28", "moh_hold") aber hinterher macht er Started music on hold, class 'default', on channel.

Wo liegt der Fehler?

Danke schon einmal.

Code:
    -- Executing NoOp("SIP/1159800011-08166c28", "Call is for Domain seminar-shop.com - Derminate SIP-Message its way") in new stack
    -- Executing GotoIf("SIP/1159800011-08166c28", "1?10:100") in new stack
    -- Goto (sip.gw1-sbg.seminar-shop.com,12,10)
    -- Executing NoOp("SIP/1159800011-08166c28", "Call is from internal user [11]....") in new stack
    -- Executing GotoIf("SIP/1159800011-08166c28", "1?15:20") in new stack
    -- Goto (sip.gw1-sbg.seminar-shop.com,12,15)
    -- Executing NoOp("SIP/1159800011-08166c28", "Call is for internal user [12]....") in new stack
    -- Executing Goto("SIP/1159800011-08166c28", "sip.gw1-sbg.seminar-shop.com-intphone|12|1") in new stack
    -- Goto (sip.gw1-sbg.seminar-shop.com-intphone,12,1)
    -- Executing SetMusicOnHold("SIP/1159800011-08166c28", "moh_hold") in new stack
    -- Executing Dial("SIP/1159800011-08166c28", "SIP/1159800012|60|r") in new stack
    -- Called 1159800012
    -- SIP/1159800012-08159120 is ringing
    -- SIP/1159800012-08159120 answered SIP/1159800011-08166c28
    -- Attempting native bridge of SIP/1159800011-08166c28 and SIP/1159800012-08159120
    -- Started music on hold, class 'default', on channel 'SIP/1159800012-08159120'
    -- Stopped music on hold on SIP/1159800012-08159120
extensions.conf
Code:
[sip.gw1-sbg.seminar-shop.com-intphone]
exten => _10,1,SetMusicOnHold(moh_hold)
exten => _10,n,Dial(SIP/11598000${EXTEN},60,r)

exten => _11,1,SetMusicOnHold(moh_hold)
exten => _11,n,Dial(SIP/11598000${EXTEN},60,r)

exten => _12,1,SetMusicOnHold(moh_hold)
exten => _12,n,Dial(SIP/11598000${EXTEN},60,r)

exten => _13,1,SetMusicOnHold(moh_hold)
exten => _13,n,Dial(SIP/11598000${EXTEN},60,r)

exten => _51,1,SetMusicOnHold(moh_hold)
exten => _51,n,Dial(SIP/11598000${EXTEN},60,r)
musiconhold.conf
Code:
[moh_hold]
mode=files
directory=/var/lib/asterisk/moh/hold
 

Zurzeit aktive Besucher

3CX PBX - GRATIS
Linux / Win / Cloud

Statistik des Forums

Themen
232,831
Beiträge
2,027,214
Mitglieder
350,920
Neuestes Mitglied
askmeforit79