Incomig call when doing outgoing

Hello,
When I make an outgoing call, I can be approached by the incoming queue.

when i doing outgoing call my satus not change on “INUSE”

sk-ast*CLI> pjsip show endpoint 98002

Endpoint: <Endpoint/CID…> <State…> <Channels.>
I/OAuth: <AuthId/UserName…>
Aor: <Aor…>
Contact: <Aor/ContactUri…> <Hash…> <RTT(ms)…>
Transport: <TransportId…> <BindAddress…>
Identify: <Identify/Endpoint…>
Match: <criteria…>
Channel: <ChannelId…> <State…> <Time…>
Exten: <DialedExten…> CLCID: <ConnectedLineCID…>

Endpoint: 98002 Not in use 1 of 1
InAuth: 98002/98002
Aor: 98002 1
Contact: 98002/sip:98002@192.168.76.39:5060;transpo 300621abf4 Avail 8.697
Transport: transport-udp udp 0 0 10.23.100.9:5060
Channel: PJSIP/98002-000049a4/Dial Ring 00:00:13
Exten: 8XXX4649266 CLCID: “” <8XXX4649266>

and queue status also does not change

sk-ast*CLI> queue show jira
jira has 0 calls (max unlimited) in ‘rrmemory’ strategy (0s holdtime, 0s talktime), W:1, C:0, A:3, SL:0.0% within 60s
Members:
PJSIP/98002 (ringinuse disabled) (dynamic) (Not in use) has taken no calls yet
No Callers

At this time, an incoming call may arrive

After comes an incoming call from the queue and status in queue change on “BUSY” and more incoming calls do not arrive

jira has 1 calls (max unlimited) in ‘rrmemory’ strategy (0s holdtime, 0s talktime), W:1, C:0, A:2, SL:0.0% within 60s
Members:
PJSIP/98002 (ringinuse disabled) (dynamic) (Busy) has taken no calls yet
Callers:
1. PJSIP/megafon-test-00004893 (wait: 1:18, prio: 0)

but it’s spoils statistics, I get missed calls.

How can I get rid of incoming calls at the time of the outgoing?

We used Asterisk 14.5.0 and PJSIP
PJPROJECT version currently running against: 2.6
Asterisk 14.5.0 built by root @ sk-ast on a x86_64 running Linux on 2017-06-30 10:31:19 UTC

There was a bug[1] in chan_pjsip where if we received early media we did not update the device state as expected. This will be fixed as of 13.17.0 and 14.6.0 which are currently in release candidate status.

[1] https://issues.asterisk.org/jira/browse/ASTERISK-27039

1 Like