<div>When I execute the ACTION commands set then the EVENT would response back. How would I know which ACTION are they belong/reference to?</div><div><br></div><div>For example:</div><div><br></div><div>ACTION: Originate</div>
<div>Channel: SIP/test</div><div>Exten: 215</div><div>Timeout: 30000</div><div>Context: test</div><div>Priority: 1</div><div>ActionID: 111112222333</div><div><br></div><div>Response: Success</div><div>ActionID: 111112222333</div>
<div>Message: Originate successfully queued</div><div><br></div><div><br></div><div>EVENT response when I hang up the call:</div><div><br></div><div>Event: Hangup</div><div>Privilege: call,all</div><div>Channel: SIP/test-0000007f</div>
<div>Uniqueid: 1336690030.189</div><div>CallerIDNum: <unknown></div><div>CallerIDName: <unknown></div><div>Cause: 16</div><div>Cause-txt: Normal Clearing</div><div><br></div><div><br></div><div>As you can see, how would I know which which ACTION was that belong to? </div>
<div><br></div><div>If I were coding in PHP (AMI) to Originate the calls then I want to detect which call hanged up.</div><div><br></div><div><br></div><div>Thanks</div><div><br></div>