[Home]

Summary:ASTERISK-10967: Asterisk crashed - App Queue receiving calls
Reporter:Diego (equissoftware)Labels:
Date Opened:2007-12-04 05:49:56.000-0600Date Closed:2011-06-07 14:00:36
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Applications/app_queue
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) queue_trace.txt
Description:I have configured asterisk with static realtime.
I get this trace information

****** ADDITIONAL INFORMATION ******

(gdb) bt
#0  0xb7e5a231 in strcasecmp () from /lib/libc.so.6
#1  0xb7ce0a3f in local_ast_moh_start (chan=0x82496a8, mclass=0xb720f828 "default", interpclass=0x0)
   at res_musiconhold.c:646
#2  0x08083695 in ast_moh_start (chan=0x64, mclass=0x64 <Address 0x64 out of bounds>,
   interpclass=0x88 <Address 0x88 out of bounds>) at channel.c:4614
#3  0xb741818b in queue_exec (chan=0x82496a8, data=0xb720f828) at app_queue.c:3601
#4  0x080c638d in pbx_extension_helper (c=0x82496a8, con=0x64, context=0x8249828 "my-queue", exten=0x8249878 "80",
   priority=7, label=0x0, callerid=0x821e5b0 "562390", action=136482640) at pbx.c:532
ASTERISK-1  0x080c7041 in __ast_pbx_run (c=0x82496a8) at pbx.c:2314
ASTERISK-2  0x080c7fd1 in pbx_thread (data=0x64) at pbx.c:2631
ASTERISK-3  0x080f7e99 in dummy_start (data=0x64) at utils.c:843
ASTERISK-4  0xb7f7f13d in pthread_start_thread () from /lib/libpthread.so.0
ASTERISK-5  0xb7ea81ba in clone () from /lib/libc.so.6




(gdb) bt full
#0  0xb7e5a231 in strcasecmp () from /lib/libc.so.6
No symbol table info available.
#1  0xb7ce0a3f in local_ast_moh_start (chan=0x82496a8, mclass=0xb720f828 "default", interpclass=0x0)
   at res_musiconhold.c:646
       mohclass = (struct mohclass *) 0x88
#2  0x08083695 in ast_moh_start (chan=0x64, mclass=0x64 <Address 0x64 out of bounds>,
   interpclass=0x88 <Address 0x88 out of bounds>) at channel.c:4614
No locals.
#3  0xb741818b in queue_exec (chan=0x82496a8, data=0xb720f828) at app_queue.c:3601
       makeannouncement = 0
       res = 136360144
       ringing = 0
       lu = (struct ast_module_user *) 0x824b590
       user_priority = 0x820b0d0 "1196740700.14"
       max_penalty_str = 0x820b0d0 "1196740700.14"
       prio = 0
       max_penalty = 0
       reason = QUEUE_UNKNOWN
       tries = 0
       noption = 0
       args = {argc = 5, argv = 0xb720f9a8, queuename = 0xb720f7b0 "my-queue", options = 0xb720f7bb "t",
 url = 0xb720f7bd "", announceoverride = 0xb720f7be "", queuetimeoutstr = 0xb720f7bf "300", agi = 0x0}
       qe = {parent = 0x8229de0, moh = "default", '\0' <repeats 72 times>, announce = '\0' <repeats 79 times>,
 context = '\0' <repeats 79 times>, digits = '\0' <repeats 79 times>, valid_digits = 0, pos = 1, prio = 0,
 last_pos_said = 0, last_periodic_announce_time = 1196740706, last_periodic_announce_sound = 0, last_pos = 0, opos = 1,
 handled = 0, max_penalty = 0, start = 1196740706, expire = 1196741006, chan = 0x82496a8, next = 0x0}
#4  0x080c638d in pbx_extension_helper (c=0x82496a8, con=0x64, context=0x8249828 "my-queue", exten=0x8249878 "80",
   priority=7, label=0x0, callerid=0x821e5b0 "562390", action=136482640) at pbx.c:532
       e = (struct ast_exten *) 0x82207a0
       res = 0
       q = {incstack = {0x0 <repeats 128 times>}, stacklen = 0, status = 5, swo = 0x0, data = 0x0,
 foundcontext = 0x8249828 "my-queue"}
       passdata = "my-queue|t|||300", '\0' <repeats 8173 times>
       matching_action = -1222567212
