Page tree
Skip to end of metadata
Go to start of metadata

Sometimes you need to check AMI connection. But how?

You can use Putty.exe or telnet as well.

With Putty.exe (For Windows), set these parameters like this:

Save your settings and connect and you should get a result like that.

Once connected, then you need to login in.

(<crlf> = Key Enter)

Action: login<crlf>
Username: admin<crlf>
Secret: xxxxxxxxxxxxxxxxxxxxxxxxxxx<crlf>
Response: Success
Message: Authentication accepted
Event: FullyBooted
Privilege: system,all
Status: Fully Booted

command: core show hints<crlf>
command: core show hints

Response: Follows
Privilege: Command

    -= Registered Asterisk Dial Plan Hints =-
[email protected]       : PJSIP/100&Custom:DND  State:Idle            Presence:                Watchers  1
[email protected]       : SIP/101&Custom:DND10  State:Unavailable     Presence:                Watchers  0
[email protected]       : SIP/102&Custom:DND10  State:Idle            Presence:                Watchers  1
[email protected]       : SIP/103&Custom:DND10  State:Unavailable     Presence:                Watchers  0
[email protected]       : PJSIP/207&Custom:DND  State:Unavailable     Presence:                Watchers  0
[email protected]       : PJSIP/206&Custom:DND  State:Unavailable     Presence:                Watchers  0
[email protected]       : PJSIP/205&Custom:DND  State:Unavailable     Presence:                Watchers  0
[email protected]       : PJSIP/204&Custom:DND  State:Unavailable     Presence:                Watchers  0
[email protected]       : PJSIP/203&Custom:DND  State:Idle            Presence:                Watchers  0
[email protected]       : PJSIP/202&Custom:DND  State:Unavailable     Presence:                Watchers  1
[email protected]       : PJSIP/201&Custom:DND  State:Idle            Presence:available       Watchers  1
*[email protected]    : park:[email protected]   State:Unavailable     Presence:not_set         Watchers  0
   - 74 hints registered

Sometimes you might get an error caused by a wrong character somewhere in the console, just press key Enter, and try to writte your command again.

in this example, i formated the result of core show hints, there's no <crlf> in this result.


With telnet, same thing. Just launch # telnet ip_address 5038

  • No labels