TCAP Abort

Introduction

An SCP Lua script may request that the call be deliberately ended using TCAP_ABORT on the SSP transaction. Any open external SRF transction will also be ended according to the applicable SRF configuration.

No further telephony methods are permitted after performing tcap_abort.

The LhoScpLuaService TCAP Abort API

.tcap_abort

The tcap_abort method takes the following arguments:

Attribute Type Description
u_info_0_octets String Specify content for the TCAP_ABORT user-information[0].encoding.octet-aligned information element.
By convention this is a brief error description.

The tcap_abort method returns true immediately.

Example:

local n2svcd = require "n2.n2svcd"
local scp_api = require "n2.n2svcd.scp"

local scp_call = ...

scp_api.tcap_abort ("SERVICE SPECIFIED")

return