[asterisk-bugs] [JIRA] Commented: (ASTERISK-19949) app_meetme unable to write frame to Local/XXX channel (stuck channel)
Johan Wilfer (JIRA)
noreply at issues.asterisk.org
Tue Oct 9 14:20:27 CDT 2012
[ https://issues.asterisk.org/jira/browse/ASTERISK-19949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=198189#comment-198189 ]
Johan Wilfer commented on ASTERISK-19949:
-----------------------------------------
Updated the issue with a summary how to recreate this scenario. For me the above dialplan creates this error every time.
> app_meetme unable to write frame to Local/XXX channel (stuck channel)
> ---------------------------------------------------------------------
>
> Key: ASTERISK-19949
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-19949
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Applications/app_meetme, Channels/chan_local
> Affects Versions: 1.8.12.1, 1.8.17.0
> Environment: Debian 6.0 i386 (kernel 2.6.32-5-686-bigmem)
> Reporter: Johan Wilfer
> Attachments: myDebugLog_20121009.txt, myDebugLog.gz
>
>
> Under some circumstances Meetme is stuck in a loop generating about 25 lines / sec "Unable to write frame to channel"
> This seems to be very sensitive to exact timing, the following dialplan creates an endless loop of messages on my development server (have also seen this on our production server):
> {code}
> context originate_local {
> s => {
> Originate(Local/left at local_channels,exten,local_channels,right,1);
> }
> }
> context local_channels {
> left => {
> Answer();
> Meetme(1,dq);
> }
>
> right => {
> Answer();
> Wait(0.5);
> }
> }
> {code}
> This produces the following output on the console:
> {code}
> [Oct 9 20:37:20] VERBOSE[21675] pbx.c: -- Executing [s at originate_local:1] Originate("SIP/trunk-00000000", "Local/left at local_channels,exten,local_channels,right,1") in new stack
> [Oct 9 20:37:20] VERBOSE[21677] pbx.c: -- Executing [left at local_channels:1] Answer("Local/left at local_channels-00000000;2", "") in new stack
> [Oct 9 20:37:20] VERBOSE[21678] pbx.c: -- Executing [right at local_channels:1] Answer("Local/left at local_channels-00000000;1", "") in new stack
> [Oct 9 20:37:20] VERBOSE[21678] pbx.c: -- Executing [right at local_channels:2] Wait("Local/left at local_channels-00000000;1", "0.5") in new stack
> [Oct 9 20:37:20] VERBOSE[21675] pbx.c: -- Auto fallthrough, channel 'SIP/trunk-00000000' status is 'UNKNOWN'
> [Oct 9 20:37:20] VERBOSE[21677] pbx.c: -- Executing [left at local_channels:2] MeetMe("Local/left at local_channels-00000000;2", "1,dq") in new stack
> [Oct 9 20:37:20] VERBOSE[21678] pbx.c: -- Auto fallthrough, channel 'Local/left at local_channels-00000000;1' status is 'UNKNOWN'
> [Oct 9 20:37:20] VERBOSE[21677] app_meetme.c: -- Created MeetMe conference 1023 for conference '1'
> [Oct 9 20:37:20] WARNING[21677] app_meetme.c: Unable to write frame to channel Local/left at local_channels-00000000;2
> [Oct 9 20:37:20] WARNING[21677] app_meetme.c: Unable to write frame to channel Local/left at local_channels-00000000;2
> [Oct 9 20:37:20] WARNING[21677] app_meetme.c: Unable to write frame to channel Local/left at local_channels-00000000;2
> [Oct 9 20:37:20] WARNING[21677] app_meetme.c: Unable to write frame to channel Local/left at local_channels-00000000;2
> [Oct 9 20:37:20] WARNING[21677] app_meetme.c: Unable to write frame to channel Local/left at local_channels-00000000;2
> [Oct 9 20:37:20] WARNING[21677] app_meetme.c: Unable to write frame to channel Local/left at local_channels-00000000;2
> [Oct 9 20:37:20] WARNING[21677] app_meetme.c: Unable to write frame to channel Local/left at local_channels-00000000;2
> [Oct 9 20:37:20] WARNING[21677] app_meetme.c: Unable to write frame to channel Local/left at local_channels-00000000;2
> [Oct 9 20:37:20] WARNING[21677] app_meetme.c: Unable to write frame to channel Local/left at local_channels-00000000;2
> [Oct 9 20:37:20] WARNING[21677] app_meetme.c: Unable to write frame to channel Local/left at local_channels-00000000;2
> [Oct 9 20:37:20] WARNING[21677] app_meetme.c: Unable to write frame to channel Local/left at local_channels-00000000;2
> [Oct 9 20:37:20] WARNING[21677] app_meetme.c: Unable to write frame to channel Local/left at local_channels-00000000;2
> [Oct 9 20:37:20] WARNING[21677] app_meetme.c: Unable to write frame to channel Local/left at local_channels-00000000;2
> [Oct 9 20:37:20] WARNING[21677] app_meetme.c: Unable to write frame to channel Local/left at local_channels-00000000;2
> [Oct 9 20:37:20] WARNING[21677] app_meetme.c: Unable to write frame to channel Local/left at local_channels-00000000;2
> [Oct 9 20:37:20] WARNING[21677] app_meetme.c: Unable to write frame to channel Local/left at local_channels-00000000;2
> [Oct 9 20:37:20] WARNING[21677] app_meetme.c: Unable to write frame to channel Local/left at local_channels-00000000;2
> [Oct 9 20:37:20] WARNING[21677] app_meetme.c: Unable to write frame to channel Local/left at local_channels-00000000;2
> [Oct 9 20:37:20] WARNING[21677] app_meetme.c: Unable to write frame to channel Local/left at local_channels-00000000;2
> [Oct 9 20:37:20] WARNING[21677] app_meetme.c: Unable to write frame to channel Local/left at local_channels-00000000;2
> [Oct 9 20:37:20] WARNING[21677] app_meetme.c: Unable to write frame to channel Local/left at local_channels-00000000;2
> [Oct 9 20:37:20] WARNING[21677] app_meetme.c: Unable to write frame to channel Local/left at local_channels-00000000;2
> [Oct 9 20:37:21] WARNING[21677] app_meetme.c: Unable to write frame to channel Local/left at local_channels-00000000;2
> [Oct 9 20:37:21] WARNING[21677] app_meetme.c: Unable to write frame to channel Local/left at local_channels-00000000;2
> [Oct 9 20:37:21] WARNING[21677] app_meetme.c: Unable to write frame to channel Local/left at local_channels-00000000;2
> .
> .
> .
> {code}
> The patch in issue ASTERISK-19594 https://issues.asterisk.org/jira/secure/attachment/43067/meetme-hangup-trunk-360459.patch seems to work, but apparently only masks the problem.
> Also there is ASTERISK-20486 that seems to be a duplicate of this bug.
> I've tried different wait-intervals but only Wait(0.5) seems to trigger this problem and do so constantly.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the asterisk-bugs
mailing list