Skip to content

Instantly share code, notes, and snippets.

Created January 13, 2009 17:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/46528 to your computer and use it in GitHub Desktop.
Save anonymous/46528 to your computer and use it in GitHub Desktop.
mayluc:test-events jsgoecke$ ahn -
INFO ahn: Adhearsion initialized!
DEBUG ami: Sending AMI action:
>>> Action: login
>>> ActionID: Lcyfct4d-ghil-tZip-zbl8-1o9zTPC7zY90
>>> Username: hammer
>>> Secret: 1234
>>> Events: Off
>>>
INFO ami: Successful AMI actions-only connection into hammer@127.0.0.1
INFO ami: Successful AMI events-only connection into hammer@127.0.0.1
INFO events: #<Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0x1a99b64 @headers={"Message"=>"Reload Requested", "Privilege"=>"system,all"}, @name="Reload">
INFO events: #<Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0x1a8f524 @headers={"Peer_Count"=>"2", "Registry_Count"=>"0", "Channel"=>"SIP", "Privilege"=>"system,all", "ReloadReason"=>"RELOAD (Channel module reload)", "User_Count"=>"2"}, @name="ChannelReload">
^C INFO ahn: Shutting down gracefully at Tue Jan 13 09:24:24 -0800 2009.
mayluc:test-events jsgoecke$ jahn -
INFO ahn: Adhearsion initialized!
DEBUG ami: Sending AMI action:
>>> Action: login
>>> ActionID: DplC8fJZ-hVHd-E3p1-N8Mh-sfufm9MHlE4Q
>>> Username: hammer
>>> Secret: 1234
>>> Events: Off
>>>
INFO ami: Successful AMI actions-only connection into hammer@127.0.0.1
INFO ami: Successful AMI events-only connection into hammer@127.0.0.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment