yash@yash-VirtualBox:~$ sudo su
[sudo] password for yash:
root@yash-VirtualBox:/home/yash# telnet 192.168.1.4 5038
Trying 192.168.1.4...
Connected to 192.168.1.4.
Escape character is '^]'.
Asterisk Call Manager/5.0.2
Action:login
Username:1101
Secret:123456
Response: Success
Message: Authentication accepted
Event: FullyBooted
Privilege: system,all
Uptime: 323
LastReload: 323
Status: Fully Booted
Event: SuccessfulAuth
Privilege: security,all
EventTV: 2021-01-13T10:03:59.318+0530
Severity: Informational
Service: AMI
EventVersion: 1
AccountID: 1101
SessionID: 0x7f3b5c000be0
LocalAddress: IPV4/TCP/0.0.0.0/5038
RemoteAddress: IPV4/TCP/192.168.1.4/37906
UsingPassword: 0
SessionTV: 2021-01-13T10:03:59.318+0530
I am working in AMI but When I action login its its authenticate but after my work done how to exit from AMI script.
I tried ctrl+c, esc, shift+: and :q but nothing worked.