[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
Tue Sep 2 10:58:12 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-02 10:58 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'
====================================================================== 

---------------------------------------------------------------------- 
 (0091973) blitzrage (administrator) - 2008-09-02 10:58
 http://bugs.digium.com/view.php?id=13336#c91973 
---------------------------------------------------------------------- 
Sorry, I tried with the same settings as you using the same revision you
checked out, and I still can't reproduce the issue.

The only thing I can see different now is that you're using i686 and I'm
using x86_64...

Here is my output:

*CLI>     -- Accepting AUTHENTICATED call from 192.168.128.104:
       > requested format = gsm,
       > requested prefs = (),
       > actual format = alaw,
       > host prefs = (alaw),
       > priority = mine
    -- Executing [103 at 13336:1] Dial("IAX2/101-14221", "SIP/testing_sip")
in new stack
  == Using SIP RTP CoS mark 5
    -- Called testing_sip
    -- SIP/testing_sip-1b9e0ab8 is ringing
    -- SIP/testing_sip-1b9e0ab8 answered IAX2/101-14221
    -- Started music on hold, class 'example', on IAX2/101-14221
  == Spawn extension (13336, 103, 1) exited non-zero on 'IAX2/101-14221'
    -- Stopped music on hold on IAX2/101-14221
    -- Hungup 'IAX2/101-14221'

*CLI> core show version
Asterisk SVN-trunk-r140491 built by root @ localhost.localdomain on a
x86_64 running Linux on 2008-09-02 09:28:10 UTC 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-09-02 10:58 blitzrage      Note Added: 0091973                          
======================================================================




More information about the asterisk-bugs mailing list