Figure 5-16 SIP and SDP offer/answer model in .NET

Printer DataMatrix in .NET Figure 5-16 SIP and SDP offer/answer model

Figure 5-16 SIP and SDP offer/answer model
Print Data Matrix ECC200 In .NET Framework
Using Barcode generation for .NET Control to generate, create Data Matrix ECC200 image in VS .NET applications.
DataMatrix Decoder In Visual Studio .NET
Using Barcode scanner for .NET framework Control to read, scan read, scan image in Visual Studio .NET applications.
Daniel<sip:Collins@station1workcom>
Creating Barcode In VS .NET
Using Barcode drawer for VS .NET Control to generate, create bar code image in VS .NET applications.
Bar Code Reader In .NET Framework
Using Barcode scanner for VS .NET Control to read, scan read, scan image in Visual Studio .NET applications.
5
ECC200 Printer In Visual C#
Using Barcode encoder for Visual Studio .NET Control to generate, create DataMatrix image in VS .NET applications.
Painting Data Matrix In .NET
Using Barcode printer for ASP.NET Control to generate, create ECC200 image in ASP.NET applications.
Boss<sip:Manager@station2workcom>
Generating Data Matrix In VB.NET
Using Barcode generator for VS .NET Control to generate, create DataMatrix image in .NET framework applications.
EAN13 Drawer In Visual Studio .NET
Using Barcode printer for .NET framework Control to generate, create EAN13 image in VS .NET applications.
INVITE sip:manager@station2workcom SIP/20 CSeq: 1 INVITE Content-Length: 183 Content-Type: application/sdp Content-Disposition: session v=0 o=collins 123456 001 IN IP4 station1workcom s= c=IN IP4 station1workcom t=0 0 m=audio 4444 RTP/AVP 2 4 15 a=rtpmap 2 G726-32/8000 a=rtpmap 4 G723/8000 a=rtpmap 15 G728/8000 a=inactive
Make Matrix 2D Barcode In .NET
Using Barcode generation for VS .NET Control to generate, create 2D Barcode image in .NET framework applications.
Generating 1D In Visual Studio .NET
Using Barcode generator for Visual Studio .NET Control to generate, create 1D Barcode image in .NET applications.
SIP/20 200 OK CSeq: 1 INVITE Content-Length: 157 Content-Type: application/sdp Content-Disposition: session v=0 o=collins 45678 001 IN IP4 station2workcom s= c=IN IP4 station2workcom t=0 0 m=audio 6666 RTP/AVP 4 15 a=rtpmap 4 G723/8000 a=rtpmap 15 G728/8000 a=inactive
UPC Code Creation In VS .NET
Using Barcode generator for .NET Control to generate, create GTIN - 12 image in VS .NET applications.
Creating 2/5 Interleaved In VS .NET
Using Barcode creation for .NET framework Control to generate, create 2/5 Interleaved image in Visual Studio .NET applications.
ACK sip:manager@station2workcom SIP/20 From: Daniel<sip:Collins@station1workcom>; tag = abcd1234 To: Boss<sip:Manager@station2workcom>; tag=xyz789 CSeq: 1 ACK Content-Length: 0
ANSI/AIM Code 39 Creation In Java
Using Barcode encoder for Java Control to generate, create Code 39 Full ASCII image in Java applications.
ECC200 Creation In None
Using Barcode generator for Font Control to generate, create ECC200 image in Font applications.
INVITE sip:manager@station2workcom SIP/20 CSeq: 2 INVITE Content-Length: 126 Content-Type: application/sdp Content-Disposition: session v=0 o=collins 123456 002 IN IP4 station1workcom s= c=IN IP4 station1workcom t=0 0 m=audio 4444 RTP/AVP 15 a=rtpmap 15 G728/8000
Printing UPCA In None
Using Barcode drawer for Font Control to generate, create UPC Code image in Font applications.
Recognizing Barcode In Java
Using Barcode reader for Java Control to read, scan read, scan image in Java applications.
the response to the INVITE should contain a 488 (Not Acceptable) or a 606 (Not Acceptable) status code In addition, the response should contain a Warning: header field, with the warning code of 304 (media type not available) or 305 (incompatible media type) In that case, the caller could choose to issue a new INVITE request
ECC200 Creation In C#
Using Barcode printer for VS .NET Control to generate, create Data Matrix image in .NET applications.
Barcode Drawer In Java
Using Barcode drawer for Android Control to generate, create bar code image in Android applications.
Downloaded from Digital Engineering Library @ McGraw-Hill (wwwdigitalengineeringlibrarycom) Copyright 2004 The McGraw-Hill Companies All rights reserved Any use is subject to the Terms of Use as given at the website
Recognize Bar Code In VB.NET
Using Barcode Control SDK for .NET framework Control to generate, create, read, scan barcode image in VS .NET applications.
Painting Data Matrix 2d Barcode In Java
Using Barcode generator for Java Control to generate, create Data Matrix image in Java applications.
The Session Initiation Protocol (SIP)
The Session Initiation Protocol (SIP)
The fact that VoIP enables the use of a range of voice-coding techniques means that there can be a mismatch between the abilities of different SIP users When some doubt exists about a party s ability to handle a particular media type, then the OPTIONS method provides a useful mechanism for finding out in advance This avoids the partial establishment of a session that is doomed to fail OPTIONS Method A potential caller can use the OPTIONS method to determine the abilities of a potential called party The recipient of the OPTIONS request should respond with the abilities supported Figure 5-17 shows an example of the OPTIONS request In this case, Collins queries the abilities of Boss, who responds with an indication that he can accept speech coded according to G723 and G728 (RTP payload formats 4 and 15 respectively)
Figure 5-17 Usage of the OPTIONS method
sip:Collins@station1workcom
sip:Manager@station2workcom
a OPTIONS sip:manager@station2workcom SIP/20 Via: SIP/20/UDP Station1workcom; branch=z9hG4bK7890123 From: Daniel<sip:Collins@workcom>; tag=lmnop123 To: Boss<sip:Manager@station2workcom> Call-ID: 123456@station1workcom Contact: Daniel <sip:Collins@station1workcom> CSeq: 1 OPTIONS Accept: application/sdp Content-Length: 0
b SIP/20 200 OK Via: SIP/20/UDP Station1workcom; branch=z9hG4bK7890123 From: Daniel<sip:Collins@workcom>; tag=lmnop123 To: Boss<sip:Manager@workcom>; tag=xyz5678 Call-ID: 123456@station1workcom CSeq: 1 OPTIONS Allow: INVITE, ACK, CANCEL, OPTIONS, BYE Supported: newfield Content-Length: 146 Content-Type: application/sdp v=0 0=manager 45678 001 IN IP4 station2workcom s= c = IN IP4 station2workcom t=0 0 m=audio 0 RTP/AVP 4 15 a=rtpmap 4 G723/8000 a=rtpmap 15 G728/8000
Downloaded from Digital Engineering Library @ McGraw-Hill (wwwdigitalengineeringlibrarycom) Copyright 2004 The McGraw-Hill Companies All rights reserved Any use is subject to the Terms of Use as given at the website
The Session Initiation Protocol (SIP)
5
We see the Accept: header field in the OPTIONS request This field indicates the type of information that the sender is hoping to receive in the request By specifying the value application/sdp in the Accept: header field, Collins is requesting that Boss respond with an SDP description for the type of SDP sessions that Boss can accept If the OPTIONS request does not include the Accept: header, the application/sdp is used as a default In the response, we see the use of the Allow: header field This field indicates those SIP methods that Boss can handle We also see the Supported: header field, which indicates any extensions to SIP that Boss is able to support For example purposes, Figure 5-17 shows that Boss can support an extension called newfield The Supported: header field provides a means for different parties to indicate those SIP extensions that they support If both parties support the same extensions, then they can use them to provide additional services or features SIP extensions are discussed later in this chapter
Copyright © OnBarcode.com . All rights reserved.