Exporting

The SIP manipulation configuration contains an export command which sends the previously selected configuration to the designated file. The syntax is export [FILENAME]. The system compresses the file with gzip and writes it to the /code/imports directory.

Note:

SIP manipulation configurations can only be exported one at a time.

Exported data will look like this:

<?xml version='1.0' standalone='yes'?>
<sipManipulation
        name='manip'
        description=''
        lastModifiedBy='admin@console'
        lastModifiedDate='2009-10-16 14:16:29'>
        <headerRule
                headerName='Foo'
                msgType='any'
                name='headerRule'
                action='manipulate'
                cmpType='boolean'
                matchValue='$REGEX("[bB][A-Za-z]{2}")'
                newValue='foo'
                methods='INVITE'>
        </headerRule>
</sipManipulation>

To avoid conflicts when importing, the key and object ID are not included as part of the exported XML.