Logout user pjsip

Hi,

Is there any way to logout an asterisk PJSIP account? for example. I have an account PJSIP / 1000 I would like to make an asterisk (unregistred) logout so that it cannot send or receive calls and the client has to login again

There is no such functionality. The most that would be possible is removing the unregistration, but that doesn’t notify the client and they could still place calls.

1 Like

Is there any alternative to block the sip account so that you do not receive calls or make calls?

Detect it programmatically in the dialplan. Dynamically add and remove it using CLI, or by editing and reloading the .conf file.

1 Like