[Home]

Summary:ASTERISK-25848: app_queue: Wrong channel in CONNECT and COMPLETECALLER events when call pickup feature code is used
Reporter:Anton Satskiy (satskiy.a)Labels:
Date Opened:2016-03-16 11:18:21Date Closed:
Priority:CriticalRegression?
Status:Open/NewComponents:Applications/app_queue
Versions:11.18.0 11.22.0-rc1 13.18.4 Frequency of
Occurrence
Constant
Related
Issues:
Environment:Linux CentosAttachments:( 0) 25848_extensions.txt
( 1) 25848_features.txt
( 2) 25848_queues.txt
( 3) 25848_sip.txt
Description: have call in queue it shows that it was answered by 4003
============================
{noformat}
[root@asterisk ~]# grep --color "1456128646.157422" /var/log/asterisk/queue_log-20160228

1456128688|1456128646.157422|800|NONE|ENTERQUEUE||0967145750|2
1456128717|1456128646.157422|800|SIP/4003|CONNECT|29|1456128688.157426|28
1456128817|1456128646.157422|800|SIP/4003|COMPLETECALLER|29|100|2
{noformat}

============================
BUT IN FACT call was PICK UPPED  by 4001  using features
{noformat}
[root@asterisk ~]# grep --color "1456128646.157422" /var/log/asterisk/full-20160228
[Feb 22 10:11:28] VERBOSE[9760][C-0000f165] pbx.c:     -- Executing [~~s~~@mix:2] MSet("SIP/3590640-000209b9", "CDR(recordingfile)=3590640_1456128646.157422") in new stack
[Feb 22 10:11:28] VERBOSE[9760][C-0000f165] pbx.c:     -- Executing [~~s~~@mix:3] MixMonitor("SIP/3590640-000209b9", "3590640_1456128646.157422.wav,b") in new stack



