Extension showing unavailable

i added new extension(1002) and call that extension through another extension(1001) its working, i added 1002 extension to queue then set ringall strategy for queue, ones i make the call to queue, 1002 is not ringing, In status showing unavailable
“1002 (PJSIP/1002) (ringinuse disabled) (realtime) (Unavailable) has taken no calls yet (login was 3810 secs ago)”

Can you please provide the relevant dialplan. I’m fairly sure you are not using “extension” in the way that Asterisk does, and may be using it for too different concepts, at once.

The only way that I can interpret this within the Asterisk meaning is if you have something like:

exten=>1,1002,Dial(Local/1001)

However, your queue output seems to be referring to endpoints, not extensions.

Thanks for reply…

Members:
1004 (PJSIP/1004) (ringinuse disabled) (realtime) (Unavailable) has taken no calls yet (login was 10212 secs ago)
1008 (PJSIP/1008) (ringinuse disabled) (realtime) (Unavailable) has taken no calls yet (login was 7422 secs ago)
1001 (PJSIP/1001) (ringinuse disabled) (realtime) (Unavailable) has taken 2 calls (last was 5956 secs ago) (login was 10212 secs ago)
1002 (PJSIP/1002) (ringinuse disabled) (realtime) (Not in use) has taken 6 calls (last was 8920 secs ago) (login was 10212 secs ago)
1006 (PJSIP/1006) (ringinuse disabled) (realtime) (Not in use) has taken no calls yet (login was 10212 secs ago)
1003 (PJSIP/1003) (ringinuse disabled) (realtime) (Not in use) has taken no calls yet (login was 10212 secs ago)
1007 (PJSIP/1007) (ringinuse disabled) (realtime) (Not in use) has taken no calls yet (login was 7635 secs ago)
No Callers

iam using ARI,1008 is newly add one its showing unavailable in queue but if i make call through extenction its working.

How are you using ARI? Do you mean push configuration? If so, that may be the reason for it. That is not a widely used solution and it is entirely possible there are issues such as this.

Thanks for reply…
I wrote set of code for manage call flow using ARI (like await channel.ring() await asyncio.sleep(2) await channel.answer()) and iam not use the push configuration

What does “pjsip show endpoints” show? Do the devices register? What version of Asterisk?

Thanks for reply…
finally I got the solution,
In ps_aors table I update some values for extension recode

column->value
minimum_expiration->60
qualify_frequency->60
maximum_expiration->300
qualify_timeout->20

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.