Avaya 4600 Series Uwagi o Aplikacji Strona 51

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 206
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 50
The Audio Push Type
Issue 1 April 2005 51
The code excerpt associated with Audio Push Example: (the hotel wake-up message), which
will be sent as part of the Push Message, is as follows:
Push Agent
Once a Push Message is received from the Push Initiator, the Push Agent first parses the XML
file for validation and tag mismatch errors. Then the Push Agent verifies that the URL in the
<go> tag is part of the Trusted Push Servers. Then the Push Agent requests the Push Content
from the Trusted Push Server using the URL.
Note:
Note: For more information on Trusted Push Servers, see Security on page 59.
Audio Push Content (PC)
A special XML file for RTP streaming must initiate Audio push.
<!– Following is the XML Push Request Message sent as a POST request embedded as part of form data -->
XMLData = <?xml version="1.0"?>
<Push alert=“3” type=“audio” mode=“barge”>
<go href=“http://trusted_push_server/wake_up.xml” method=“get”>
</go>
</Push>
<!– The above message is part of the form data (XMLData) being sent in Step 1 request -->
<?xml version="1.0"?>
<Response>
<Audio
packetsize=”10|20|30|40|50|60”
codec = “PCMU | PCMA”
>
<AudioTimer value="30"/>
<Url href=”RTPRx://rtpserver_ip_address:rtpLPort”>
</Audio>
</Response>
Przeglądanie stron 50
1 2 ... 46 47 48 49 50 51 52 53 54 55 56 ... 205 206

Komentarze do niniejszej Instrukcji

Brak uwag