Hello everyone.
given the following test dialplan, if two users are on the phone, and a third user calls, it always rings free. If say user A and user B are on the phone, and user C calls user A asterisk should tell me that it is busy immediately. Am I wrong?
[from-internal]
exten => _5XX,s,Set(NEWEXTEN=+3905773755${EXTEN:1})
exten => _5XX,n,GoTo(dial-direct)
exten => _X.,s,GoTo(invalid-number)exten => _X.,n(dial-direct),Dial(PJSIP/${NEWEXTEN})
exten => _X.,n,NoOp(DIALSTATUS: ${DIALSTATUS})
exten => _X.,n,Goto(s-${DIALSTATUS},1)
exten => _X.,n,Hangup()exten => _X.,n(invalid-number),Playback(invalid)
exten => _X.,n,Hangup()exten => s-BUSY,1,Playback(busy)
exten => _X.,n,Hangup()