Create SIP Trigger

HTTP Method

POST

URI

http(s)://<serverIP/hostname/FQDN>/adminapi/sipTrigger

Example URI

http(s)://10.10.10.10/adminapi/sipTrigger

Content Type

Application/XML, Application/JSON

HTTP Success Code

201

HTTP Failure Codes

400, 401, 405, 409

Success Response

HTTP/1.1 200 OK


<sipTrigger>
    <self rel="self" href="https://10.10.10.10/adminapi/sipTrigger/919191*" type="sipTrigger"/>
    <directoryNumber>919191*</directoryNumber>
    <locale>en_US</locale>
    <application name="ringtone">
        <refURL>https://10.10.10.10/adminapi/application/ringtone</refURL>
    </application>
    <description>ringtone</description>
    <callControlGroup name="0">
        <refURL>https://10.10.10.10/adminapi/callControlGroup/0</refURL>
    </callControlGroup>
    <triggerEnabled>true</triggerEnabled>    
    <idleTimeout>5000</idleTimeout>
    <overrideMediaTermination>        
        <dialogGroup name="0">
            <refURL>https://10.10.10.10/adminapi/dialogGroup/0</refURL>
        </dialogGroup>
    </overrideMediaTermination>
</sipTrigger>
Note

For Standalone, Comprehensive, and VRU-only applications, set dialogGroup element attribute as 1. For example, <dialogGroup name ="1">. This will select default as MRCP dialog group.

For Ringtone and Error applications, set dialogGroup element attribute as 0. For example, <dialogGroup name ="0">. This will select default as CMT.