[asterisk-users] how to get on hold events with AMI

Jerry Geis geisj at pagestation.com
Tue Jun 21 15:56:42 CDT 2011


I am getting events using asterisk 1.4.41. However, when I place a call 
on hold I do not get that event.

Some of the events I am getting I show below. I wish to monitor when 
channels are placed on hold
and taken off hold.

How do I that?

Thanks,

jerry

---------------------------------


Event: Newstate
Privilege: call,all
Channel: SIP/401-00000003
State: Up
CallerID: 401
CallerIDName: <unknown>
Uniqueid: 1308689635.3

Event: Newstate
Privilege: call,all
Channel: SIP/404-00000002
State: Up
CallerID: 204
CallerIDName: Jerry Geis
Uniqueid: 1308689635.2

Event: Link
Privilege: call,all
Channel1: SIP/404-00000002
Channel2: SIP/401-00000003
Uniqueid1: 1308689635.2
Uniqueid2: 1308689635.3
CallerID1: 204
CallerID2: 401

Event: PeerStatus
Privilege: system,all
Peer: SIP/404
PeerStatus: Registered



More information about the asterisk-users mailing list