[Home]

Summary:ASTERISK-06335: asterisk crash when exiting app_meetme with native moh
Reporter:Sergey Basmanov (sb)Labels:
Date Opened:2006-02-16 09:40:44.000-0600Date Closed:2006-05-03 13:36:39
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_meetme
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Steps to reproduce:
extensions.conf:
[meetme]
exten => 1,1,Answer
exten => 1,2,MeetMe(1,pdXM)

exten => 0,1,Playback(beep)
exten => 0,1,Read(NUMBER)

musiconhold.conf:
[default]
mode=files
directory=/var/lib/asterisk/moh-native
random=yes


When I press 0 in meetme, it exits and then asterisk crashes on Playback(beep)

With mpg123 moh anything works fine.

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

Console log:
   -- Executing MeetMe("Zap/1-1", "1|pdXM") in new stack
Feb 16 19:24:24 DEBUG[22497]: app_meetme.c:1730 find_conf: Building dynamic conference '1'
   -- Created MeetMe conference 1023 for conference '1'
Feb 16 19:24:24 DEBUG[22497]: channel.c:1690 ast_settimeout: Scheduling timer at 160 sample intervals
   -- Playing 'conf-onlyperson' (language 'ru')
Feb 16 19:24:27 DEBUG[22497]: channel.c:1690 ast_settimeout: Scheduling timer at 0 sample intervals
Feb 16 19:24:27 DEBUG[22497]: channel.c:1690 ast_settimeout: Scheduling timer at 0 sample intervals
Feb 16 19:24:27 DEBUG[22497]: chan_zap.c:4893 zt_indicate: Requested indication -1 on channel Zap/1-1
Feb 16 19:24:27 DEBUG[22497]: app_meetme.c:1092 conf_run: Placed channel Zap/1-1 in ZAP conf 1023
   -- Started music on hold, class 'default', on Zap/1-1
Feb 16 19:24:27 DEBUG[22497]: channel.c:1690 ast_settimeout: Scheduling timer at 160 sample intervals
Feb 16 19:24:27 DEBUG[22497]: channel.c:1974 __ast_read: Generator got voice, switching to phase locked mode
Feb 16 19:24:27 DEBUG[22497]: channel.c:1690 ast_settimeout: Scheduling timer at 0 sample intervals
Feb 16 19:24:40 DEBUG[22497]: chan_zap.c:4704 zt_read: DTMF digit: 0 on Zap/1-1
Feb 16 19:24:40 DEBUG[22497]: app_meetme.c:1369 conf_run: Got DTMF 0, goto context meetme-invite
Feb 16 19:24:40 DEBUG[22497]: chan_zap.c:2809 zt_setoption: Setting actual tx gain on Zap/1-1 to 3.000000
Feb 16 19:24:40 DEBUG[22497]: chan_zap.c:2818 zt_setoption: Setting actual rx gain on Zap/1-1 to 3.000000
Feb 16 19:24:40 DEBUG[22497]: chan_zap.c:2401 zt_hangup: Hangup: channel: -2 index = 0, normal = 54, callwait = -1, thirdcall = -1
Feb 16 19:24:40 DEBUG[22497]: chan_zap.c:2844 zt_setoption: Set option TDD MODE, value: OFF(0) on Zap/pseudo-1997458240
Feb 16 19:24:40 DEBUG[22497]: chan_zap.c:1383 update_conf: Updated conferencing on -2, with 0 conference users
   -- Hungup 'Zap/pseudo-1997458240'
Feb 16 19:24:40 DEBUG[22497]: chan_zap.c:2401 zt_hangup: Hangup: channel: -2 index = 0, normal = 52, callwait = -1, thirdcall = -1
Feb 16 19:24:40 DEBUG[22497]: chan_zap.c:2844 zt_setoption: Set option TDD MODE, value: OFF(0) on Zap/pseudo-330801470
Feb 16 19:24:40 DEBUG[22497]: chan_zap.c:1383 update_conf: Updated conferencing on -2, with 0 conference users
   -- Hungup 'Zap/pseudo-330801470'
   -- Executing Playback("Zap/1-1", "beep") in new stack
Disconnected from Asterisk server


Unfortunately, I can't provide 'bt full' right now.
Comments:By: Sergey Basmanov (sb) 2006-02-16 09:56:44.000-0600

Oh, forgot to say. When app_meetme exits, moh is still playing.
From console:
   -- Started music on hold, class 'default', on Zap/1-1
Feb 16 19:53:41 DEBUG[23024]: channel.c:1690 ast_settimeout: Scheduling timer at 160 sample intervals
Feb 16 19:53:41 DEBUG[23024]: channel.c:1974 __ast_read: Generator got voice, switching to phase locked mode
Feb 16 19:53:41 DEBUG[23024]: channel.c:1690 ast_settimeout: Scheduling timer at 0 sample intervals
Feb 16 19:53:46 DEBUG[23024]: chan_zap.c:4704 zt_read: DTMF digit: 0 on Zap/1-1
Feb 16 19:53:46 DEBUG[23024]: app_meetme.c:1369 conf_run: Got DTMF 0, goto context meetme-invite
Feb 16 19:53:46 DEBUG[23024]: chan_zap.c:2809 zt_setoption: Setting actual tx gain on Zap/1-1 to 3.000000
Feb 16 19:53:46 DEBUG[23024]: chan_zap.c:2818 zt_setoption: Setting actual rx gain on Zap/1-1 to 3.000000
Feb 16 19:53:47 DEBUG[23024]: chan_zap.c:2401 zt_hangup: Hangup: channel: -2 index = 0, normal = 37, callwait = -1, thirdcall = -1
Feb 16 19:53:47 DEBUG[23024]: chan_zap.c:2844 zt_setoption: Set option TDD MODE, value: OFF(0) on Zap/pseudo-837069719
Feb 16 19:53:47 DEBUG[23024]: chan_zap.c:1383 update_conf: Updated conferencing on -2, with 0 conference users
   -- Hungup 'Zap/pseudo-837069719'
Feb 16 19:53:47 DEBUG[23024]: chan_zap.c:2401 zt_hangup: Hangup: channel: -2 index = 0, normal = 35, callwait = -1, thirdcall = -1
Feb 16 19:53:47 DEBUG[23024]: chan_zap.c:2844 zt_setoption: Set option TDD MODE, value: OFF(0) on Zap/pseudo-469915552
Feb 16 19:53:47 DEBUG[23024]: chan_zap.c:1383 update_conf: Updated conferencing on -2, with 0 conference users
   -- Hungup 'Zap/pseudo-469915552'
   -- Executing Wait("Zap/1-1", "5") in new stack
   -- Executing Playback("Zap/1-1", "beep") in new stack
Disconnected from Asterisk server

While 'Wait(5)' executed, I still hear moh.

By: Peng Yong (ppyy) 2006-03-10 23:57:03.000-0600

i test it, it's ok and i use native moh.

musiconhold.conf:
[default]
mode=files
directory=/var/lib/asterisk/mohnative

meetme.conf:
[rooms]
conf => 1234

extensions.conf:
exten => 1234,1,Answer
exten => 1234,2,MeetMe(1234,pdXM)

exten => 0,1,Playback(beep)
exten => 0,2,Read(NUMBER)


bar3*CLI>
   -- Executing Answer("SIP/8386-df7f", "") in new stack
   -- Executing MeetMe("SIP/8386-df7f", "1234|pdXM") in new stack
   -- Created MeetMe conference 1023 for conference '1234'
   -- Playing 'conf-onlyperson' (language 'en')
   -- Started music on hold, class 'default', on SIP/8386-df7f
   -- Stopped music on hold on SIP/8386-df7f
   -- Hungup 'Zap/pseudo-1566116136'
   -- Hungup 'Zap/pseudo-2009825705'
   -- Executing Playback("SIP/8386-df7f", "beep") in new stack
   -- Playing 'beep' (language 'en')
   -- Executing Read("SIP/8386-df7f", "NUMBER") in new stack
   -- User entered '3892'
 == Auto fallthrough, channel 'SIP/8386-df7f' status is 'UNKNOWN'
bar3*CLI> show version
Asterisk SVN-trunk-r12430M built by root @ bar3.3322.org on a i686 running Linux on 2006-03-09 12:54:59 UTC

By: Serge Vecher (serge-v) 2006-05-03 13:36:39

Please reopen the bug if you are able to reproduce this issue and can produce a backtrace from a non-optimized unmodified source. Thanks.