[asterisk-bugs] [Asterisk 0013336]: [patch] fix mohinterpret and mohsuggest settings from general section in chan_iax2.c

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Sep 1 12:31:05 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13336 
====================================================================== 
Reported By:                decryptus_proformatique
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13336
Category:                   Channels/chan_iax2
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 138473 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-08-18 11:25 CDT
Last Modified:              2008-09-01 12:31 CDT
====================================================================== 
Summary:                    [patch] fix mohinterpret and mohsuggest settings
from general section in chan_iax2.c
Description: 
iax.conf:
[general]
mohinterpret = example

When the moh activated, we can see in the CLI:
WARNING[13803]: res_musiconhold.c:660 get_mohbyname: Music on Hold class
'exa' not found
-- Started music on hold, class 'default', on channel
'IAX2/asteriskisdn-10727'
====================================================================== 

---------------------------------------------------------------------- 
 (0091954) decryptus_proformatique (reporter) - 2008-09-01 12:31
 http://bugs.digium.com/view.php?id=13336#c91954 
---------------------------------------------------------------------- 
I reproduced the same error with your test.

*CLI> core set verbose 5
Verbosity was 0 and is now 5
    -- Accepting AUTHENTICATED call from 192.168.0.118:
       > requested format = gsm,
       > requested prefs = (),
       > actual format = alaw,
       > host prefs = (alaw),
       > priority = mine
    -- Executing [100 at from-iax:1] Dial("IAX2/101-4411", "SIP/100") in new
stack
  == Using SIP RTP CoS mark 5
    -- Called 100
    -- SIP/100-0824c8a0 is ringing
    -- SIP/100-0824c8a0 answered IAX2/101-4411
[Sep  1 19:37:21] DEBUG[2655]: res_musiconhold.c:739 get_mohbyname: Music
on Hold class 'exa' not found in memory
    -- Started music on hold, class 'default', on IAX2/101-4411
    -- Stopped music on hold on IAX2/101-4411
  == Spawn extension (from-iax, 100, 2) exited non-zero on
'IAX2/101-4411'
    -- Hungup 'IAX2/101-4411'
*CLI> core show version 
Asterisk SVN-trunk-r140491 built by root @ asterisk on a i686 running
Linux on 2008-08-31 22:07:43 UTC 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-09-01 12:31 decryptus_proformatiqueNote Added: 0091954                     
    
======================================================================




More information about the asterisk-bugs mailing list