[root@asterisk ~]# grep --color "C-0000f165" /var/log/asterisk/full-20160228
[Feb 22 10:10:46] VERBOSE[2070][C-0000f165] netsock2.c:   == Using SIP RTP CoS mark 5
[Feb 22 10:10:46] VERBOSE[9760][C-0000f165] pbx.c:     -- Executing [3590640@incoming:1] Set("SIP/3590640-000209b9", "CALLERID(name)=RU") in new stack
[Feb 22 10:10:46] VERBOSE[9760][C-0000f165] pbx.c:     -- Executing [3590640@incoming:2] GotoIfTime("SIP/3590640-000209b9", "9:00-19:30,mon-fri,*,*?4") in new stack
[Feb 22 10:10:46] VERBOSE[9760][C-0000f165] pbx.c:     -- Goto (incoming,3590640,4)
[Feb 22 10:10:46] VERBOSE[9760][C-0000f165] pbx.c:     -- Executing [3590640@incoming:4] Goto("SIP/3590640-000209b9", "working") in new stack
[Feb 22 10:10:46] VERBOSE[9760][C-0000f165] pbx.c:     -- Goto (incoming,3590640,13)
[Feb 22 10:10:46] VERBOSE[9760][C-0000f165] pbx.c:     -- Executing [3590640@incoming:13] Progress("SIP/3590640-000209b9", "") in new stack
[Feb 22 10:10:46] VERBOSE[9760][C-0000f165] pbx.c:     -- Executing [3590640@incoming:14] MSet("SIP/3590640-000209b9", "EXT=3590640") in new stack
[Feb 22 10:10:46] VERBOSE[9760][C-0000f165] pbx.c:     -- Executing [3590640@incoming:15] Set("SIP/3590640-000209b9", "CHANNEL(language)=ru") in new stack
[Feb 22 10:10:46] VERBOSE[9760][C-0000f165] pbx.c:     -- Executing [3590640@incoming:16] Playback("SIP/3590640-000209b9", "01_HELLO/01_HELLO") in new stack
[Feb 22 10:10:46] VERBOSE[9760][C-0000f165] res_rtp_asterisk.c:        > 0x7f9b1c19d490 -- Probation passed - setting RTP source address to 95.67.3.3:14380
[Feb 22 10:10:46] VERBOSE[9760][C-0000f165] file.c:     -- <SIP/3590640-000209b9> Playing '01_HELLO/01_HELLO.slin' (language 'ru')
[Feb 22 10:10:49] VERBOSE[9760][C-0000f165] pbx.c:     -- Executing [3590640@incoming:17] Wait("SIP/3590640-000209b9", "2") in new stack
[Feb 22 10:10:51] VERBOSE[9760][C-0000f165] pbx.c:     -- Executing [3590640@incoming:18] BackGround("SIP/3590640-000209b9", "02_CHOICE_LANGUAGES/02_CHOICE_LANGUAGES") in new stack
[Feb 22 10:10:51] VERBOSE[9760][C-0000f165] file.c:     -- <SIP/3590640-000209b9> Playing '02_CHOICE_LANGUAGES/02_CHOICE_LANGUAGES.slin' (language 'ru')
[Feb 22 10:10:55] DTMF[9760][C-0000f165] channel.c: DTMF begin '2' received on SIP/3590640-000209b9
[Feb 22 10:10:55] DTMF[9760][C-0000f165] channel.c: DTMF begin ignored '2' on SIP/3590640-000209b9
[Feb 22 10:10:55] DTMF[9760][C-0000f165] channel.c: DTMF end '2' received on SIP/3590640-000209b9, duration 260 ms
[Feb 22 10:10:55] DTMF[9760][C-0000f165] channel.c: DTMF end passthrough '2' on SIP/3590640-000209b9
[Feb 22 10:11:00] VERBOSE[9760][C-0000f165] pbx.c:   == CDR updated on SIP/3590640-000209b9
[Feb 22 10:11:00] VERBOSE[9760][C-0000f165] pbx.c:     -- Executing [2@incoming:1] Set("SIP/3590640-000209b9", "CHANNEL(language)=ua") in new stack
[Feb 22 10:11:00] VERBOSE[9760][C-0000f165] pbx.c:     -- Executing [2@incoming:2] Set("SIP/3590640-000209b9", "CALLERID(name)=UA") in new stack
[Feb 22 10:11:00] VERBOSE[9760][C-0000f165] pbx.c:     -- Executing [2@incoming:3] Goto("SIP/3590640-000209b9", "ua_start,3590640,1") in new stack
[Feb 22 10:11:00] VERBOSE[9760][C-0000f165] pbx.c:     -- Goto (ua_start,3590640,1)
[Feb 22 10:11:00] VERBOSE[9760][C-0000f165] pbx.c:     -- Executing [3590640@ua_start:1] Set("SIP/3590640-000209b9", "CHANNEL(language)=ua") in new stack
[Feb 22 10:11:00] VERBOSE[9760][C-0000f165] pbx.c:     -- Executing [3590640@ua_start:2] Set("SIP/3590640-000209b9", "TIMEOUT(digit)=3") in new stack
[Feb 22 10:11:00] VERBOSE[9760][C-0000f165] func_timeout.c:     -- Digit timeout set to 3.000
[Feb 22 10:11:00] VERBOSE[9760][C-0000f165] pbx.c:     -- Executing [3590640@ua_start:3] BackGround("SIP/3590640-000209b9", "01_QUALITY_OF_THE_SERVICE/01_QUALITY_OF_THE_SERVICE") in new stack
[Feb 22 10:11:00] VERBOSE[9760][C-0000f165] file.c:     -- <SIP/3590640-000209b9> Playing '01_QUALITY_OF_THE_SERVICE/01_QUALITY_OF_THE_SERVICE.slin' (language 'ua')
[Feb 22 10:11:22] DTMF[9760][C-0000f165] channel.c: DTMF begin '3' received on SIP/3590640-000209b9
[Feb 22 10:11:22] DTMF[9760][C-0000f165] channel.c: DTMF begin ignored '3' on SIP/3590640-000209b9
[Feb 22 10:11:22] DTMF[9760][C-0000f165] channel.c: DTMF end '3' received on SIP/3590640-000209b9, duration 240 ms
[Feb 22 10:11:22] DTMF[9760][C-0000f165] channel.c: DTMF end passthrough '3' on SIP/3590640-000209b9
[Feb 22 10:11:25] VERBOSE[9760][C-0000f165] pbx.c:   == CDR updated on SIP/3590640-000209b9
[Feb 22 10:11:25] VERBOSE[9760][C-0000f165] pbx.c:     -- Executing [3@ua_start:1] Goto("SIP/3590640-000209b9", "ua_step1_3,3590640,1") in new stack
[Feb 22 10:11:25] VERBOSE[9760][C-0000f165] pbx.c:     -- Goto (ua_step1_3,3590640,1)
[Feb 22 10:11:25] VERBOSE[9760][C-0000f165] pbx.c:     -- Executing [3590640@ua_step1_3:1] BackGround("SIP/3590640-000209b9", "10_STAY_ONLINE_PLEASE/10_STAY_ONLINE_PLEASE") in new stack
[Feb 22 10:11:25] VERBOSE[9760][C-0000f165] file.c:     -- <SIP/3590640-000209b9> Playing '10_STAY_ONLINE_PLEASE/10_STAY_ONLINE_PLEASE.slin' (language 'ua')
[Feb 22 10:11:28] VERBOSE[9760][C-0000f165] pbx.c:     -- Executing [3590640@ua_step1_3:2] Gosub("SIP/3590640-000209b9", "mix,~~s~~,1(3590640)") in new stack
[Feb 22 10:11:28] VERBOSE[9760][C-0000f165] pbx.c:     -- Executing [~~s~~@mix:1] MSet("SIP/3590640-000209b9", "LOCAL(EXT)=3590640") in new stack
[Feb 22 10:11:28] VERBOSE[9760][C-0000f165] pbx.c:     -- Executing [~~s~~@mix:2] MSet("SIP/3590640-000209b9", "CDR(recordingfile)=3590640_1456128646.157422") in new stack
[Feb 22 10:11:28] VERBOSE[9760][C-0000f165] pbx.c:     -- Executing [~~s~~@mix:3] MixMonitor("SIP/3590640-000209b9", "3590640_1456128646.157422.wav,b") in new stack
[Feb 22 10:11:28] VERBOSE[9760][C-0000f165] pbx.c:     -- Executing [~~s~~@mix:4] Return("SIP/3590640-000209b9", "") in new stack
[Feb 22 10:11:28] VERBOSE[9775][C-0000f165] app_mixmonitor.c:   == Begin MixMonitor Recording SIP/3590640-000209b9
[Feb 22 10:11:28] VERBOSE[9760][C-0000f165] pbx.c:     -- Executing [3590640@ua_step1_3:3] Queue("SIP/3590640-000209b9", "800,Xxt") in new stack
[Feb 22 10:11:28] VERBOSE[9760][C-0000f165] res_musiconhold.c:     -- Started music on hold, class 'default', on SIP/3590640-000209b9
[Feb 22 10:11:28] VERBOSE[9760][C-0000f165] netsock2.c:   == Using SIP RTP CoS mark 5
[Feb 22 10:11:28] VERBOSE[9760][C-0000f165] app_queue.c:     -- Called SIP/4003
[Feb 22 10:11:28] VERBOSE[9760][C-0000f165] app_queue.c:     -- SIP/4003-000209bd is ringing
[Feb 22 10:11:57] VERBOSE[9760][C-0000f165] app_queue.c:     -- SIP/4001-000209c3 answered SIP/3590640-000209b9
[Feb 22 10:11:57] VERBOSE[9760][C-0000f165] res_musiconhold.c:     -- Stopped music on hold on SIP/3590640-000209b9
[Feb 22 10:13:37] VERBOSE[9760][C-0000f165] pbx.c:   == Spawn extension (ua_step1_3, 3590640, 3) exited non-zero on 'SIP/3590640-000209b9'
[Feb 22 10:13:37] VERBOSE[9775][C-0000f165] app_mixmonitor.c:   == MixMonitor close filestream (mixed)
[Feb 22 10:13:37] VERBOSE[9775][C-0000f165] app_mixmonitor.c:   == End MixMonitor Recording SIP/3590640-000209b9
{noformat}

