I have in my dialplan several Queues with members in a local channel. Unfortunately the local channel doesn’t show any status and my queue doesn’t detect the “inuse” status.
I need to use Local Channel because i can set redirection to voicemail or anything else. My dialplan is generated dynamically by a PHP script.
queue-ludo-14 has 0 calls (max unlimited) in 'ringall' strategy (1s holdtime, 0s talktime), W:0, C:6, A:2, SL:0.0%, SL2:0.0% within 0s Members: Local/ludo-103@group-ludo (ringinuse disabled) (Not in use) has taken no calls yet Local/ludo-104@group-ludo (ringinuse disabled) (Not in use) has taken 6 calls (last was 804 secs ago)
[queue-ludo-14] musiconhold=ludo-decroche_wav strategy=ringAll timeout=0 retry=0 maxlen=0 wrapuptime= joinempty=yes leavewhenempty=no ringinuse=no member => Local/ludo-103@group-ludo member => Local/ludo-104@group-ludo
> exten => s,1,Set(CHANNEL(musicclass)=ludo-decroche_wav) > exten => s,n,Queue(queue-ludo-14,tTn)) > exten => s,n,VoiceMail(ludo-102@ludo) > same => n,Return() > > ..... > > [group-ludo] > exten => ludo-102,1,Set(__PICKUPMARK=ludo-102) > exten => ludo-102,n,Dial(PJSIP/ludo-102,) > exten => ludo-103,1,Set(__PICKUPMARK=ludo-103) > exten => ludo-103,n,Dial(PJSIP/ludo-103,) > exten => ludo-101,1,Set(__PICKUPMARK=ludo-101) > exten => ludo-101,n,Dial(PJSIP/ludo-101,) > exten => ludo-104,1,Set(__PICKUPMARK=ludo-104) > exten => ludo-104,n,Dial(PJSIP/ludo-104) > exten => ludo-104,hint,PJSIP/ludo-104
The documentation say Local channel does not have state but add hint manually is possible.
When i call, the Queue detect only the ringing, after answering there the member of the queue still “Not is use” while the call…
The hint works well:
ludo-104@group-ludo : PJSIP/ludo-104 State:Idle Presence:not_set Watchers 0
Or in call:
ludo-104@group-ludo : PJSIP/ludo-104 State:InUse Presence:not_set Watchers 0
If someone have any idea of where is my problem ?
Thank for your time, have a nice day.