OSPFinish([cause,[options]])
Full arguments reference
-
cause- Hangup cause. -
options- Reserved.
Report call state.
Input variables:
-
OSPINHANDLE- The inbound call OSP transaction handle. -
OSPOUTHANDLE- The outbound call OSP transaction handle. -
OSPAUTHSTATUS- The OSPAuth status. -
OSPLOOKUPSTATUS- The OSPLookup status. -
OSPNEXTSTATUS- The OSPNext status. -
OSPINAUDIOQOS- The inbound call leg audio QoS string. -
OSPOUTAUDIOQOS- The outbound call leg audio QoS string.
This application sets the following channel variable upon completion: -
OSPFINISHSTATUS- The status of the OSPFinish attempt as a text string, one of-
SUCCESS -
FAILED -
ERROR
-
-
cause- Hangup cause. -
options- Reserved.
User Notes
Know a tip or gotcha for this topic? Share it below and help others.
Contribute a note
Share a tip, gotcha, or practical example. Keep it under 2000 characters. No questions (use the Asterisk community forums for support). Wrap code in backticks.