Exit Asterisk CLI

Hello - this should be an easy one !

How can one quit the asterisk CLI WITHOUT stopping A* ?

ie -> start a*
asterisk -c
CLI> show sip peers --or whatever

how do I exit the CLI and return to the unix prompt, leaving asterisk running ?


you do not start asterisk with asterisk -c
you start asterisk just with asterisk, then you can connect to the cli with asterisk -rvvvvvvvvv
if you wan’t to exit the cli just type exit

thanks - assuming i’ve been careless, and launched with -c… any way to exit the CLI (except a stop gracefully) ?