ASTERISK-1  0x080c7041 in __ast_pbx_run (c=0x82496a8) at pbx.c:2314
---Type <return> to continue, or q <return> to quit---
       dst_exten = '\0' <repeats 124 times>, "1Vå·\000\000\000\000\000\000\000\000\2167ø·", '\0' <repeats 12 times>, " jð· jð·D>!·ô\177ø· jð·\f\000\000\000D>!·t2ø·0jð·ôOð·|>!·¥Rå· jð·ô\177ø·À\022\"\bH\201\024\b|>!·\215\001ø·\020\000\000\000\f\000\000\000ðh&\bÈç\031\b\230\232$\b\000\000\000\000!4ø·Ñ \006\b"
       pos = 0
       digit = 0
       found = 1
       res = 0
       error = 0
ASTERISK-2  0x080c7fd1 in pbx_thread (data=0x64) at pbx.c:2631
No locals.
ASTERISK-3  0x080f7e99 in dummy_start (data=0x64) at utils.c:843
       _buffer = {__routine = 0x8067f40 <ast_unregister_thread>, __arg = 0xa0019, __canceltype = -1222557972,
 __prev = 0x0}
       ret = (void *) 0x8249a98
       a = {start_routine = 0x80c7fc0 <pbx_thread>, data = 0x82496a8,
 name = 0x8249a98 "pbx_thread", ' ' <repeats 11 times>, "started at [ 2655] pbx.c ast_pbx_start()"}
ASTERISK-4  0xb7f7f13d in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
ASTERISK-5  0xb7ea81ba in clone () from /lib/libc.so.6
No symbol table info available.



(gdb) thread apply all bt

Thread 29 (process 7281):
#0  0xb7f8523b in read () from /lib/libpthread.so.0
#1  0x00000000 in ?? ()

Thread 28 (process 7469):
#0  0xb7e9f90a in poll () from /lib/libc.so.6
#1  0xb7f7ec60 in __pthread_manager () from /lib/libpthread.so.0
#2  0xb7ea81ba in clone () from /lib/libc.so.6

Thread 27 (process 7471):
#0  0xb7e9f90a in poll () from /lib/libc.so.6
#1  0x0806f26f in listener (unused=0x0) at asterisk.c:980
#2  0x080f7e99 in dummy_start (data=0xffffffff) at utils.c:843
#3  0xb7f7f13d in pthread_start_thread () from /lib/libpthread.so.0
#4  0xb7ea81ba in clone () from /lib/libc.so.6

Thread 26 (process 7542):
#0  0xb7e9f90a in poll () from /lib/libc.so.6
#1  0x080b600f in accept_thread (ignore=0x0) at manager.c:2340
#2  0x080f7e99 in dummy_start (data=0x1388) at utils.c:843
#3  0xb7f7f13d in pthread_start_thread () from /lib/libpthread.so.0
#4  0xb7ea81ba in clone () from /lib/libc.so.6

Thread 25 (process 7557):
#0  0xb7f81fa4 in __pthread_sigsuspend () from /lib/libpthread.so.0
#1  0xb7f81de8 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0
#2  0xb7f7dfbb in pthread_cond_wait@GLIBC_2.0 () from /lib/libpthread.so.0
#3  0x08093828 in do_devstate_changes (data=0x0) at lock.h:732
#4  0x080f7e99 in dummy_start (data=0xb7f87ff4) at utils.c:843
ASTERISK-1  0xb7f7f13d in pthread_start_thread () from /lib/libpthread.so.0
ASTERISK-2  0xb7ea81ba in clone () from /lib/libc.so.6

Thread 24 (process 7592):
#0  0xb7e9f90a in poll () from /lib/libc.so.6
---Type <return> to continue, or q <return> to quit---
#1  0x080bafb5 in get_input (s=0x8183068, output=0xb7d23854 "") at manager.c:2210
#2  0x080b9be5 in do_message (s=0x8183068) at manager.c:2247
#3  0x080b7578 in session_do (data=0x8183068) at manager.c:2272
#4  0x080f7e99 in dummy_start (data=0xffffffff) at utils.c:843
ASTERISK-1  0xb7f7f13d in pthread_start_thread () from /lib/libpthread.so.0
ASTERISK-2  0xb7ea81ba in clone () from /lib/libc.so.6

Thread 23 (process 7610):
#0  0xb7f8523b in read () from /lib/libpthread.so.0
#1  0xb7ce62b4 in ?? () from /usr/lib/asterisk/modules/res_musiconhold.so
#2  0x00000000 in ?? ()

Thread 22 (process 7951):
#0  0xb7ea1a71 in select () from /lib/libc.so.6
#1  0xb7a7796c in ?? () from /usr/lib/asterisk/modules/res_features.so
#2  0x00000000 in ?? ()

Thread 21 (process 8185):
#0  0xb7ea1a71 in select () from /lib/libc.so.6
#1  0xb796d190 in ?? () from /usr/lib/asterisk/modules/chan_oss.so
#2  0x081b7c78 in ?? ()
#3  0xb7964e14 in ?? ()
#4  0x00000000 in ?? ()

Thread 20 (process 8186):
#0  0xb7ea1a71 in select () from /lib/libc.so.6
#1  0xb796d190 in ?? () from /usr/lib/asterisk/modules/chan_oss.so
#2  0x081b8e18 in ?? ()
#3  0xb7927e14 in ?? ()
#4  0x00000000 in ?? ()

Thread 19 (process 8187):
#0  0xb7ea1a71 in select () from /lib/libc.so.6
#1  0xb78eb194 in ?? () from /usr/lib/asterisk/modules/chan_phone.so
#2  0x00000000 in ?? ()

Thread 18 (process 8188):
#0  0xb7e9f90a in poll () from /lib/libc.so.6
#1  0x080a5304 in ast_io_wait (ioc=0x8198f68, howlong=-4) at io.c:266
#2  0xb7862256 in do_monitor (data=0x0) at chan_sip.c:15487
#3  0x080f7e99 in dummy_start (data=0x3e8) at utils.c:843
#4  0xb7f7f13d in pthread_start_thread () from /lib/libpthread.so.0
ASTERISK-1  0xb7ea81ba in clone () from /lib/libc.so.6

Thread 17 (process 8189):
#0  0xb7f85448 in accept () from /lib/libpthread.so.0
#1  0xb77fbe49 in accept_thread (ignore=0x0) at chan_skinny.c:4506
#2  0x080f7e99 in dummy_start (data=0xb7807b88) at utils.c:843
#3  0xb7f7f13d in pthread_start_thread () from /lib/libpthread.so.0
#4  0xb7ea81ba in clone () from /lib/libc.so.6

Thread 16 (process 8190):
#0  0xb7e9f90a in poll () from /lib/libc.so.6
#1  0x080a5304 in ast_io_wait (ioc=0x81be818, howlong=-4) at io.c:266
#2  0xb77f99b4 in do_monitor (data=0x0) at chan_skinny.c:4553
#3  0x080f7e99 in dummy_start (data=0x3e8) at utils.c:843
#4  0xb7f7f13d in pthread_start_thread () from /lib/libpthread.so.0
ASTERISK-1  0xb7ea81ba in clone () from /lib/libc.so.6

Thread 15 (process 8191):
#0  0xb7e9f90a in poll () from /lib/libc.so.6
#1  0xb7749e3f in pri_dchannel (vpri=0xb775fd80) at chan_zap.c:8452
#2  0x080f7e99 in dummy_start (data=0x1adf) at utils.c:843
#3  0xb7f7f13d in pthread_start_thread () from /lib/libpthread.so.0
#4  0xb7ea81ba in clone () from /lib/libc.so.6

Thread 14 (process 8192):
#0  0xb7e9f90a in poll () from /lib/libc.so.6
#1  0xb7749e3f in pri_dchannel (vpri=0xb77609f8) at chan_zap.c:8452
#2  0x080f7e99 in dummy_start (data=0x2709) at utils.c:843
---Type <return> to continue, or q <return> to quit---
#3  0xb7f7f13d in pthread_start_thread () from /lib/libpthread.so.0
#4  0xb7ea81ba in clone () from /lib/libc.so.6

Thread 13 (process 8193):
#0  0xb7e9f90a in poll () from /lib/libc.so.6
#1  0xb7735b8e in do_monitor (data=0x0) at chan_zap.c:6829
#2  0x080f7e99 in dummy_start (data=0x3e8) at utils.c:843
#3  0xb7f7f13d in pthread_start_thread () from /lib/libpthread.so.0
#4  0xb7ea81ba in clone () from /lib/libc.so.6

