
TIONAL, INC.
18 Enterprise SIP Server Tutorial – Dial Plan
s-tut-dp1.51-041228
3.7. Filtering based on the Destination SIP-URI
The destination SIP-URI can be found in the To: header field.
3.7.1. If the destination SIP-URI is sip:user@domain, refuse the call
$request=^INVITE
to=sip:user@domain
3.7.2. If the destination domain is “gw1”, route the call to “gw2”
$request=^INVITE
to=sip:(.+)@gw1[ >;]*
3.7.3. If the destination User Name is 1000, route the call to sip:ivr@domain
$request=^INVITE
to=sip:1000@
3.7.4. If the destination User Name’s prefix is 650, the prefix is removed from the
User Name and the call is routed to the “domain”
$request=^INVITE
to=sip:650(.+)@
Komentáře k této Příručce