Status rejected

Hi,
Can you tell when asterisk returns ‘Rejected’ from sip show registry? I thought it is returning while provider address is unavailable or drops sip packets, but i have ‘Request Sent’ state for all cases except ‘No authentication’ and ‘Registered’.

It would be more useful to simply look at the SIP trace for your actual case. It probably covers everything except OK and authentication required, although it might also except permission denied.

i’m trying to parse providers states from this command (sip show registry) for user interface… So when there is ‘Request Sent’ all the time it’s not so good(doesn’t matter actually). But i simply can’t understand when ‘Rejected’ returns, one time i had this state but after i couldn’t repeat it.