My features
Pickup *8
Comments:By: Asterisk Team (asteriskteam) 2016-03-16 11:18:22.390-0500

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

By: Rusty Newton (rnewton) 2016-03-20 11:02:36.109-0500

Thanks for the report. Please provide the dialplan, queue and endpoint/peer configuration needed to reproduce the issue, along with step by step instructions on how to reproduce.

Thanks!

By: Anton Satskiy (satskiy.a) 2016-03-21 06:32:13.249-0500

------------- queue -----------
{noformat}
[800]
eventwhencalled=yes
announce-frequency=40
; min-announce-frequency = 20
announce-holdtime=no
announce-position=yes
announce-position-limit = 7
announce-to-first-user=no
autofill=yes
autopause=no
autopausebusy=no
autopausedelay=0
autopauseunavail=no
joinempty=yes
leavewhenempty=no
maxlen=0
memberdelay=0
penaltymemberslimit=0
periodic-announce-frequency=
periodic-announce=
queue-thankyou=
queue-holdtime=11_ALL_OPERATORS_BUSY/1min/1min
reportholdtime=no
retry=5
ringinuse=no
servicelevel=60
strategy=rrmemory
timeout=30
timeoutpriority=app
timeoutrestart=no
weight=10
wrapuptime=0
context=ivr-1
queue-youarenext=
queue-thereare=
queue-callswaiting=
;queue-youarenext =IZVINITE_SEICHAS_VSE_ZANYTI_OGIDAEMOE_VREMYA_1min/1min/IZVINITE_SEICHAS_VSE_ZANYTI_OGIDAEMOE_VREMYA_1min
member=SIP/4000
member=SIP/4001
member=SIP/4002
member=SIP/4003
member=SIP/4004      
{noformat}