Thread 12 (process 8194):
#0  0xb7e9f90a in poll () from /lib/libc.so.6
#1  0x080a5304 in ast_io_wait (ioc=0x8222c18, howlong=-4) at io.c:266
#2  0xb75f054f in network_thread (ignore=0x0) at pbx_dundi.c:2145
#3  0x080f7e99 in dummy_start (data=0x3e8) at utils.c:843
#4  0xb7f7f13d in pthread_start_thread () from /lib/libpthread.so.0
ASTERISK-1  0xb7ea81ba in clone () from /lib/libc.so.6

Thread 11 (process 8195):
#0  0xb7e793a6 in nanosleep () from /lib/libc.so.6
#1  0x00000000 in ?? ()

Thread 10 (process 8196):
#0  0xb7e793a6 in nanosleep () from /lib/libc.so.6
#1  0x00000000 in ?? ()

Thread 9 (process 8197):
#0  0xb7f81fa4 in __pthread_sigsuspend () from /lib/libpthread.so.0
#1  0xb7f81de8 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0
#2  0xb7f7dfbb in pthread_cond_wait@GLIBC_2.0 () from /lib/libpthread.so.0
#3  0xb74934cf in sla_thread (data=0x0) at lock.h:732
#4  0x080f7e99 in dummy_start (data=0xb7f87ff4) at utils.c:843
ASTERISK-1  0xb7f7f13d in pthread_start_thread () from /lib/libpthread.so.0
ASTERISK-2  0xb7ea81ba in clone () from /lib/libc.so.6
---Type <return> to continue, or q <return> to quit---
Thread 8 (process 8198):
#0  0xb7f81fa4 in __pthread_sigsuspend () from /lib/libpthread.so.0
#1  0xb7f81de8 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0
#2  0xb7f7dfbb in pthread_cond_wait@GLIBC_2.0 () from /lib/libpthread.so.0
#3  0xb74156cc in device_state_thread (data=0x0) at lock.h:732
#4  0x080f7e99 in dummy_start (data=0xb7f87ff4) at utils.c:843
ASTERISK-1  0xb7f7f13d in pthread_start_thread () from /lib/libpthread.so.0
ASTERISK-2  0xb7ea81ba in clone () from /lib/libc.so.6

Thread 7 (process 8209):
#0  0xb7e9f90a in poll () from /lib/libc.so.6
#1  0x0806f10f in monitor_sig_flags (unused=0x0) at asterisk.c:2524
#2  0x080f7e99 in dummy_start (data=0xffffffff) at utils.c:843
#3  0xb7f7f13d in pthread_start_thread () from /lib/libpthread.so.0
#4  0xb7ea81ba in clone () from /lib/libc.so.6

Thread 6 (process 8442):
#0  0xb7e9f90a in poll () from /lib/libc.so.6
#1  0x0806ff45 in netconsole (vconsole=0x8164a20) at asterisk.c:929
#2  0x080f7e99 in dummy_start (data=0xffffffff) at utils.c:843
#3  0xb7f7f13d in pthread_start_thread () from /lib/libpthread.so.0
#4  0xb7ea81ba in clone () from /lib/libc.so.6

Thread 5 (process 8480):
#0  0xb7e9f90a in poll () from /lib/libc.so.6
#1  0x0807c583 in ast_waitfor_nandfds (c=0xb71d6a94, n=0, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0xb71d6a90)
   at channel.c:1982
#2  0x08082797 in ast_waitfor_n (c=0xfffffffc, n=-4, ms=0xfffffffc) at channel.c:2044
#3  0x080718ac in autoservice_run (ign=0x0) at autoservice.c:89
#4  0x080f7e99 in dummy_start (data=0x1f4) at utils.c:843
ASTERISK-1  0xb7f7f13d in pthread_start_thread () from /lib/libpthread.so.0
ASTERISK-2  0xb7ea81ba in clone () from /lib/libc.so.6

Thread 4 (process 11538):
#0  0xb7e9f90a in poll () from /lib/libc.so.6
---Type <return> to continue, or q <return> to quit---
#1  0x0807c583 in ast_waitfor_nandfds (c=0xb71958a4, n=1, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0xb71958a8)
   at channel.c:1982
#2  0x080827df in ast_waitfor (c=0x820b1a0, ms=1000) at channel.c:2051
#3  0x0809c9a4 in waitstream_core (c=0x820b1a0, breakon=0xb742e930 "", forward=0x8120cad "", rewind=0x8120cad "",
   skip_ms=0, audiofd=-1, cmdfd=-1, context=0x0) at file.c:1093
