Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    from (New Transaction Policy)

    Syntax

    from {contact {registration-state [ registered | not-registered ];regular-expression [ regular-expression ];uri-hiding [ hidden-uri | not-hidden-uri ];}method {method-invite;method-message;method-options;method-publish;method-refer;method-register;method-subscribe;}request-uri {registration-state [ registered | not-registered ];regular-expression [ regular-expression ];uri-hiding [ hidden-uri | not-hidden-uri ];}source-address [ ip-addresses ];}

    Hierarchy Level

    [edit services border-signaling-gateway gateway gateway-name sip new-transaction-policy policy-name term term-name]

    Release Information

    Statement introduced in Junos OS Release 9.4.

    regular-expression options introduced in Junos OS Release 9.5.

    Description

    Configure match conditions for a new transaction policy.

    Options

    contact—Match the contents of the contact field. Contact field matching is based on regular expressions.

    registration-state—Select transactions based on whether the BSG passed a SIP register message for the transaction to a SIP registrar.

    Values:

    • registered—Select transactions for which the BSG passed a SIP register message to a SIP registrar.
    • not-registered—Select transactions for which the BSG did not pass a SIP register message to a SIP registrar.

    regular expression [ regular-expression ]—Regular expression used to match the contents of the contact field.

    Syntax: To specify more than one regular expression, enclose the regular expressions in brackets.

    uri-hiding—Select transactions based on whether contact URIs are hidden.

    Values:

    • hidden-uri—Select transactions for which the contact URI is hidden.
    • unhidden-uri—Select transactions for which the contact URI is not hidden.

    method—Match the type of SIP method.

    Syntax: To specify multiple SIP methods, use separate set statements.

    request-uri—Match the contents of the uniform resource identifier (URI) in the SIP message request. Request URI matching is based on regular expressions.

    registration-state—Select transactions based on whether the transactions are from registered request URIs.

    Values:

    • registered—Select transactions for which the contact URI is hidden.
    • unhidden-uri—Select transactions for the contact URI is not hidden.

    regular expression [ regular-expression ] —Regular expression used to match the contents of the request URI field.

    Syntax: To specify more than one regular expression, enclose the regular expressions in brackets.

    source-address—Match the source address of the SIP request.

    [ ip-addresses ]—IP addresses that you want to match.

    Syntax: To specify more than one IP address, enclose the IP addresses in brackets.

    Required Privilege Level

    interface—To view this statement in the configuration.

    interface-control—To add this statement to the configuration.

    Published: 2012-06-27