====DIALPLAN===
{noformat}
context incoming {

0674114108 => { goto 3590640|begin;          Hangup; }
       0504114108 => { goto 3590640|begin;          Hangup; }
       0503870798 => { goto 3590640|begin;          Hangup; }
0504635401 => { goto 3590640|begin;          Hangup; }
       0504639681 => { goto 3590640|begin;          Hangup; }
0952734532 => { goto 3590640|begin;          Hangup; }

       3590641 => { goto 3590640|begin;          Hangup; }

   3590640=> {    
        begin:

ifTime(00:00-23:59|mon-sun|8|mar)
//jump 3590640@notworking;

Set(CALLERID(name)=RU);
ifTime(9:00-19:30|mon-fri|*|*) goto working;
               ifTime(10:00-16:30|sat|*|*)     goto working;
Set(CHANNEL(language)=ru);
jump 3590640@notworking;
Hangup;

      working:
Progress;
               EXT=${EXTEN};
               Set(CHANNEL(language)=ru);
               PlayBack(01_HELLO/01_HELLO);
Wait(2);
    badnumber:
               BackGround(02_CHOICE_LANGUAGES/02_CHOICE_LANGUAGES);
               BackGround(03_QUALITY_OF_THE_SERVICE/03_QUALITY_OF_THE_SERVICE);
&mix(${EXTEN});
Queue(700,Xxt);
               Hangup;
    }

   
    _XXXX => {  &mix(${EXTEN});
Dial(Local/${EXTEN}@office/n);
                Hangup();}


    1 => {
  Set(CHANNEL(language)=ru);
  Set(CALLERID(name)=RU);
 jump ${EXT}@ru_start;
         }


2 => {  
Set(CHANNEL(language)=ua);
Set(CALLERID(name)=UA);
     jump ${EXT}@ua_start;}

i => {Playback(BadNumber/BadNumber);
              goto 3590640,badnumber; }
}

