• No results found

SIP Session Initiation Protocol Part 2. Multiple Call Opportunities

N/A
N/A
Protected

Academic year: 2021

Share "SIP Session Initiation Protocol Part 2. Multiple Call Opportunities"

Copied!
6
0
0

Loading.... (view fulltext now)

Full text

(1)

ITS 441 - VoIP; © 2009 P. Campbell, H.Kruse

SIP

Session Initiation Protocol

Part 2

ITS 441 - VoIP; © 2009 P.Campbell, H.Kruse

Multiple Call Opportunities

2

ITS 441 - VoIP; © 2009 P.Campbell, H.Kruse

Alice Calls Bob How? One Way:

Alice’s UA can set up a SIP trapezoid.

– Corners: Alice’s phone, Acme SIP Proxy,

Hugecorp SIP Proxy, Bob’s phone. – Requires:

» Alice knows how to put [email protected] into her phone » hugecorp.com sip addresses be in DNS

3

Alice Calls Bob How? Another Way:

Alice’s UA can use the PSTN.

– SIP call to Acme SIP gateway. – PSTN call to Hugecorp SIP GW

– SIP call from Hugecorp SIP GW to Bob’s UA. – Requires:

» Alice knows Bob’s PSTN phone # » Bob has DID # or Hugecorp has an operator.

(2)

ITS 441 - VoIP; © 2009 P.Campbell, H.Kruse

Wait, we have phone numbers…

We have a nice system of international

phone numbers

One way to design a wide-area VoIP

system:

– Use the dialed phone number to figure out how to make the call

– This system is called ENUM

But first, a reminder....

5

ITS 441 - VoIP; © 2009 P.Campbell, H.Kruse

E.164

• E.164 is the ITU standard for int’l dialable telephone numbers.

• Format:

– “+” “CountryCode” “NationalNumber” – Countries may have substructure within the

national number format.

– Dashes and parentheses are for visual appearance only, are never dialed.

• Examples:

– +1 (740)593-4890 for the ITS office – +44 771-159-4628 -- a number in the UK

» (don’t call it, I have no idea who owns it)

6

ITS 441 - VoIP; © 2009 P.Campbell, H.Kruse

Enum

Relates E.164 numbers to IETF URIs.

– Among other things, see RFCs 2916 and

3761.

In its simplest form:

1. Remove non-digits 2. Insert dots between the digits 3. Reverse the order 4. Append e164.arpa

Our UK number becomes:

8.2.6.4.9.5.1.1.7.7.4.4.e164.arpa

7

Now What?

(3)

ITS 441 - VoIP; © 2009 P.Campbell, H.Kruse

But Wait, There’s More

DNS can give us multiple records when

we send in the .arpa lookup request.

E.g.: send in:

– 0.4.3.2.0.5.3.4.e164.arpa

And get out:

– mailto:[email protected] – sip:[email protected] – http://nemox.net/

Prioritized alternatives for this number.

9

ITS 441 - VoIP; © 2009 P.Campbell, H.Kruse

Nice in Theory, But…

This is a collaboration of sort between

the IETF and the ITU; it is a slow

process!

Only a few countries have started

ENUM registrations for public numbers.

Users need to have their carriers

establish registries for their numbers

Try enumquery.com

10

ITS 441 - VoIP; © 2009 P.Campbell, H.Kruse

Back to Alice and Bob

Alice’s Proxy would:

– Convert Bob’s number (let’s say it’s 313-567-1234) to

4.3.2.1.7.6.5.3.1.3.1.e164.arpa – Hit DNS

– It might return something like this: » sip:[email protected] » tel:+13135671234

» In effect, this says try sip first, then the PSTN.

– Set up the call.

11

(4)

ITS 441 - VoIP; © 2009 P.Campbell, H.Kruse

Calling Carol

In principle, a third party could operate

a SIP gateway to the PSTN.

Non-trivial in practice:

– PSTN calls aren’t free - billing needed. » Implies several gateways are best

(close to the called number is better). – Equipment must be bought, maintained. – DNS updated as necessary. – Several such gateway services exist in

conjunction with public SIP servers.

13

ITS 441 - VoIP; © 2009 P.Campbell, H.Kruse

PXB Replacement

14

ITS 441 - VoIP; © 2009 P.Campbell, H.Kruse

PXB Replacement

15

Surely the most common use of SIP.

In practice:

– No ENUM mapping.

– External callers only know phone numbers.

– Internal users only know phone numbers and extension numbers.

– Internal users may not register as users, just as phones.

– Configuration varies vastly! – Telephony features vary vastly!

(5)

ITS 441 - VoIP; © 2009 P.Campbell, H.Kruse

Some Enterprise Possibilities: SOHO

17

If we use our corporate WAN (VPN) for

transport, we can extend our ‘sip

space’ to any location.

In the config drawn, all voice traffic

goes to the PSTN at HQ.

– 911 is problematic.

– Local calls to/from SOHO location are also through HQ – not so good.

ITS 441 - VoIP; © 2009 P.Campbell, H.Kruse

Some Enterprise Possibilities: Branch

Office

18

ITS 441 - VoIP; © 2009 P.Campbell, H.Kruse

Some Enterprise Possibilities: Branch

Office

19

A branch office can have its own SIP

gateway and/or proxy. This allows

local traffic to hit the PSTN locally.

Can have many corporate locations:

– Route traffic on WAN instead of PSTN.

(6)

ITS 441 - VoIP; © 2009 P.Campbell, H.Kruse

Service Provision via SIP

21

Your service provider can deliver traffic

via SIP.

In this drawing, the SIP ‘triangle’

consists of the AT&T SIP GW, the

Acme SIP proxy, and one of the Acme

agent phones.

References

Related documents

Unique combinations of both the facies and petrophysical modeling algorithm have been used to build various realizations of static models and volumes were

Free promo codes and game passes don’t work anymore so instead try some of the above methods to earn a nice amount of FREE ROBUX and make your gaming even..

Previous research of online gaming is briefly covered, along with literature that helps frame the virtual physical environment people experience when playing Runescape, and

SIP allows additional features to be used, for example, sending a JPEG image and / or business card with the signaling – so that a called party can see who is calling.. Two

SIP Architecture Location Server Feature Server Registrar Server Proxy Server SIP Components Proxy Server. User Agent

If the Request-URI or top Route header field value contains a SIPS URI, the Contact header

O RFC 3824 Using E.164 numbers with the Session Initiation Protocol (SIP) O RFC 3891 The Session Initiation Protocol (SIP) "Replaces" Header O RFC 3892 The Session

Forking proxy example C sip.mci.com ACK INVITE INVITE 404 Not Found 180 Ringing INVITE sip:[email protected] host.wcom.com 180 Ringing ACK sip.uunet.com SIP User Agent Client