alt-route-reasons-rules
This command configures the Alternative Reasons Rules table, which lets you define SIP response codes per Alternative Reasons Set. The table is a child of the Alternative Reasons Set table.
Syntax
(config-voip)# sbc routing alt-route-reasons-set <Index> (alt-route-reasons-set-<Index>)# alt-route-reasons-rules <Index>
(alt-route-reasons-rules-<Index/Index>)
Command |
Description |
---|---|
Index |
Defines the table row index. |
rel-cause-code {400-bad-req|402-payment-req|403-forbidden|404-not-found|405-method-not-allowed|406-not-acceptable|408-req-timeout|409-conflict|410-gone|413-req-too-large|414-req-uri-too-long|415-unsup-media|420-bad-ext|421-ext-req|423-session-interval-too-small|480-unavail|481-transaction-not-exist|482-loop-detected|483-too-many-hops|484-address-incomplete|485-ambiguous|486-busy|487-req-terminated|488-not-acceptable-here|491-req-pending|493-undecipherable|4xx|500-internal-err|501-not-implemented|502-bad-gateway|503-service-unavail|504-server-timeout|505-version-not-supported|513-message-too-large|5xx|600-busy-everywhere|603-decline|604-does-not-exist-anywhere|606-not-acceptable|6xx|805-admission-failure|806-media-limits-exceeded|850-signalling-limits-exceeded} |
Defines a SIP response code for triggering the device's alternative routing mechanism. |
Command Mode
Privileged User
Example
This example configures alternative routing when SIP response code 606 (Not Acceptable) is received:
(config-voip)# sbc routing alt-route-reasons-set 0 (alt-route-reasons-set-0)# alt-route-reasons-rules 0 (alt-route-reasons-rules-0/0)# rel-cause-code 606-not-acceptable (alt-route-reasons-rules-0/0)# activate