Hello Everyone,
its bee a while…
anyway, may i ask any hint or idea how to catch the Event particularly in originate response?
i like to use this in my callback script. i already created the code to make the 2 endpoints to talk using Mono. Now what i want is to catch the Action originateresponse so i can update the calling script that the callback is successful done or not… i believe the there are 3 State Events in originating a call like State:Rsvd, State:Dialing and State: Up with
Response: Success
ActionID: 3
Message: Originate successfully queued
Event: Newchannel
Privilege: call,all
Channel: Zap/4-1
State: Rsrvd
CallerIDNum:
CallerIDName:
Uniqueid: 1238404472.47408
Event: Newcallerid
Privilege: call,all
Channel: Zap/4-1
CallerID:
CallerIDName:
Uniqueid: 1238404472.47408
CID-CallingPres: 0 (Presentation Allowed, Not Screened)
Event: Newstate
Privilege: call,all
Channel: Zap/4-1
State: Dialing
CallerID:
CallerIDName:
Uniqueid: 1238404472.47408
Event: Newstate
Privilege: call,all
Channel: Zap/4-1
State: Up
CallerID:
CallerIDName:
Uniqueid: 1238404472.47408
Response: Goodbye
ActionID: 2
Message: Thanks for all the fish.
Connection to server lost.
in that verbosity id like to catch the State of the Action Originate
i have read more about jabber but im in the middle of Mono/C# development so anyone there have similar scenario or have an idea to solve this?
Thanks