Creates a SIP Contact Registrant Entry with a specific Entry ID in a SIP Contact Registrant Table.
https://134.56.227.163/rest/sipcontactregistrant/{identifier}/sipregistrantentry/{identifier}
PUT
true
Parameter Name | Required | Service Affecting | Data Type | Default Value | Possible Values | Description |
---|---|---|---|---|---|---|
AorType | No | No | Enum | 1 | Possible values:
| URI Host Type. Local: Host will be the local IP/FQDN and will use SIP Profile for From Header format. Format of AOR field-> protocol:user Remote: Host will be the Server IP and will use SIP Profile for From header field. Format of AOR field->protocol:user Static: Allow user to enter the full AOR and use this in to/from headers. * Will not use the SIP Profile. Format of AOR field-> protocol:user@host |
AOR | Yes | No | string | none | 512 - Max Length |
Identifies the address of record for this client to be registered to the SIP server.
If Type of Address of Record is set to Static, the URI must contain protocol:user@host , for example: sip:17324609000@remoterserver.com
|
AorTtl | No | No | int | 60 | Specifies how long contacts registered are valid. The global TTL applies to all contacts registered unless an individual contact contains a seperate time to live. | |
FailedRegistrationRetryTimer | Yes | No | int | 120 | Possible values:
| Interval to wait after a failed outgoing registration to try again. In seconds. |
TTL1 | No | No | int | 60 | Time To Live value. | |
Q1 | No | No | int | 100 | q-value, priority for processing order, value from 0 to 100. | |
URI1 | No | No | string | none | 512 - Max Length | Uniform Resource Identifier(URI),SIP URI per RFC3261. |
TTL2 | No | No | int | 60 | Time To Live value. | |
Q2 | No | No | int | 100 | q-value, priority for processing order, value from 0 to 100. | |
URI2 | No | No | string | none | 512 - Max Length | Uniform Resource Identifier(URI),SIP URI per RFC3261. |
TTL3 | No | No | int | 60 | Time To Live value. | |
Q3 | No | No | int | 100 | q-value, priority for processing order, value from 0 to 100. | |
URI3 | No | No | string | none | 512 - Max Length | Uniform Resource Identifier(URI),SIP URI per RFC3261. |
TTL4 | No | No | int | 60 | Time To Live value. | |
Q4 | No | No | int | 100 | q-value, priority for processing order, value from 0 to 100. | |
URI4 | No | No | string | none | 512 - Max Length | Uniform Resource Identifier(URI),SIP URI per RFC3261. |
TTL5 | No | No | int | 60 | Time To Live value. | |
Q5 | No | No | int | 100 | q-value, priority for processing order, value from 0 to 100. | |
URI5 | No | No | string | none | 512 - Max Length | Uniform Resource Identifier(URI),SIP URI per RFC3261. |
TTL6 | No | No | int | 60 | Time To Live value. | |
Q6 | No | No | int | 100 | q-value, priority for processing order, value from 0 to 100. | |
URI6 | No | No | string | none | 512 - Max Length | Uniform Resource Identifier(URI),SIP URI per RFC3261. |
TTL7 | No | No | int | 60 | Time To Live value. | |
Q7 | No | No | int | 100 | q-value, priority for processing order, value from 0 to 100. | |
URI7 | No | No | string | none | 512 - Max Length | Uniform Resource Identifier(URI),SIP URI per RFC3261. |
TTL8 | No | No | int | 60 | Time To Live value. | |
Q8 | No | No | int | 100 | q-value, priority for processing order, value from 0 to 100. | |
URI8 | No | No | string | none | 512 - Max Length | Uniform Resource Identifier(URI),SIP URI per RFC3261. |
curl --cookie PHPSESSID=cuc2h83fqaispmu6m519sa5642 -s -k -i https://134.56.72.218/rest/sipcontactregistrant/1/sipregistrantentry/1 -X PUT --data "ConfigIEState=1&AOR=rest_test&FailedRegistrationRetryTimer=120&AorTtl=3600&TTL8=60&TTL7=60&TTL6=60&TTL5=60&TTL4=60&AorType=2&TTL3=60&TTL2=60&TTL1=0&Q5=100&URI5=&URI4=&Q6=100&URI7=&Q7=100&Q8=100&URI6=&Q1=0&URI8=&Q2=100&Q3=100&Q4=100&URI1=someone&URI3=&URI2="
<?xml version="1.0"?> <root> <status> <http_code>500</http_code> <app_status href="https://134.56.72.218/rest/sipcontactregistrant/1/sipregistrantentry/1"> <app_status_entry code="20013" params="1:1|SIPRegistration"/> </app_status> </status> </root>