OSPAuth([provider,[options]])
Full arguments reference
-
provider- The name of the provider that authenticates the call. -
options- Reserverd.
Authenticate a call by OSP.
Input variables:
-
OSPINPEERIP- The last hop IP address. -
OSPINTOKEN- The inbound OSP token.
Output variables: -
OSPINHANDLE- The inbound call OSP transaction handle. -
OSPINTIMELIMIT- The inbound call duration limit in seconds.
This application sets the following channel variable upon completion: -
OSPAUTHSTATUS- The status of OSPAuth attempt as a text string, one of-
SUCCESS -
FAILED -
ERROR
-
-
provider- The name of the provider that authenticates the call. -
options- Reserverd.
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.