[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 04:50:23 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 04:50 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'
====================================================================== 

---------------------------------------------------------------------- 
 (0091948) decryptus_proformatique (reporter) - 2008-09-01 04:50
 http://bugs.digium.com/view.php?id=13336#c91948 
---------------------------------------------------------------------- 
I am able to reproduce this with SVN trunk r140491.

I created an IAX peer between Asterisk 1.2 and Asterisk 1.6.
I registered an IAX softphone on the Asterisk 1.6 (IAX2/101).
When I call the softphone and the softphone put the IAX peer on hold, I
have an error.

Here is the output from the CLI:

*CLI> core set verbose 5
Verbosity was 0 and is now 5
*CLI> 
    -- Accepting AUTHENTICATED call from 192.168.0.253:
       > requested format = alaw,
       > requested prefs = (alaw),
       > actual format = alaw,
       > host prefs = (alaw),
       > priority = mine
    -- Executing [101 at from-iax2:1] Dial("IAX2/trunk-5572", "IAX2/101") in
new stack
[Sep  1 11:35:03] DEBUG[8170]: chan_iax2.c:3420 create_addr: prepending 8
to prefs
    -- Called 101
    -- Call accepted by 192.168.0.118 (format alaw)
    -- Format for call is alaw
    -- IAX2/101-1549 is ringing
    -- IAX2/101-1549 answered IAX2/trunk-5572
    -- Channel 'IAX2/101-1549' ready to transfer
[Sep  1 11:35:10] DEBUG[8170]: res_musiconhold.c:739 get_mohbyname: Music
on Hold class 'exa' not found in memory
    -- Started music on hold, class 'default', on IAX2/trunk-5572


I attached my configuration in the file: config.sample.

Thx ;) 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-09-01 04:50 decryptus_proformatiqueNote Added: 0091948                     
    
======================================================================




More information about the asterisk-bugs mailing list