Summary: | ASTERISK-09507: Asterisk does not verify state of the channel IAX | ||
Reporter: | Thiago Garcia (thiagarcia) | Labels: | |
Date Opened: | 2007-05-24 10:03:32 | Date Closed: | 2007-06-06 09:23:19 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | After upgrade Asterisk from SVN 62739 to SVN 65123, I'm having issues with the state verifications of the channels IAX in the app_queue. | ||
Comments: | By: Russell Bryant (russell) 2007-05-24 10:06:45 You're going to have to give a lot more information than this. Please describe what you are seeing in detail and include whatever console output is relevant. By: Thiago Garcia (thiagarcia) 2007-05-24 10:32:43 My agents login dynamicly in the queues and I use the option ringinuse=no in the queues.conf, my issue is that by do not verify the state of the channel iax, the calls are being directed even though already is in service. pbx-spo*CLI> show queues vfn has 0 calls (max 20) in 'rrmemory' strategy (0s holdtime), W:0, C:0, A:0, SL:0.0% within 0s Members: IAX2/9614 (dynamic) (Not in use) has taken no calls yet No Callers pbx-spo*CLI> show channels Channel Location State Application(Data) IAX2/9614-12 (None) Up Bridged Call(IAX2/9614-5) IAX2/9614-5 9614@pode-testes:47 Up Dial(IAX2/9614|40|tT) After one minute: pbx-spo*CLI> show queues vfn has 0 calls (max 20) in 'rrmemory' strategy (0s holdtime), W:0, C:0, A:0, SL:0.0% within 0s Members: IAX2/9614 (dynamic) (In use) has taken no calls yet pbx-spo*CLI> show channels Channel Location State Application(Data) IAX2/9614-12 (None) Up Bridged Call(IAX2/9614-5) IAX2/9614-5 9614@pode-testes:47 Up Dial(IAX2/9614|40|tT) if any call enter in the queue, the state change to unknown and more of one call ring in my softphone, because i have six lines: pbx-spo*CLI> queue show vfn has 1 calls (max 20) in 'rrmemory' strategy (0s holdtime), W:0, C:0, A:0, SL:0.0% within 0s Members: IAX2/9614 (dynamic) (Unknown) has taken no calls yet Callers: 1. IAX2/9614-17 (wait: 0:12, prio: 0) My queue.conf [general] persistentmembers=yes monitor-format=gsm monitor-join=yes joinempty=no leavewhenempty=yes eventwhencalled=yes eventmemberstatus=yes memberdelay=10 weight=0 autopause=yes eventwhencalled=yes monitor-type=MixMonitor context=ramais musicclass=default [vfn] music=default strategy=rrmemory timeout=14 retry=5 wrapuptime=10 maxlen=20 ringinuse=no Excuse my English, I expect that understand my issue. By: Thiago Garcia (thiagarcia) 2007-06-05 09:11:01 The issue persists in SVN 67269 branches 1.4. By: Thiago Garcia (thiagarcia) 2007-06-05 13:02:59 I revert to svn 64240 branches 1.4 and the issue does not occur. The issue appears in SVN 64276 branches 1.4. Changes of /branches/1.4/main/devicestate.c in SVN 64276: _______________________________________________________________ Merged revisions 64275 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r64275 | file | 2007-05-14 14:34:06 -0400 (Mon, 14 May 2007) | 2 lines Only perform stripping of - strings from the channel name for Zap channels. Anywhere else we might remove a legitimate part of a device name. (issue ASTERISK-9385 reported by stevedavies) ....... By: Joshua C. Colp (jcolp) 2007-06-06 09:23:18 Fixed as a result of reverting the fix for 9668. |