context ru_start {

3590640 => {Set(TIMEOUT(digit)=3);
       Background(07_TO_CONTACT_THE_SUBSCRIBER_DIAL/07_TO_CONTACT_THE_SUBSCRIBER_DIAL);  
Hangup();}


       _XXXX => {&mix(${EXTEN});
Dial(Local/${EXTEN}@office/n);
Hangup();}

1 => {jump ${EXT}@ru_step1_1;}
2 => {jump ${EXT}@ru_step1_2;}
3 => {jump ${EXT}@ru_step1_3;}
0 => {  &mix(${EXTEN});
Queue(700,xXt);}
i => {Playback(BadNumber/BadNumber);
              jump 3590640; }  
}

context ru_step1_1 {
   
3590640 => {BackGround(08_ABOUT_PCS/08_ABOUT_PCS);
                  Wait(5);
  Hangup();}

1 => {jump ${EXT}@ru_step1_1_1;}
        2 => {jump ${EXT}@ru_step1_1_2;}
        3 => {jump ${EXT}@ru_step1_1_3;}
        4 => {jump ${EXT}@ru_step1_1_4;}
        5 => {jump ${EXT}@ru_step1_1_5;}
6 => {jump ${EXT}@ru_step1_1_6;}


* => {jump ${EXT}@ru_start;}
       i => {Playback(BadNumber/BadNumber);
              jump 3590640; }      
}



context ru_step1_1_1 {

       3590640 => {BackGround(09_KRASNOARMEYSKAYA_112/09_KRASNOARMEYSKAYA_112);
               Hangup();}

* => {jump ${EXT}@ru_step1_1;}
       i => {Playback(BadNumber/BadNumber);
              jump 3590640; }
}                          

context ru_step1_1_2 {

       3590640 => {BackGround(10_MOSKOVSKIY_6/10_MOSKOVSKIY_6);
               Hangup();}

       * => {jump ${EXT}@ru_step1_1;}
       i => {Playback(BadNumber/BadNumber);
              jump 3590640; }
}                      

context ru_step1_1_3 {

       3590640 => {BackGround(11_MALISHKO_2/11_MALISHKO_2);
               Hangup();}

       * => {jump ${EXT}@ru_step1_1;}
       i => {Playback(BadNumber/BadNumber);
              jump 3590640; }
}      


context ru_step1_1_4 {

       3590640 => {BackGround(12_GRISHKA_5/12_GRISHKA_5);
               Hangup();}

       * => {jump ${EXT}@ru_step1_1;}
       i => {Playback(BadNumber/BadNumber);
              jump 3590640; }
}      

context ru_step1_1_5 {

       3590640 => {BackGround(13_PROSPEKT_POBEDI/13_PROSPEKT_POBEDI);
               Hangup();}

       * => {jump ${EXT}@ru_step1_1;}
       i => {Playback(BadNumber/BadNumber);
              jump 3590640; }
}


context ru_step1_1_6 {

       3590640 => {BackGround(14_GOROD_DNEPR/14_GOROD_DNEPR);
               Hangup();}

       * => {jump ${EXT}@ru_step1_1;}
       i => {Playback(BadNumber/BadNumber);
              jump 3590640; }
}









context ru_step1_2 {

       3590640 => {BackGround(15_RECORD_MESSAGE/15_RECORD_MESSAGE);
               Voicemail(1234@default,s);
               Hangup();}

       0 => {  NoOP(CALL TO ОПЕРАТОР);
&mix(${EXTEN});
Queue(700,Xxt);}
       i => {Playback(BadNumber/BadNumber);
              jump 3590640; }
}        