#4  0x0809b972 in ast_waitstream (c=0xfffffffc, breakon=0xfffffffc <Address 0xfffffffc out of bounds>) at file.c:1191
ASTERISK-1  0xb742e71f in playback_exec (chan=0x820b1a0, data=0xb7197ad4) at app_playback.c:434
ASTERISK-2  0x080c638d in pbx_extension_helper (c=0x820b1a0, con=0xfffffffc, context=0x820b320 "my-queue", exten=0x820b370 "80",
   priority=5, label=0x0, callerid=0x822b248 "562390", action=136433368) at pbx.c:532
ASTERISK-3  0x080c7041 in __ast_pbx_run (c=0x820b1a0) at pbx.c:2314
ASTERISK-4  0x080c7fd1 in pbx_thread (data=0xfffffffc) at pbx.c:2631
ASTERISK-5  0x080f7e99 in dummy_start (data=0x3e8) at utils.c:843
ASTERISK-6 0xb7f7f13d in pthread_start_thread () from /lib/libpthread.so.0
ASTERISK-7 0xb7ea81ba in clone () from /lib/libc.so.6

Thread 3 (process 11539):
#0  0xb7e9f90a in poll () from /lib/libc.so.6
#1  0x0807c583 in ast_waitfor_nandfds (c=0xb71588a4, n=1, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0xb71588a8)
   at channel.c:1982
#2  0x080827df in ast_waitfor (c=0x82442e0, ms=1000) at channel.c:2051
#3  0x0809c9a4 in waitstream_core (c=0x82442e0, breakon=0xb742e930 "", forward=0x8120cad "", rewind=0x8120cad "",
   skip_ms=0, audiofd=-1, cmdfd=-1, context=0x0) at file.c:1093
#4  0x0809b972 in ast_waitstream (c=0xfffffffc, breakon=0xfffffffc <Address 0xfffffffc out of bounds>) at file.c:1191
ASTERISK-1  0xb742e71f in playback_exec (chan=0x82442e0, data=0xb715aad4) at app_playback.c:434
ASTERISK-2  0x080c638d in pbx_extension_helper (c=0x82442e0, con=0xfffffffc, context=0x8244460 "my-queue", exten=0x82444b0 "80",
   priority=5, label=0x0, callerid=0x822b258 "562390", action=136433368) at pbx.c:532
ASTERISK-3  0x080c7041 in __ast_pbx_run (c=0x82442e0) at pbx.c:2314
ASTERISK-4  0x080c7fd1 in pbx_thread (data=0xfffffffc) at pbx.c:2631
ASTERISK-5  0x080f7e99 in dummy_start (data=0x3e8) at utils.c:843
ASTERISK-6 0xb7f7f13d in pthread_start_thread () from /lib/libpthread.so.0
ASTERISK-7 0xb7ea81ba in clone () from /lib/libc.so.6

Thread 2 (process 11540):
#0  0xb7e9f90a in poll () from /lib/libc.so.6
#1  0x0807c583 in ast_waitfor_nandfds (c=0xb6ffb8a4, n=1, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0xb6ffb8a8)
---Type <return> to continue, or q <return> to quit---
   at channel.c:1982
#2  0x080827df in ast_waitfor (c=0x8251c00, ms=1000) at channel.c:2051
#3  0x0809c9a4 in waitstream_core (c=0x8251c00, breakon=0xb742e930 "", forward=0x8120cad "", rewind=0x8120cad "",
   skip_ms=0, audiofd=-1, cmdfd=-1, context=0x0) at file.c:1093
#4  0x0809b972 in ast_waitstream (c=0xfffffffc, breakon=0xfffffffc <Address 0xfffffffc out of bounds>) at file.c:1191
ASTERISK-1  0xb742e71f in playback_exec (chan=0x8251c00, data=0xb6ffdad4) at app_playback.c:434
ASTERISK-2  0x080c638d in pbx_extension_helper (c=0x8251c00, con=0xfffffffc, context=0x8251d80 "my-queue", exten=0x8251dd0 "80",
   priority=5, label=0x0, callerid=0x8244228 "562390", action=136433368) at pbx.c:532
ASTERISK-3  0x080c7041 in __ast_pbx_run (c=0x8251c00) at pbx.c:2314
ASTERISK-4  0x080c7fd1 in pbx_thread (data=0xfffffffc) at pbx.c:2631
ASTERISK-5  0x080f7e99 in dummy_start (data=0x3e8) at utils.c:843
ASTERISK-6 0xb7f7f13d in pthread_start_thread () from /lib/libpthread.so.0
ASTERISK-7 0xb7ea81ba in clone () from /lib/libc.so.6

