moh instead ring not works with dahdi

Discussion in 'General' started by boodu, Nov 8, 2010.

  1. boodu

    Joined:
    Aug 10, 2010
    Messages:
    4
    Likes Received:
    0
    Hello,

    I use Elastix 2.0 with an openvox B400E and DAHDI.
    When I receive a call, I configured a MOH instead ring in the interface of Elastix (with follow-me).
    It works fine in internal (without DAHDI) but when the call comes from isdn (dahdi), caller hears a ring and no moh.
    I use context : from-zaptel in my chan_dahdi.conf and dahdi-channels.conf .

    Log with a call using dahdi (we can see that MOH is started but it's a ring) :
    Code:
     dialparties.agi: EXTENSION_STATE: 0 (NOT_INUSE)
     dialparties.agi: Extension 1011 has ExtensionState: 0
        -- dialparties.agi: Checking CW and CFB status for extension 1011
     dialparties.agi: EXTENSION_STATE: 0 (NOT_INUSE)
     dialparties.agi: Extension 1017 has ExtensionState: 0
        -- dialparties.agi: Checking CW and CFB status for extension 1017
     dialparties.agi: EXTENSION_STATE: 0 (NOT_INUSE)
     dialparties.agi: Extension 1019 has ExtensionState: 0
        -- dialparties.agi: Checking CW and CFB status for extension 1019
        -- dialparties.agi: Filtered ARG3: 1011-1017-1019
        -- <DAHDI/10-1>AGI Script dialparties.agi completed, returning 0
        -- Executing [s@macro-dial:20] NoOp("DAHDI/10-1", "Returned from dialparties with hunt groups to dial ") in new stack
        -- Executing [s@macro-dial:21] Set("DAHDI/10-1", "HuntLoop=0") in new stack
        -- Executing [s@macro-dial:22] GotoIf("DAHDI/10-1", "1?a30") in new stack
        -- Goto (macro-dial,s,26)
        -- Executing [s@macro-dial:26] Set("DAHDI/10-1", "HuntMember=HuntMember0") in new stack
        -- Executing [s@macro-dial:27] GotoIf("DAHDI/10-1", "1?a32:a35") in new stack
        -- Goto (macro-dial,s,28)
        -- Executing [s@macro-dial:28] Set("DAHDI/10-1", "CT_EXTEN=1011") in new stack
        -- Executing [s@macro-dial:29] Set("DAHDI/10-1", "DB(CALLTRACE/1011)=XXXXXXXX") in new stack
        -- Executing [s@macro-dial:30] Goto("DAHDI/10-1", "s,a42") in new stack
        -- Goto (macro-dial,s,38)
        -- Executing [s@macro-dial:38] Dial("DAHDI/10-1", "SIP/1011,8,m(moh-music)tM(auto-blkvm)") in new stack
      == Using SIP RTP TOS bits 184
      == Using SIP RTP CoS mark 5
      == Extension Changed 1011[ext-local] new state Ringing for Notify User 1017 
        -- Called 1011
        -- Started music on hold, class 'moh-music', on DAHDI/10-1
        -- SIP/1011-000000ab is ringing
        -- SIP/1011-000000ab is ringing
        -- SIP/1011-000000ab is ringing
        -- SIP/1011-000000ab is ringing
        -- SIP/1011-000000ab is ringing
        -- SIP/1011-000000ab is ringing
        -- Nobody picked up in 8000 ms
        -- Stopped music on hold on DAHDI/10-1
    Where is the problem?

    Thanks.
     
  2. boodu

    Joined:
    Aug 10, 2010
    Messages:
    4
    Likes Received:
    0
    I can't resolve my problem.
    Nobody has any idea ?
     
  3. andyshawn

    Joined:
    Apr 3, 2009
    Messages:
    113
    Likes Received:
    0
    Did you upload the moh file or did it come with the system? It might be a codec problem or maybe the system can't read the file.
     
  4. boodu

    Joined:
    Aug 10, 2010
    Messages:
    4
    Likes Received:
    0
    Yes I have put a MOH file mp3 file (not with the interface). MOH appears in the GUI and works in a custom context.
     

Share This Page