Oracle Server E10293-02 Uživatelský manuál Strana 31

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 108
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 30
Configuring SIP Applications in sip.xml
SIP Servlets 2-17
Table 2–3 describes the variable values.
The following example evaluates to false.
<pattern>
<and>
<equal>
<var>request.method</var>
<value>MESSAGE</value>
</equal>
<contains>
<var>request.from</var>
<value>tag=1234</value>
</contains>
<equal>
<var>request.uri.host</var>
<value>otherexample.com</value>
</equal>
</and>
</pattern>
The first condition, equal, evaluates to true. The second condition, contains, also
evaluates to true. The third condition ensures that it only serves requests for the
otherexample.com but the request URI host is example.com and then it evaluates
Table 2–3 Variable Values
Variable Value
request.method MESSAGE
request.uri sip:[email protected]
request.uri.scheme sip
request.uri.user bob
request.uri.host example.com
request.uri.port 5060
request.uri.tel
request.from "Alice" <sip:a[email protected]om>;tag=1234
request.from.uri sip:[email protected]
request.from.uri.scheme sip
request.from.uri.user alice
request.from.uri.host example.com
request.from.uri.port 5060
request.from.display-name Alice
request.to sip:[email protected]
request.to.uri sip:[email protected]
request.to.uri.scheme sip
request.to.uri.user bob
request.to.uri.host example.com
request.to.uri.port 5060
request.to.display-name
Zobrazit stránku 30
1 2 ... 26 27 28 29 30 31 32 33 34 35 36 ... 107 108

Komentáře k této Příručce

Žádné komentáře