context ru_step1_3 {

3590640 => {   BackGround(04_STAY_ONLINE_PLEASE/04_STAY_ONLINE_PLEASE);
&mix(${EXTEN});
Queue(800,Xxt);}

        2 => {Voicemail(1234@default,s); Hangup();}
        i => {Playback(BadNumber/BadNumber);
              jump 3590640; }
}      















context ua_start {
       3590640 => {Set(CHANNEL(language)=ua);
Set(TIMEOUT(digit)=3);
               BackGround(01_QUALITY_OF_THE_SERVICE/01_QUALITY_OF_THE_SERVICE);
               Hangup();}

           _XXXX => { &mix(${EXTEN}); Dial(Local/${EXTEN}@office);
                Hangup();}

       1 => {jump ${EXT}@ua_step1_1;}
       2 => {jump ${EXT}@ua_step1_2;}
       3 => {jump ${EXT}@ua_step1_3;}
       0 => {  NoOp(====OPERATOR===);
&mix(${EXTEN});
Queue(700,Xxt); }
i => {Playback(BadNumber/BadNumber);
              jump 3590640; }

}


context ua_step1_1 {

       3590640 => {BackGround(02_ABOUT_PCS/02_ABOUT_PCS);
                   Wait(5);
Hangup();}

        1 => {jump ${EXT}@ua_step1_1_1;}
        2 => {jump ${EXT}@ua_step1_1_2;}
        3 => {jump ${EXT}@ua_step1_1_3;}
        4 => {jump ${EXT}@ua_step1_1_4;}
        5 => {jump ${EXT}@ua_step1_1_5;}
6 => {jump ${EXT}@ua_step1_1_6;}


       * => {jump ${EXT}@ua_start;}
i => {Playback(BadNumber/BadNumber);
              jump 3590640; }
}



context ua_step1_1_1 {

       3590640 => {BackGround(03_CHERVONOARMIYSKA_112/03_CHERVONOARMIYSKA_112);
               Hangup();}

       * => {jump ${EXT}@ua_step1_1;}
i => {Playback(BadNumber/BadNumber);
              jump 3590640; }
}

context ua_step1_1_2 {

       3590640 => {BackGround(04_MOSKOVSKIY_6/04_MOSKOVSKIY_6);
               Hangup();}

       * => {jump ${EXT}@ua_step1_1;}
i => {Playback(BadNumber/BadNumber);
              jump 3590640; }
}

context ua_step1_1_3 {

       3590640 => {BackGround(05_MALISHKO_2/05_MALISHKO_2);
               Hangup();}

       * => {jump ${EXT}@ua_step1_1;}
i => {Playback(BadNumber/BadNumber);
              jump 3590640; }
}


context ua_step1_1_4 {

       3590640 => {BackGround(06_GRISHKA_5/06_GRISHKA_5);
               Hangup();}

       * => {jump ${EXT}@ua_step1_1;}
i => {Playback(BadNumber/BadNumber);
              jump 3590640; }
}          

context ua_step1_1_5 {

       3590640 => {BackGround(07_PROSPEKT_PEREMOGI/07_PROSPEKT_PEREMOGI);
               Hangup();}

       * => {jump ${EXT}@ua_step1_1;}
i => {Playback(BadNumber/BadNumber);
              jump 3590640; }
}          

context ua_step1_1_6 {

       3590640 => {BackGround(08_MISTO_DNIPROPETROVSK/08_MISTO_DNIPROPETROVSK);
               Hangup();}

       * => {jump ${EXT}@ua_step1_1;}
i => {Playback(BadNumber/BadNumber);
              jump 3590640; }
}  









