Summary:ASTERISK-01853: meetme marked users (x option) broken
Reporter:drazi (drazi)Labels:
Date Opened:2004-06-19 18:35:43Date Closed:2008-01-15 14:58:45.000-0600
Versions:Frequency of
Description:I have a problem whereby if I originate a call to a landline, and then transfer the call into a conference, asterisk never hangs up the landline, and the call cannot be cleared.

I attempted to solve this using the x option to app_meetme. The log file below shows three channels joining a conference. The two SIP channels join using the x flag, the Zap channel does not.

When the SIP parties hang up, my understanding is that the Zap channel is supposed to be kicked out of the conference. Instead, it remains in the conference and is played the hold music.

I have had a look at app_meetme.c to see if I could fix or even understand the problem, but I can't see how the marked users stuff is supposed to work. I can't find where conf->markedusers gets initialised or where it gets decremented.

Also, unless I am missing something, the marked user flag is on the conference itself, not the user - this means that the x-flag status of each user is not being recorded.

I am using Asterisk CVS-HEAD-06/19/04-23:52:01


   -- Executing Dial("SIP/PHONE1-17c5", "Zap/3/BYEXTENSION||T") in new stack
   -- Called 3/608576
   -- Zap/3-1 answered SIP/PHONE1-17c5
   -- Executing NoOp("Zap/3-1", "Zap/3-1") in new stack
   -- Executing GotoIf("Zap/3-1", "5?3:5") in new stack
   -- Goto (conferences,50,3)
   -- Executing MeetMe("Zap/3-1", "|EM") in new stack
 == Spawn extension (conferences, 50, 0) exited non-zero on 'SIP/PHONE1-17c5'
   -- Executing NoOp("SIP/PHONE1-17c5", "SIP/PHONE1-17c5") in new stack
   -- Executing GotoIf("SIP/PHONE1-17c5", "0?3:5") in new stack
   -- Goto (conferences,50,5)
   -- Executing MeetMe("SIP/PHONE1-17c5", "|EMx") in new stack
 == Parsing '/etc/asterisk/meetme.conf': Found
   -- Playing 'conf-enteringno' (language 'en')
 == Parsing '/etc/asterisk/meetme.conf': Found
   -- Playing 'conf-enteringno' (language 'en')
   -- Playing 'digits/5' (language 'en')
   -- Playing 'digits/5' (language 'en')
   -- Playing 'digits/1' (language 'en')
   -- Playing 'digits/1' (language 'en')
 == Parsing '/etc/asterisk/meetme.conf': Found
   -- Created MeetMe conference 1023 for conference '51'
   -- Playing 'conf-onlyperson' (language 'en')
   -- Executing NoOp("SIP/100-8925", "SIP/100-8925") in new stack
   -- Executing GotoIf("SIP/100-8925", "0?3:5") in new stack
   -- Goto (conferences,51,5)
   -- Executing MeetMe("SIP/100-8925", "51|Mx") in new stack
 == Spawn extension (conferences, 51, 5) exited non-zero on 'SIP/100-8925'
 == Spawn extension (conferences, 50, 5) exited non-zero on 'SIP/PHONE1-17c5'
   -- Started music on hold, class 'default', on Zap/3-1
Comments:By: Mark Spencer (markster) 2004-06-20 22:52:10

Fixed in CVS

By: Digium Subversion (svnbot) 2008-01-15 14:58:45.000-0600

Repository: asterisk
Revision: 3249

U   trunk/apps/app_meetme.c

r3249 | markster | 2008-01-15 14:58:45 -0600 (Tue, 15 Jan 2008) | 2 lines

Make 'x' option behave as advertised (bug ASTERISK-1853)