Allow
An example of the header is shown below:
Allow: REGISTER,OPTIONS,INVITE,ACK,CANCEL,BYE,NOTIFY,PRACK,REFER,INFO,SUBSCRIBE
The header properties are shown in the following table:
Header Level Action |
Add |
Delete |
Modify |
List Entries |
---|---|---|---|---|
Operations Supported |
Yes |
Yes |
No |
N/A |
Keyword |
Sub Types |
Attributes |
---|---|---|
N/A |
N/A |
Read/Write |
Below is a header manipulation example:
Rule: |
Add an Allow header to all INVITE messages: MessageManipulations 0 = 1, invite, , header.allow, 0, 'REGISTER,OPTIONS,INVITE,ACK,CANCEL,BYE,NOTIFY,PRACK,REFER,INFO,SUBSCRIBE, XMESSAGE', 0; |
Result: |
Allow: REGISTER,OPTIONS,INVITE,ACK,CANCEL,BYE,NOTIFY,PRACK,REFER,INFO,SUBSCRIBE, XMESSAGE |