Hi,
I have realtime queue confugured in asterisk(18.6.0) in which member logging in dynamically.
The problem i am facing is whenever any member put himself on break the endpoint state is not changing. Asterisk keeps showing state as “Not In Use”.
hyd-engagely-worker-1*CLI> queue show Hyd_noconnectivity
Hyd_noconnectivity has 0 calls (max unlimited) in ‘leastrecent’ strategy (0s holdtime, 0s talktime), W:0, C:0, A:0, SL:0.0%, SL2:0.0% within 0s
Members:
PJSIP/4011 (ringinuse disabled) (dynamic) (Not in use) has taken no calls yet
No Callers
hyd-engagely-worker-1CLI> queue pause member PJSIP/4011
paused interface ‘PJSIP/4011’
hyd-engagely-worker-1CLI>
hyd-engagely-worker-1CLI>
hyd-engagely-worker-1CLI>
hyd-engagely-worker-1*CLI> queue show Hyd_noconnectivity
Hyd_noconnectivity has 0 calls (max unlimited) in ‘leastrecent’ strategy (0s holdtime, 0s talktime), W:0, C:0, A:0, SL:0.0%, SL2:0.0% within 0s
Members:
PJSIP/4011 (ringinuse disabled) (dynamic) (paused was 5 secs ago) (Not in use) has taken no calls yet
No Callers
Below are my configurations for queue, endpoint and dialplan not sure where i am missing the configuration. Please help me to understand as i tried multiple ways to figure this out.
My queue configuration is,
MariaDB [asterisk]> select * from queues where name=“Hyd_noconnectivity”\G
*************************** 1. row ***************************
name: Hyd_noconnectivity
musiconhold: excitel-hyd-support
announce: NULL
context:
timeout: 15
ringinuse: no
setinterfacevar: NULL
setqueuevar: NULL
setqueueentryvar: NULL
monitor_format: wav
membermacro: NULL
membergosub: NULL
queue_youarenext:
queue_thereare:
queue_callswaiting:
queue_quantity1: NULL
queue_quantity2: NULL
queue_holdtime: excitel_hyd/YourWaitTime_de
queue_minutes: NULL
queue_minute: NULL
queue_seconds: NULL
queue_thankyou:
queue_callerannounce: NULL
queue_reporthold: NULL
announce_frequency: 5
announce_to_first_user: NULL
min_announce_frequency: 20
announce_round_seconds: NULL
announce_holdtime: no
announce_position: no
announce_position_limit: NULL
periodic_announce:
periodic_announce_frequency: 60
relative_periodic_announce: yes
random_periodic_announce: no
retry: 2
wrapuptime: 5
penaltymemberslimit: NULL
autofill: yes
monitor_type: MixMonitor
autopause: no
autopausedelay: 0
autopausebusy: no
autopauseunavail:
maxlen: 0
servicelevel: NULL
strategy: leastrecent
joinempty: strict
leavewhenempty: strict
reportholdtime: no
memberdelay: 0
weight: NULL
timeoutrestart: NULL
defaultrule: NULL
timeoutpriority: NULL
1 row in set (0.00 sec)
My Endpoint configuration is,
MariaDB [asterisk]> select * from ps_endpoints where id=4011\G
*************************** 1. row ***************************
id: 4011
transport: transport-ws
aors: 4011
auth: 4011
context: outbound
disallow: all
allow: ulaw,alaw
direct_media: no
connected_line_method: NULL
direct_media_method: NULL
direct_media_glare_mitigation: NULL
disable_direct_media_on_nat: NULL
dtmf_mode: rfc4733
external_media_address: NULL
force_rport: NULL
ice_support: yes
identify_by: NULL
mailboxes: 4011@default
moh_suggest: NULL
outbound_auth: NULL
outbound_proxy: NULL
rewrite_contact: NULL
rtp_ipv6: NULL
rtp_symmetric: NULL
send_diversion: NULL
send_pai: NULL
send_rpid: NULL
timers_min_se: NULL
timers: no
timers_sess_expires: NULL
callerid: NULL
callerid_privacy: NULL
callerid_tag: NULL
100rel: NULL
aggregate_mwi: NULL
trust_id_inbound: NULL
trust_id_outbound: NULL
use_ptime: NULL
use_avpf: yes
media_encryption: dtls
inband_progress: NULL
call_group: NULL
pickup_group: NULL
named_call_group: NULL
named_pickup_group: NULL
device_state_busy_at: 1
fax_detect: NULL
t38_udptl: NULL
t38_udptl_ec: NULL
t38_udptl_maxdatagram: NULL
t38_udptl_nat: NULL
t38_udptl_ipv6: NULL
tone_zone: NULL
language: NULL
one_touch_recording: NULL
record_on_feature: NULL
record_off_feature: NULL
rtp_engine: NULL
allow_transfer: NULL
allow_subscribe: NULL
sdp_owner: NULL
sdp_session: NULL
tos_audio: NULL
tos_video: NULL
sub_min_expiry: NULL
from_domain: NULL
from_user: NULL
mwi_from_user: NULL
dtls_verify: fingerprint
dtls_rekey: NULL
dtls_cert_file: /etc/asterisk/keys/asterisk.pem
dtls_private_key: NULL
dtls_cipher: NULL
dtls_ca_file: /etc/asterisk/keys/ca.crt
dtls_ca_path: NULL
dtls_setup: actpass
srtp_tag_32: NULL
media_address: NULL
redirect_method: NULL
set_var: NULL
cos_audio: NULL
cos_video: NULL
message_context: NULL
force_avp: NULL
media_use_received_transport: yes
accountcode: NULL
user_eq_phone: NULL
moh_passthrough: NULL
media_encryption_optimistic: NULL
rpid_immediate: NULL
g726_non_standard: NULL
rtp_keepalive: NULL
rtp_timeout: NULL
rtp_timeout_hold: NULL
bind_rtp_to_media_address: NULL
voicemail_extension: NULL
mwi_subscribe_replaces_unsolicited: NULL
deny: NULL
permit: NULL
acl: NULL
contact_deny: NULL
contact_permit: NULL
contact_acl: NULL
subscribe_context: outbound
fax_detect_timeout: NULL
contact_user: NULL
preferred_codec_only: NULL
asymmetric_rtp_codec: NULL
rtcp_mux: yes
allow_overlap: NULL
refer_blind_progress: NULL
notify_early_inuse_ringing: NULL
max_audio_streams: NULL
max_video_streams: NULL
webrtc: yes
dtls_fingerprint: NULL
incoming_mwi_mailbox: NULL
bundle: NULL
dtls_auto_generate_cert: NULL
follow_early_media_fork: NULL
accept_multiple_sdp_answers: NULL
suppress_q850_reason_headers: NULL
trust_connected_line: NULL
send_connected_line: NULL
ignore_183_without_sdp: NULL
codec_prefs_incoming_offer: NULL
codec_prefs_outgoing_offer: NULL
codec_prefs_incoming_answer: NULL
codec_prefs_outgoing_answer: NULL
stir_shaken: NULL
send_history_info: NULL
allow_unauthenticated_options: NULL
1 row in set, 2 warnings (0.01 sec)
My Extensions.conf for outbound is,
[outbound]
exten => 4011,hint,Queue:Hyd_noconnectivity_pause_PJSIP/4011