Pages

Saturday, September 11, 2010

The basics, such as SIP (Session Initiation Protocol) VoIP pushes your System Design and Function

Keep your place. Finally .... Here is a statement of the SIP (Session Initiation Protocol) is generally understood. It 'pretty simple .... but just to understand how this VoIP application will need to be in a VoIP system design and management plans. Since not everyone can speak to the business or understand "techie talk".

SIP - Session Initiation Protocol. It 'just the set - the main purpose of the SIP and media tearing (audio / video / data, etc.)Meetings, and to manage endpoints and other things.

SIP devices to communicate (usually) on UDP port 5060 If a device wants to establish a call to another, sends an INVITE. Included in this is the SDP, Session Description Protocol, which has exactly the form which explains the data (audio / video / etc, what codecs, etc..) If they agree and are ready to begin exchanging media (data transmission), RTP (Realtime Transport Protocol) is used for the exchange of facts. RTP will work on anya number of ports that are assigned to each endpoint. Endpoints to negotiate and select acceptable connections on each side.

SIP is something like few other records. Register, which allows a device with a dynamic IP SIP incoming calls. A common use is an ATA (Vonage box) - if you plug it in, it registers to its server and renews the registration of every XXX seconds, the server is always updated (if its IP changes).

SIP is a handful of other functions. For example, notifysorted data can be used to end at a point (with many IP phones will reboot When share it with data from 'check-sync ") are. Mail is used for MWI. There are also subscribe to an extension of the status of messages a voice mail (to subscribe to MWI) or allows an extension / channel (for the BLF lamp ....( busy, what makes a man the light button while the phone).

There are a handful of other SIP functions, refer to the example (transfer), BYE(Hangup), etc.

SIP has sent three ways of dealing with the DTMF signals, while the call is in progress:

* Send the inband tones as an audio stream in the media. It only works with G.711 ulaw / alaw codec, other codec distort the DTMF.

* RFC2833-send the notes of the band, but still attached to the audio stream over RTP.

* INFO to send signals, such as SIP INFO packets for the control channel.

RFC2833 is probably the most common.

There are also a number of extensions, calledSIMPLE (SIP Instant Messaging, presence and extensions of the place). In short, this is a way to use SIP for Instant Messaging type used.

SIP does not play Nice with NAT router, contains mainly because RTP - the SDP, the source and destination IP addresses, where media should be sent which are not always correct.

For example - if you have an ATA behind NAT will use your IP (192.168) during the creation of the SDP. NAT correctly translate the header, the packet isdirected by external IP network. But the contents of the package or a 192.168 IP as a goal that the server can not send to the media. This often calls that can save one or both parties do not listen to work together.

There are two ways to solve this - Media Gateway (SIP-aware router that SDP) writes, or more frequently STUN (NAT Traversal Under SIP). STUN is a protocol that a SIP device with the help of a STUN server to discover their own permitsExternal IP and what is behind NAT. You can then correct the SDP and the negotiation of the RTP session, so that NAT will not interfere.

SIP shares many HTTP response codes. = IE-404 extension is not found, 401 = not allowed, etc.

Finally, if you ever look at a SIP - SIP authenticates (if passwords are used) with digested. This is typical of an authenticated session as follows:

Device tries to connect (INVITE )....

Server respondstry ....

Auth server responds with 401 Unauthorized some info ....

Unit will respond .... OK

Device tries to connect (INVITE), this time with data authentication hash ....

Server responds trying ....

Server responds ok (and the phone starts to ring )....

I hope the above gives you a basic understanding and arms enough to put in a position to ask the right questions .... for the right reasons ... at the right time.

No comments:

Post a Comment

 

Blogger