[asterisk-bugs] [JIRA] (ASTERISK-25848) app_queue: Wrong channel in connect when pickup is used

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Mon Mar 21 09:33:56 CDT 2016


    [ https://issues.asterisk.org/jira/browse/ASTERISK-25848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=229967#comment-229967 ] 

Richard Mudgett edited comment on ASTERISK-25848 at 3/21/16 9:32 AM:
---------------------------------------------------------------------

-------------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 at 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 at 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 at 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 at 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 at 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 at 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 at default,s); Hangup(); }
	 i => {Playback(BadNumber/BadNumber);
               jump 3590640; }

}




context ivr-1 {
	2 => {Voicemail(1234 at 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}



was (Author: satskiy.a):
-------------queue-----------
[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       

====DIALPLAN===
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 at 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 at 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 at 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 at 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 at 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 at 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 at default,s); Hangup(); }
	 i => {Playback(BadNumber/BadNumber);
               jump 3590640; }

}




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




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

===PEERS===			
[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      



> app_queue: Wrong channel in connect when pickup is used
> -------------------------------------------------------
>
>                 Key: ASTERISK-25848
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25848
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Addons/cdr_mysql, Applications/app_queue
>    Affects Versions: 11.18.0
>         Environment: Linux Centos
>            Reporter: Anton Satskiy
>            Assignee: Unassigned
>            Severity: Minor
>
>  have call in queue it shows that it was answered by 4003
> ============================
> {noformat}
> [root at 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 at 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 at 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 at 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 at 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 at 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 at incoming:13] Progress("SIP/3590640-000209b9", "") in new stack
> [Feb 22 10:10:46] VERBOSE[9760][C-0000f165] pbx.c:     -- Executing [3590640 at incoming:14] MSet("SIP/3590640-000209b9", "EXT=3590640") in new stack
> [Feb 22 10:10:46] VERBOSE[9760][C-0000f165] pbx.c:     -- Executing [3590640 at 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 at 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 at incoming:17] Wait("SIP/3590640-000209b9", "2") in new stack
> [Feb 22 10:10:51] VERBOSE[9760][C-0000f165] pbx.c:     -- Executing [3590640 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list