context ua_step1_2 {

       3590640 => {BackGround(09_RECORD_MESSAGE/09_RECORD_MESSAGE);
               Voicemail(1234@default,s);
               Hangup();}

       0 => {NoOP(CALL TO ОПЕРАТОР);
     &mix(${EXTEN});
     Queue(700,Xxt);}
i => {Playback(BadNumber/BadNumber);
              jump 3590640; }
}

context ua_step1_3 {

        3590640 => {   BackGround(10_STAY_ONLINE_PLEASE/10_STAY_ONLINE_PLEASE);
&mix(${EXTEN});
Queue(800,Xxt);}

        2 => {Voicemail(1234@default,s); Hangup();}
i => {Playback(BadNumber/BadNumber);
              jump 3590640; }
}              


context notworking {
        3590640 => {   Set(CHANNEL(language)=ru);
Background(17_NON_BUSSINES_DAY/17_NON_BUSSINES_DAY); Hangup();}

2 => {Voicemail(1234@default,s); Hangup(); }
i => {Playback(BadNumber/BadNumber);
              jump 3590640; }

}




context ivr-1 {
2 => {Voicemail(1234@default,s); Hangup();}
}




context nway-start {
      s=> {ChannelRedirect(${BRIDGEPEER},features,77,1);
      Hangup();}
}
{noformat}

===PEERS===
{noformat}
[3590640]
host=95.67.3.3
insecure=invite,port
type=friend
fromdomain=95.67.3.3
disallow=all
allow=alaw,ulaw
dtmfmode=auto
secret=
defaultuser=3590640
trunkname=3590640
fromuser=3590640
callbackextension=3590640
context=incoming
canreinvite=no
qualify=yes
nat=no      
{noformat}


By: Anton Satskiy (satskiy.a) 2016-03-21 06:40:26.413-0500

STEPS to to reproduce ---incoming call gets into queue
one manager press *8 and pickup call
thats all

By: Richard Mudgett (rmudgett) 2016-03-21 09:33:31.201-0500

Please do not paste large items into comments.  Attach them as files.

By: Rusty Newton (rnewton) 2016-03-29 18:37:59.170-0500

Thanks for the report. I confirmed with a reproduction. Attaching four files beginning with 25848_ , these can be used to reproduce the issue.

To reproduce,

ALICE calls 100, which dials into queue 800, which starts ringing BOB.
CAROL dials "*8", which picks up the call to BOB.
CAROL hangs up.

In queue_log you'll observe something similar to:

{noformat}
1459293802|1459293796.0|800|SIP/BOB|CONNECT|6|1459293796.1|6
1459293805|1459293796.0|800|SIP/BOB|COMPLETEAGENT|6|3|1
{noformat}


By: Anton Satskiy (satskiy.a) 2016-04-26 06:26:29.178-0500

any news?

By: Joshua C. Colp (jcolp) 2016-04-26 06:29:20.457-0500

Any updates or news will be posted to this issue. Since there is nothing, there is no news.

By: Anton Satskiy (satskiy.a) 2018-03-31 06:04:22.234-0500

will this issue be assigned to anyone?
Why  from 16 year this issue  is not solved?

By: Joshua C. Colp (jcolp) 2018-03-31 06:16:43.081-0500

The issue has been accepted. If you need it resolved faster you can see about paying someone to look into it and resolve the problem, otherwise you are relying on the community or Digium to do so. With limited resources we can't fix every problem fast.

By: N A (InterLinked) 2022-07-23 16:16:18.675-0500

I can see how this would be problematic, but something to consider:

There isn't anything that necessarily dictates the channel picking up (using *8) is even in the queue. It could be some other random phone.
In that case, what do you show as the answerer? Some endpoint that's not even in the queue?
How do you know if the same agent didn't answer from a different phone, or if it was a different agent at a different phone, or a non-agent altogether? In the first case, what you get here might actually be the desired behavior.

I don't think this is really handled particularly, but adjusting the output for this issue to the other agent would create issues it not done carefully, so it's not clear that this is really a bug per se, just a design choice.