Thread 1 (process 11537):
#0  0xb7e5a231 in strcasecmp () from /lib/libc.so.6
#1  0xb7ce0a3f in local_ast_moh_start (chan=0x82496a8, mclass=0xb720f828 "default", interpclass=0x0)
   at res_musiconhold.c:646
#2  0x08083695 in ast_moh_start (chan=0x64, mclass=0x64 <Address 0x64 out of bounds>,
   interpclass=0x88 <Address 0x88 out of bounds>) at channel.c:4614
#3  0xb741818b in queue_exec (chan=0x82496a8, data=0xb720f828) at app_queue.c:3601
#4  0x080c638d in pbx_extension_helper (c=0x82496a8, con=0x64, context=0x8249828 "my-queue", exten=0x8249878 "80",
   priority=7, label=0x0, callerid=0x821e5b0 "562390", action=136482640) at pbx.c:532
ASTERISK-1  0x080c7041 in __ast_pbx_run (c=0x82496a8) at pbx.c:2314
ASTERISK-2  0x080c7fd1 in pbx_thread (data=0x64) at pbx.c:2631
ASTERISK-3  0x080f7e99 in dummy_start (data=0x64) at utils.c:843
ASTERISK-4  0xb7f7f13d in pthread_start_thread () from /lib/libpthread.so.0
ASTERISK-5  0xb7ea81ba in clone () from /lib/libc.so.6
Comments:By: Mark Michelson (mmichelson) 2007-12-04 13:34:33.000-0600

You seem to have forgotten to upload your backtrace...

By: Gregory Hinton Nietsky (irroot) 2007-12-05 08:14:49.000-0600

mmm the tace is missing .... but ...

i have had a massive problem on one site where using r90470 has fixed it ...
please try SVN particularly fix for ASTERISK-10944 im voting for the powers that be to cut a .1 as this can cause problems all over the place by the looks of it

if that does not help there is
http://svn.digium.com/view/asterisk?view=rev&sortby=date&revision=90470

By: Diego (equissoftware) 2007-12-05 09:54:05.000-0600

I uploaded the trace file again. May be it help you.

By: Gregory Hinton Nietsky (irroot) 2007-12-05 10:11:25.000-0600

how is music on hold configured ?? the system barfs with a invalid music on hold class by the looks of it ....

By: Diego (equissoftware) 2007-12-05 11:09:22.000-0600

This is my moh configuration

[classes]
default=>custom:/var/lib/asterisk/sounds/musicmyqueue,/usr/bin/rawplayer
mohmuni=>custom:/var/lib/asterisk/sounds/musicmuni,/usr/bin/rawplayer

By: Gregory Hinton Nietsky (irroot) 2007-12-05 12:11:57.000-0600

*> moh show classes

and try use the new format for moh config.

By: Diego (equissoftware) 2007-12-05 12:23:43.000-0600

Both configuration produce the same console output

musiconhold.conf
[classes]
mohmuni=>custom:/var/lib/asterisk/sounds/musicmuni,/usr/bin/rawplayer
default=>custom:/var/lib/asterisk/sounds/musictelpin,/usr/bin/rawplayer

musiconhold.conf
[mohmuni]
mode=custom
directory=/var/lib/asterisk/sounds/musicmuni
application=/usr/bin/rawplayer

[default]
mode=custom
directory=/var/lib/asterisk/sounds/musictelpin
application=/usr/bin/rawplayer


Console output
*CLI> moh show classes
Class: default
       Mode: custom
       Directory: /var/lib/asterisk/sounds/musicmyqueue
       Use Count: 5
*CLI> Application: /usr/bin/rawplayer
       Format: slin
Class: mohmuni
       Mode: custom
       Directory: /var/lib/asterisk/sounds/musicmuni
       Use Count: 0
       Application: /usr/bin/rawplayer
       Format: slin

By: Tilghman Lesher (tilghman) 2007-12-24 21:45:21.000-0600

Please run under valgrind, as documented in doc/valgrind.txt.  This is a memory corruption error, which may be trackable by valgrind.

Note that you should also upgrade to the latest SVN 1.4, as we've found quite a few memory corruption errors already, and it would be a shame to track this down to find that we'd already fixed it.

By: Jason Parker (jparker) 2008-01-15 18:09:59.000-0600

Closing, due to lack of response.

Please reopen once you've gotten the requested information.