[asterisk-bugs] [JIRA] (ASTERISK-27065) call hangup after leaving app_queue

Marek Cervenka (JIRA) noreply at issues.asterisk.org
Wed Jun 21 07:26:57 CDT 2017


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

Marek Cervenka commented on ASTERISK-27065:
-------------------------------------------

replicated issue on clean new machine with make basic-pbx

call from chan_sip - device 400 to exten 111

[test]
exten => 111,1,noop(test)
 same = n,Answer()
 same = n,Queue(customer_advocate,,,,1200)
 same = n,noop(operator)



[customer_advocate]
strategy=ringall
member => PJSIP/1101 ; Maria Berny - Director of Customer Experience
member => PJSIP/1115 ; Dusty Williams - Customer Advocate
member => PJSIP/1102 ; Tommy Briar - Customer Advocate
leavewhenempty=paused,penalty,unavailable,invalid,unknown

queue show
customer_advocate has 0 calls (max unlimited) in 'ringall' strategy (0s holdtime, 0s talktime), W:0, C:0, A:0, SL:0.0% within 0s
   Members:
      PJSIP/1102 (ringinuse enabled) (Invalid) has taken no calls yet
      PJSIP/1101 (ringinuse enabled) (Invalid) has taken no calls yet
      PJSIP/1115 (ringinuse enabled) (Invalid) has taken no calls yet
   No Callers



    -- Executing [111 at test:3] Queue("SIP/400-00000000", "customer_advocate,,,,1200") in new stack
[Jun 21 14:19:19] DEBUG[1686][C-00000000]: app_queue.c:7946 queue_exec: queue: customer_advocate, options: , url: , announce: , timeout: 1200, agi: , macro: , gosub: , rule: , position:
[Jun 21 14:19:19] DEBUG[1686][C-00000000]: app_queue.c:7976 queue_exec: NO QUEUE_PRIO variable found. Using default.
[Jun 21 14:19:19] DEBUG[1686][C-00000000]: app_queue.c:8028 queue_exec: queue: customer_advocate, expires: 1498048759, priority: 0
[Jun 21 14:19:19] DEBUG[1686][C-00000000]: app_queue.c:3617 update_realtime_members: Queue customer_advocate has no realtime members defined. No need for update
[Jun 21 14:19:19] DEBUG[1686][C-00000000]: app_queue.c:3732 join_queue: Queue 'customer_advocate' Join, Channel 'SIP/400-00000000', Position '1'
[Jun 21 14:19:19] WARNING[1686][C-00000000]: config.c:3050 find_engine: Realtime mapping for 'queue_log' found to engine 'sqlite3', but the engine is not available
    -- Started music on hold, class 'default', on channel 'SIP/400-00000000'
[Jun 21 14:19:19] DEBUG[1686][C-00000000]: channel.c:3478 ast_settimeout_full: Scheduling timer at (50 requested / 50 actual) timer ticks per second
[Jun 21 14:19:19] DEBUG[1686][C-00000000]: app_queue.c:5299 is_our_turn: There are 0 available members.
[Jun 21 14:19:19] DEBUG[1686][C-00000000]: app_queue.c:5317 is_our_turn: It's not our turn (SIP/400-00000000).
[Jun 21 14:19:19] DEBUG[1686][C-00000000]: app_queue.c:3617 update_realtime_members: Queue customer_advocate has no realtime members defined. No need for update
[Jun 21 14:19:19] DEBUG[1686][C-00000000]: app_queue.c:2213 get_member_status: PJSIP/1102 is unavailable because his device state is 'invalid'
[Jun 21 14:19:19] DEBUG[1686][C-00000000]: app_queue.c:2213 get_member_status: PJSIP/1101 is unavailable because his device state is 'invalid'
[Jun 21 14:19:19] DEBUG[1686][C-00000000]: app_queue.c:2213 get_member_status: PJSIP/1115 is unavailable because his device state is 'invalid'
[Jun 21 14:19:19] WARNING[1686][C-00000000]: config.c:3050 find_engine: Realtime mapping for 'queue_log' found to engine 'sqlite3', but the engine is not available
[Jun 21 14:19:19] DEBUG[1686][C-00000000]: app_queue.c:4012 leave_queue: Queue 'customer_advocate' Leave, Channel 'SIP/400-00000000'
[Jun 21 14:19:19] DEBUG[1686][C-00000000]: pbx.c:4345 __ast_pbx_run: Spawn extension (test,111,3) exited non-zero on 'SIP/400-00000000'
  == Spawn extension (test, 111, 3) exited non-zero on 'SIP/400-00000000'
[Jun 21 14:19:19] DEBUG[1686][C-00000000]: channel.c:2582 ast_softhangup_nolock: Soft-Hanging (0x10) up channel 'SIP/400-00000000'
    -- Stopped music on hold on SIP/400-00000000
[Jun 21 14:19:19] DEBUG[1686][C-00000000]: channel.c:2731 ast_hangup: Hanging up channel 'SIP/400-00000000'
[Jun 21 14:19:19] DEBUG[1686][C-00000000]: chan_sip.c:7155 sip_hangup: Hangup call SIP/400-00000000, SIP callid 801acbd9b7334f45b8395391ebc9ffa0
[Jun 21 14:19:19] DEBUG[1686][C-00000000]: chan_sip.c:6768 update_call_counter: Updating call counter for incoming call


> call hangup after leaving app_queue
> -----------------------------------
>
>                 Key: ASTERISK-27065
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27065
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_queue
>    Affects Versions: 13.16.0
>         Environment: centos 7 64bit
> module CDR unloaded
> queue_log to Sqlite via realtime
>            Reporter: Marek Cervenka
>            Assignee: Benjamin Keith Ford
>
> call hangup after leaving queue testA
> dynamic agent paused in testA with unavailable device
> extensions.conf
> exten => _[*+#0-9].,n,Queue(testA,rt,,,20)
> exten => _[*+#0-9].,n,Queue(testB,rt,,,20)
> works ok in 13.15.0



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



More information about the asterisk-bugs mailing list