Authentication

Overview

Dialogic implemented SIP Authentication which includes protective measures to prevent an active attacker from modifying and replaying SIP requests and responses.

Pertinent Specification

RFC 2543

Description

SIP authentication enables the CSP to validate the legitimacy of the subscribers. It is like any login/password based scheme in that it ensures that only valid users can make calls through the CSP.

The same cryptographic measures that are used to ensure the authenticity of the SIP message also serve to authenticate the originator of the message. SIP extends the HTTP WWW-Authenticate and Authorization header fields and their Proxy counterparts to include cryptographically strong signatures.

The enhancements include support for both authentication and authorization using digest and basic authentication methods.

There are two methods for incoming call Authentication.

Authenticating an inbound SIP INVITE using CSP managed data encryption/decryption:

Authenticating an inbound SIP INVITE using host managed data encryption/decryption:

Authenticating an inbound SIP INVITE using CSP managed data encryption/decryption:

This method allows the CSP to manage the data encryption/decryption and requires the host to supply the authentication parameters to the CSP using a PPL Event Request (0x0044) message upon reception of a SIP Request for Service with Data (0x002D) message.

When the SIP Request for Service with Data (0x002D) message is reported to the host, the host may choose to authenticate the call by sending a PPL Event Request (0x0044) message to the SIP Component. The host will supply the following:

NPDI SIP Authenticate Scheme TLV (0x2937)

NPDI SIP Authentication Realm TLV (0x2938)

NPDI SIP Authenticate Username TLV (0x2939)

NPDI SIP Authenticate Password TLV (0x293A)

When the CSP receives the PPL Event Request message, the SIP stack will send the 401 Unauthorized response and include the WWW-Authenticate header using the information from the above TLVs. When the INVITE with credentials arrives, the CSP decrypts and validates the credentials and send the PPL Event Request ACK to the host.

Authenticating an inbound SIP INVITE using host managed data encryption/decryption:

This method requires the host to manage the data encryption/decryption upon reception of the Request for Service with Data message.

An alternate method to authenticate an inbound call is to release the call with authentication information. The host may release the inbound call using the Release Channel with Data (0x0036) message and include the SIP response code in the NPDI SIP Response Code TLV (0x2915) and the ASCII value of the WWW-Authenticate header using the SIP Authenticate Header TLV (0x2943). It is the host's responsibility to properly encrypt the header as necessary. The channel is released when this message is sent to the CSP, and a SIP authentication message will be sent by the CSP to challenge the INVITE. When a new INVITE with credentials is received, the Request or Service with Data will report the value of the Authorization header in the SIP Authorization Header TLV (0x2941). It is the host's responsibility to decrypt the contents of the Authorization header and validate the credentials.

The CSP automatically responds to SIP Authentication challenges when the credentials are supplied in the Route Control (0x00E8) message or Outseize Control (0x002C) message.

When included in the Route Control or Outseize Control message, the following allow the CSP SIP stack to properly respond to an authorization challenge.

NPDI SIP Authorization Username TLV (0x293B)

NPDI SIP Authorization Password TLV (0x293C)

NPDI SIP Proxy Authorization Username TLV (0x293D)

NPDI SIP Proxy Authorization Password TLV (0x293E)

NPDI SIP Authentication Timeout TLV (0x293F)

If the outbound CSP INVITE is challenged, the CSP will automatically send a new INVITE request with credentials based on the host provided authorization information.

API Messages Used

Outseize Control (0x002C) message

PPL Event Request (0x0044) message

Release Channel with Data (0x0036) message

Route Control (0x00E8) message

Configuring

Modify the VoIP Protocol Configure message (0x00EE) to include the SIP Information Mask TLV (0x027F) if the Authorization header or Proxy-Authorization headers are to be reported (set bits 1 and 2). The reporting of the Authorization header is mandatory if the inbound call is authenticated by using the Release Channel with Data method.

Switchkit Considerations

As the authentication process may take several seconds to complete, the acknowledgement to the API messages listed may not be returned by the CSP for several seconds. It is possible for Switch Kit LLC to timeout waiting for a response to these API messages prior to those responses being reported. Use the SK_AdjustMessageTimeout message to change the default time-out for responses.

 

Call Flows

This section contains four call flows and corresponding message traces.

401 Authenticate for Inbound Call

The following call flow show an inbound INVITE message that get authenticated using a PPL Event Request.

 

 

Host API and Signaling Trace

1 -RECEIVED From 192.168.1.51:52678 at 23596

INVITE sip:8623000@192.168.1.102 SIP/2.0

Via: SIP/2.0/UDP 192.168.1.51:5060;branch=z9hG4bK27519f66

From: "8623001" <sip:8623001@192.168.1.102>;tag=00036b3c2515001206e9743c-19e08125

To: <sip:8623000@192.168.1.102>

Call-ID: 00036b3c-25150015-242f51e7-4e0ac0b2@192.168.1.51

CSeq: 101 INVITE

User-Agent: CSCO/7

Contact: <sip:8623001@192.168.1.51:5060>

Expires: 180

Content-Type: application/sdp

Content-Length: 191

Accept: application/sdp

 

v=0

o=Cisco-SIPUA 20722 17063 IN IP4 192.168.1.51

s=SIP Call

c=IN IP4 192.168.1.51

t=0 0

m=audio 30670 RTP/AVP 0 8 18

a=rtpmap:0 PCMU/8000

a=rtpmap:8 PCMA/8000

a=rtpmap:18 G729/8000

 

 

2 -SENT To 192.168.1.51:5060 at 23596

SIP/2.0 100 Trying

To: <sip:8623000@192.168.1.102>;tag=11635c2c

From: "8623001" <sip:8623001@192.168.1.102>;tag=00036b3c2515001206e9743c-19e08125

Call-ID: 00036b3c-25150015-242f51e7-4e0ac0b2@192.168.1.51

CSeq: 101 INVITE

Contact: 8623000<sip:8623000@192.168.1.102:5060>

Via: SIP/2.0/UDP 192.168.1.51:5060;branch=z9hG4bK27519f66

User-Agent: Excel_CSP/83.10.57

Content-Length: 0

 

 

X->H

[01 33 00 2d 00 03 00 00 01 0d 03 00 00 02 00 33 01 03 00 33

01 1f 00 18 27 4e 00 02 00 05 27 7e 00 03 08 00 00 29

19 00 08 38 36 32 33 30 30 30 00 29 1b 00 0e 31 39 32

2e 31 36 38 2e 31 2e 31 30 32 00 29 1c 00 04 00 00 13

c4 29 23 00 08 38 36 32 33 30 30 31 00 29 25 00 0e 31

39 32 2e 31 36 38 2e 31 2e 31 30 32 00 29 26 00 04 00

00 13 c4 29 2d 00 08 38 36 32 33 30 30 31 00 29 2f 00

0d 31 39 32 2e 31 36 38 2e 31 2e 35 31 00 29 30 00 04

00 00 13 c4 29 33 00 01 01 27 18 00 09 02 00 00 00 07

86 23 00 10 27 17 00 07 02 00 07 86 23 00 00 27 94 00

04 c0 a8 01 33 27 95 00 04 00 00 77 ce 27 b0 00 02 00

02 27 b1 00 02 00 01 29 16 00 01 01 29 54 00 08 38 36

32 33 30 30 30 00 29 55 00 0e 31 39 32 2e 31 36 38 2e

31 2e 31 30 32 00 29 56 00 04 00 00 13 c4 29 50 00 31

30 30 30 33 36 62 33 63 2d 32 35 31 35 30 30 31 35 2d

32 34 32 66 35 31 65 37 2d 34 65 30 61 63 30 62 32 40

31 39 32 2e 31 36 38 2e 31 2e 35 31 00 29 53 00 02 01

00]

 

H->X

[00 0c 00 2d 00 03 00 00 01 0d 03 00 00 02]

 

X->H

[00 59 00 43 00 05 00 00 01 0d 03 00 00 02 00 a7 00 23 01 03

00 33 00 43 00 04 29 53 00 02 02 01 29 51 00 22 30 30

30 33 36 62 33 63 32 35 31 35 30 30 31 32 30 36 65 39

37 34 33 63 2d 31 39 65 30 38 31 32 35 00 29 52 00 09

31 31 36 33 35 63 32 63 00 2a 0e 00 04 c0 a8 01 33]

 

H->X

[00 05 00 43 00 05 00]

 

H->X

[00 4a 00 44 00 00 ff 00 01 0d 03 00 00 02 00 a7 00 0c

01 03 00 33 00 34 00 04 29 37 00 01 01 29 38 00 13 65

78 63 65 6c 73 77 69 74 63 68 69 6e 67 2e 63 6f 6d 00

29 39 00 08 38 36 32 33 30 30 31 00 29 3a 00 06 31 32

33 34 35 00]

 

 

3 -SENT To 192.168.1.51:5060 at 23597

SIP/2.0 401 Unauthorized

To: <sip:8623000@192.168.1.102>;tag=11635c2c

From: "8623001" <sip:8623001@192.168.1.102>;tag=00036b3c2515001206e9743c-19e08125

Call-ID: 00036b3c-25150015-242f51e7-4e0ac0b2@192.168.1.51

CSeq: 101 INVITE

WWW-Authenticate: Digest realm="excelswitching.com", nonce="42cac6967970048b000", opaque="asop19431163asdfj"

Via: SIP/2.0/UDP 192.168.1.51:5060;branch=z9hG4bK27519f66

User-Agent: Excel_CSP/83.10.57

Content-Length: 0

 

 

4 -RECEIVED From 192.168.1.51:52686 at 23597

ACK sip:8623000@192.168.1.102 SIP/2.0

Via: SIP/2.0/UDP 192.168.1.51:5060;branch=z9hG4bK27519f66

From: "8623001" <sip:8623001@192.168.1.102>;tag=00036b3c2515001206e9743c-19e08125

To: <sip:8623000@192.168.1.102>;tag=11635c2c

Call-ID: 00036b3c-25150015-242f51e7-4e0ac0b2@192.168.1.51

CSeq: 101 ACK

Content-Length: 0

 

 

5 -RECEIVED From 192.168.1.51:52678 at 23597

INVITE sip:8623000@192.168.1.102 SIP/2.0

Via: SIP/2.0/UDP 192.168.1.51:5060;branch=z9hG4bK34ee27fc

From: "8623001" <sip:8623001@192.168.1.102>;tag=00036b3c2515001206e9743c-19e08125

To: <sip:8623000@192.168.1.102>

Call-ID: 00036b3c-25150015-242f51e7-4e0ac0b2@192.168.1.51

CSeq: 102 INVITE

User-Agent: CSCO/7

Contact: <sip:8623001@192.168.1.51:5060>

Authorization: Digest username="8623001",realm="excelswitching.com",uri="sip:192.168.1.102",response="4c183f1b93f8c63b7052eed3cdfedaf8",nonce="42cac6967970048b000",opaque="asop19431163asdfj",algorithm=md5

Expires: 180

Content-Type: application/sdp

Content-Length: 191

 

v=0

o=Cisco-SIPUA 20722 17063 IN IP4 192.168.1.51

s=SIP Call

c=IN IP4 192.168.1.51

t=0 0

m=audio 30670 RTP/AVP 0 8 18

a=rtpmap:0 PCMU/8000

a=rtpmap:8 PCMA/8000

a=rtpmap:18 G729/8000

 

 

6 -SENT To 192.168.1.51:5060 at 23597

SIP/2.0 100 Trying

To: <sip:8623000@192.168.1.102>;tag=11635c2c

From: "8623001" <sip:8623001@192.168.1.102>;tag=00036b3c2515001206e9743c-19e08125

Call-ID: 00036b3c-25150015-242f51e7-4e0ac0b2@192.168.1.51

CSeq: 102 INVITE

Contact: 8623000<sip:8623000@192.168.1.102:5060>

Via: SIP/2.0/UDP 192.168.1.51:5060;branch=z9hG4bK34ee27fc

User-Agent: Excel_CSP/83.10.57

Content-Length: 0

 

 

X->H

[00 07 00 44 00 00 00 00 10]

 

H->X

[00 73 00 e8 00 00 ff 00 01 29 02 ff fe 02 03 00 1e 00

19 00 04 00 13 00 02 00 08 00 08 00 02 00 65 00 0f 00

01 0b 00 65 00 02 00 00 03 00 33 00 44 00 05 27 7e 00

03 08 00 00 29 19 00 08 38 36 32 33 30 30 30 00 29 1b

00 0e 31 39 32 2e 31 36 38 2e 31 2e 32 32 30 00 29 23

00 08 38 36 32 33 30 30 31 00 29 25 00 0d 31 39 32 2e

31 36 38 2e 31 2e 35 31 00]

 

 

7 -SENT To 192.168.1.220:5060 at 23597

INVITE sip:8623000@192.168.1.220:5060 SIP/2.0

Via: SIP/2.0/UDP 192.168.1.102

To: 8623000<sip:8623000@192.168.1.220:5060>

From: 8623001<sip:8623001@192.168.1.51:5060>;tag=195199955c2d

Call-ID: EXCEL-CSP0.79f.23597.450@192.168.1.102

Contact: 8623001<sip:8623001@192.168.1.102:5060>

User-Agent: Excel_CSP/83.10.57

Supported: timer

Session-Expires: 1800

Min-SE: 300

CSeq: 1 INVITE

Content-Type: application/sdp

Content-Length: 105

 

v=0

o=sip 0 0 IN IP4 192.168.1.102

s=SIP_Call

c=IN IP4 192.168.1.131

t=0 0

m=audio 15804 RTP/AVP 0

 

 

8 -RECEIVED From 192.168.1.220:5060 at 23597

SIP/2.0 100 Trying

Via: SIP/2.0/UDP 192.168.1.102

From: 8623001 <sip:8623001@192.168.1.51:5060>;tag=195199955c2d

To: 8623000 <sip:8623000@192.168.1.220:5060>;tag=345281520

Contact: <sip:8623000@192.168.1.220:5060>

Call-ID: EXCEL-CSP0.79f.23597.450@192.168.1.102

CSeq: 1 INVITE

Server: X-Lite release 1103m

Content-Length: 0

 

 

9 -RECEIVED From 192.168.1.220:5060 at 23597

SIP/2.0 180 Ringing

Via: SIP/2.0/UDP 192.168.1.102

From: 8623001 <sip:8623001@192.168.1.51:5060>;tag=195199955c2d

To: 8623000 <sip:8623000@192.168.1.220:5060>;tag=345281520

Contact: <sip:8623000@192.168.1.220:5060>

Call-ID: EXCEL-CSP0.79f.23597.450@192.168.1.102

CSeq: 1 INVITE

Server: X-Lite release 1103m

Content-Length: 0

 

 

X->H

[00 46 00 e8 00 00 00 00 10 02 02 1e 09 00 01 00 39 00 03 00

00 03 03 00 33 00 2d 00 01 29 50 00 27 45 58 43 45 4c

2d 43 53 50 30 2e 37 39 66 2e 32 33 35 39 37 2e 34 35

30 40 31 39 32 2e 31 36 38 2e 31 2e 31 30 32 00]

 

X->H

[00 11 00 43 00 06 00 00 01 0d 03 00 00 03 00 a7 00 24 00]

 

H->X

[00 05 00 43 00 06 00]

 

H->X

[00 11 00 bf 00 00 ff 00 02 0d 03 00 00 02 0d 03 00 00

02]

 

 

10-SENT To 192.168.1.51:5060 at 23597

SIP/2.0 180 Ringing

To: <sip:8623000@192.168.1.102>;tag=11635c2c

From: "8623001" <sip:8623001@192.168.1.102>;tag=00036b3c2515001206e9743c-19e08125

Call-ID: 00036b3c-25150015-242f51e7-4e0ac0b2@192.168.1.51

CSeq: 102 INVITE

Contact: 8623000<sip:8623000@192.168.1.102:5060>

Via: SIP/2.0/UDP 192.168.1.51:5060;branch=z9hG4bK34ee27fc

User-Agent: Excel_CSP/83.10.57

Content-Length: 0

 

 

X->H

[00 07 00 bf 00 00 00 00 10]

 

 

11-RECEIVED From 192.168.1.220:5060 at 23599

SIP/2.0 200 Ok

Via: SIP/2.0/UDP 192.168.1.102

From: 8623001 <sip:8623001@192.168.1.51:5060>;tag=195199955c2d

To: 8623000 <sip:8623000@192.168.1.220:5060>;tag=345281520

Contact: <sip:8623000@192.168.1.220:5060>

Call-ID: EXCEL-CSP0.79f.23597.450@192.168.1.102

CSeq: 1 INVITE

Content-Type: application/sdp

Server: X-Lite release 1103m

Content-Length: 300

 

v=0

o=8623000 287016562 287018125 IN IP4 192.168.1.220

s=X-Lite

c=IN IP4 192.168.1.220

t=0 0

m=audio 8000 RTP/AVP 0 8 3 98 97 101

a=rtpmap:0 pcmu/8000

a=rtpmap:8 pcma/8000

a=rtpmap:3 gsm/8000

a=rtpmap:98 iLBC/8000

a=rtpmap:97 speex/8000

a=rtpmap:101 telephone-event/8000

a=fmtp:101 0-15

 

 

12-SENT To 192.168.1.220:5060 at 23599

ACK sip:8623000@192.168.1.220:5060 SIP/2.0

Via: SIP/2.0/UDP 192.168.1.102

To: 8623000<sip:8623000@192.168.1.220:5060>;tag=345281520

From: 8623001<sip:8623001@192.168.1.51:5060>;tag=195199955c2d

Call-ID: EXCEL-CSP0.79f.23597.450@192.168.1.102

CSeq: 1 ACK

Content-Length: 0

 

 

X->H

[00 2e 00 43 00 07 00 00 01 0d 03 00 00 03 00 a7 00 20 01 03

00 33 00 18 00 03 27 94 00 04 c0 a8 01 dc 27 95 00 04

00 00 1f 40 27 b0 00 02 00 02]

 

H->X

[00 05 00 43 00 07 00]

 

X->H

[00 0d 00 2e 00 01 00 00 01 0d 03 00 00 03 20]

 

H->X

[00 05 00 2e 00 01 00]

 

H->X

[00 11 00 00 00 00 ff 00 02 0d 03 00 00 02 0d 03 00 00

03]

 

X->H

[00 07 00 00 00 00 00 00 10]

 

H->X

[00 0d 00 ba 00 00 ff 00 01 0d 03 00 00 02 01]

 

X->H

[00 07 00 ba 00 00 00 00 10]

 

 

13-SENT To 192.168.1.51:5060 at 23599

SIP/2.0 200 OK

To: <sip:8623000@192.168.1.102>;tag=11635c2c

From: "8623001" <sip:8623001@192.168.1.102>;tag=00036b3c2515001206e9743c-19e08125

Call-ID: 00036b3c-25150015-242f51e7-4e0ac0b2@192.168.1.51

CSeq: 102 INVITE

Contact: 8623000<sip:8623000@192.168.1.102:5060>

Supported: timer

Session-Expires: 1800; refresher=uas

Via: SIP/2.0/UDP 192.168.1.51:5060;branch=z9hG4bK34ee27fc

User-Agent: Excel_CSP/83.10.57

Content-Type: application/sdp

Content-Length: 105

 

v=0

o=sip 0 0 IN IP4 192.168.1.102

s=SIP_Call

c=IN IP4 192.168.1.131

t=0 0

m=audio 15772 RTP/AVP 0

 

 

14-RECEIVED From 192.168.1.51:52678 at 23599

ACK sip:8623000@192.168.1.102:5060 SIP/2.0

Via: SIP/2.0/UDP 192.168.1.51:5060;branch=z9hG4bK693d8d04

From: "8623001" <sip:8623001@192.168.1.102>;tag=00036b3c2515001206e9743c-19e08125

To: <sip:8623000@192.168.1.102>;tag=11635c2c

Call-ID: 00036b3c-25150015-242f51e7-4e0ac0b2@192.168.1.51

CSeq: 102 ACK

User-Agent: CSCO/7

Authorization: Digest username="8623001",realm="excelswitching.com",uri="sip:192.168.1.102",response="4c183f1b93f8c63b7052eed3cdfedaf8",nonce="42cac6967970048b000",opaque="asop19431163asdfj",algorithm=md5

Content-Length: 0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

401 Authenticate Inbound Invite by Releasing Data

The following call flow shows an inbound INVITE message that gets authenticated using the Release Channel with Data message.

 

 

Host API/Signaling Trace

1 -RECEIVED From 192.168.1.51:52678 at 26587

INVITE sip:8623000@192.168.1.102 SIP/2.0

Via: SIP/2.0/UDP 192.168.1.51:5060;branch=z9hG4bK20deb67f

From: "8623001" <sip:8623001@192.168.1.102>;tag=00036b3c2515001b0c06cb16-31bdf93a

To: <sip:8623000@192.168.1.102>

Call-ID: 00036b3c-2515001e-6f5394b8-664364ca@192.168.1.51

CSeq: 101 INVITE

User-Agent: CSCO/7

Contact: <sip:8623001@192.168.1.51:5060>

Expires: 180

Content-Type: application/sdp

Content-Length: 191

Accept: application/sdp

 

v=0

o=Cisco-SIPUA 26417 26343 IN IP4 192.168.1.51

s=SIP Call

c=IN IP4 192.168.1.51

t=0 0

m=audio 30688 RTP/AVP 0 8 18

a=rtpmap:0 PCMU/8000

a=rtpmap:8 PCMA/8000

a=rtpmap:18 G729/8000

 

 

2 -SENT To 192.168.1.51:5060 at 26587

SIP/2.0 100 Trying

To: <sip:8623000@192.168.1.102>;tag=688567db

From: "8623001" <sip:8623001@192.168.1.102>;tag=00036b3c2515001b0c06cb16-31bdf93a

Call-ID: 00036b3c-2515001e-6f5394b8-664364ca@192.168.1.51

CSeq: 101 INVITE

Contact: 8623000<sip:8623000@192.168.1.102:5060>

Via: SIP/2.0/UDP 192.168.1.51:5060;branch=z9hG4bK20deb67f

User-Agent: Excel_CSP/83.10.57

Content-Length: 0

 

 

X->H

[01 33 00 2d 00 0f 00 00 01 0d 03 00 08 03 00 33 01 03 00 33

01 1f 00 18 27 4e 00 02 00 05 27 7e 00 03 08 00 00 29

19 00 08 38 36 32 33 30 30 30 00 29 1b 00 0e 31 39 32

2e 31 36 38 2e 31 2e 31 30 32 00 29 1c 00 04 00 00 13

c4 29 23 00 08 38 36 32 33 30 30 31 00 29 25 00 0e 31

39 32 2e 31 36 38 2e 31 2e 31 30 32 00 29 26 00 04 00

00 13 c4 29 2d 00 08 38 36 32 33 30 30 31 00 29 2f 00

0d 31 39 32 2e 31 36 38 2e 31 2e 35 31 00 29 30 00 04

00 00 13 c4 29 33 00 01 01 27 18 00 09 02 00 00 00 07

86 23 00 10 27 17 00 07 02 00 07 86 23 00 00 27 94 00

04 c0 a8 01 33 27 95 00 04 00 00 77 e0 27 b0 00 02 00

02 27 b1 00 02 00 01 29 16 00 01 01 29 54 00 08 38 36

32 33 30 30 30 00 29 55 00 0e 31 39 32 2e 31 36 38 2e

31 2e 31 30 32 00 29 56 00 04 00 00 13 c4 29 50 00 31

30 30 30 33 36 62 33 63 2d 32 35 31 35 30 30 31 65 2d

36 66 35 33 39 34 62 38 2d 36 36 34 33 36 34 63 61 40

31 39 32 2e 31 36 38 2e 31 2e 35 31 00 29 53 00 02 01

00]

 

H->X

[00 0c 00 2d 00 0f 00 00 01 0d 03 00 08 03]

 

X->H

[00 59 00 43 00 1b 00 00 01 0d 03 00 08 03 00 a7 00 23 01 03

00 33 00 43 00 04 29 53 00 02 02 01 29 51 00 22 30 30

30 33 36 62 33 63 32 35 31 35 30 30 31 62 30 63 30 36

63 62 31 36 2d 33 31 62 64 66 39 33 61 00 29 52 00 09

36 38 38 35 36 37 64 62 00 2a 0e 00 04 c0 a8 01 33]

 

H->X

[00 05 00 43 00 1b 00]

 

H->X

[00 7f 00 36 00 00 ff 00 02 0d 03 00 08 03 0d 03 00 08

03 33 01 03 00 33 00 67 00 02 29 15 00 02 01 91 29 43

00 5b 44 69 67 65 73 74 20 72 65 61 6c 6d 3d 22 65 78

63 65 6c 73 77 69 74 63 68 69 6e 67 2e 63 6f 6d 22 2c

20 6e 6f 6e 63 65 3d 22 34 32 63 61 63 36 39 36 37 39

37 30 30 34 38 62 30 30 30 22 2c 20 6f 70 61 71 75 65

3d 22 61 73 6f 70 31 39 34 33 31 31 36 33 61 73 64 66

6a 22 00]

 

 

3 -SENT To 192.168.1.51:5060 at 26588

SIP/2.0 401 Unauthorized

To: <sip:8623000@192.168.1.102>;tag=688567db

From: "8623001" <sip:8623001@192.168.1.102>;tag=00036b3c2515001b0c06cb16-31bdf93a

Call-ID: 00036b3c-2515001e-6f5394b8-664364ca@192.168.1.51

CSeq: 101 INVITE

WWW-Authenticate: Digest realm="excelswitching.com", nonce="42cac6967970048b000", opaque="asop19431163asdfj"

Via: SIP/2.0/UDP 192.168.1.51:5060;branch=z9hG4bK20deb67f

User-Agent: Excel_CSP/83.10.57

Content-Length: 0

 

 

4 -RECEIVED From 192.168.1.51:52697 at 26588

ACK sip:8623000@192.168.1.102 SIP/2.0

Via: SIP/2.0/UDP 192.168.1.51:5060;branch=z9hG4bK20deb67f

From: "8623001" <sip:8623001@192.168.1.102>;tag=00036b3c2515001b0c06cb16-31bdf93a

To: <sip:8623000@192.168.1.102>;tag=688567db

Call-ID: 00036b3c-2515001e-6f5394b8-664364ca@192.168.1.51

CSeq: 101 ACK

Content-Length: 0

 

 

X->H

[00 07 00 36 00 00 00 00 10]

 

X->H

[00 0c 00 49 00 0d 00 00 01 0d 03 00 08 03]

 

H->X

[00 05 00 49 00 0d 00]

 

 

5 -RECEIVED From 192.168.1.51:52678 at 26588

INVITE sip:8623000@192.168.1.102 SIP/2.0

Via: SIP/2.0/UDP 192.168.1.51:5060;branch=z9hG4bK4c16f6c3

From: "8623001" <sip:8623001@192.168.1.102>;tag=00036b3c2515001b0c06cb16-31bdf93a

To: <sip:8623000@192.168.1.102>

Call-ID: 00036b3c-2515001e-6f5394b8-664364ca@192.168.1.51

CSeq: 102 INVITE

User-Agent: CSCO/7

Contact: <sip:8623001@192.168.1.51:5060>

Authorization: Digest username="8623001",realm="excelswitching.com",uri="sip:192.168.1.102",response="4c183f1b93f8c63b7052eed3cdfedaf8",nonce="42cac6967970048b000",opaque="asop19431163asdfj",algorithm=md5

Expires: 180

Content-Type: application/sdp

Content-Length: 191

 

v=0

o=Cisco-SIPUA 26417 26343 IN IP4 192.168.1.51

s=SIP Call

c=IN IP4 192.168.1.51

t=0 0

m=audio 30688 RTP/AVP 0 8 18

a=rtpmap:0 PCMU/8000

a=rtpmap:8 PCMA/8000

a=rtpmap:18 G729/8000

 

 

6 -SENT To 192.168.1.51:5060 at 26588

SIP/2.0 100 Trying

To: <sip:8623000@192.168.1.102>;tag=688567dc

From: "8623001" <sip:8623001@192.168.1.102>;tag=00036b3c2515001b0c06cb16-31bdf93a

Call-ID: 00036b3c-2515001e-6f5394b8-664364ca@192.168.1.51

CSeq: 102 INVITE

Contact: 8623000<sip:8623000@192.168.1.102:5060>

Via: SIP/2.0/UDP 192.168.1.51:5060;branch=z9hG4bK4c16f6c3

User-Agent: Excel_CSP/83.10.57

Content-Length: 0

 

 

X->H

[00 d8 00 2d 00 10 00 00 01 0d 03 00 00 10 00 33 01 03 00 33

00 c4 00 14 27 4e 00 02 00 05 27 7e 00 03 08 00 00 29

19 00 08 38 36 32 33 30 30 30 00 29 1b 00 0e 31 39 32

2e 31 36 38 2e 31 2e 31 30 32 00 29 1c 00 04 00 00 13

c4 29 23 00 08 38 36 32 33 30 30 31 00 29 25 00 0e 31

39 32 2e 31 36 38 2e 31 2e 31 30 32 00 29 26 00 04 00

00 13 c4 29 2d 00 08 38 36 32 33 30 30 31 00 29 2f 00

0d 31 39 32 2e 31 36 38 2e 31 2e 35 31 00 29 30 00 04

00 00 13 c4 29 33 00 01 01 27 18 00 09 02 00 00 00 07

86 23 00 10 27 17 00 07 02 00 07 86 23 00 00 27 94 00

04 c0 a8 01 33 27 95 00 04 00 00 77 e0 27 b0 00 02 00

02 27 b1 00 02 00 01 29 16 00 01 01 29 53 00 02 01 00]

 

H->X

[00 0c 00 2d 00 10 00 00 01 0d 03 00 00 10]

 

X->H

[01 3b 00 43 00 1c 00 00 01 0d 03 00 00 10 00 a7 00 23 01 03

00 33 01 25 00 06 29 41 00 be 44 69 67 65 73 74 20 75

73 65 72 6e 61 6d 65 3d 22 38 36 32 33 30 30 31 22 2c

72 65 61 6c 6d 3d 22 65 78 63 65 6c 73 77 69 74 63 68

69 6e 67 2e 63 6f 6d 22 2c 75 72 69 3d 22 73 69 70 3a

31 39 32 2e 31 36 38 2e 31 2e 31 30 32 22 2c 72 65 73

70 6f 6e 73 65 3d 22 34 63 31 38 33 66 31 62 39 33 66

38 63 36 33 62 37 30 35 32 65 65 64 33 63 64 66 65 64

61 66 38 22 2c 6e 6f 6e 63 65 3d 22 34 32 63 61 63 36

39 36 37 39 37 30 30 34 38 62 30 30 30 22 2c 6f 70 61

71 75 65 3d 22 61 73 6f 70 31 39 34 33 31 31 36 33 61

73 64 66 6a 22 2c 61 6c 67 6f 72 69 74 68 6d 3d 6d 64

35 00 29 54 00 08 38 36 32 33 30 30 30 00 29 55 00 0e

31 39 32 2e 31 36 38 2e 31 2e 31 30 32 00 29 56 00 04

00 00 13 c4 29 50 00 31 30 30 30 33 36 62 33 63 2d 32

35 31 35 30 30 31 65 2d 36 66 35 33 39 34 62 38 2d 36

36 34 33 36 34 63 61 40 31 39 32 2e 31 36 38 2e 31 2e

35 31 00 29 53 00 02 02 00]

 

H->X

[00 05 00 43 00 1c 00]

 

X->H

[00 59 00 43 00 1d 00 00 01 0d 03 00 00 10 00 a7 00 23 01 03

00 33 00 43 00 04 29 53 00 02 03 01 29 51 00 22 30 30

30 33 36 62 33 63 32 35 31 35 30 30 31 62 30 63 30 36

63 62 31 36 2d 33 31 62 64 66 39 33 61 00 29 52 00 09

36 38 38 35 36 37 64 63 00 2a 0e 00 04 c0 a8 01 33]

 

H->X

[00 05 00 43 00 1d 00]

 

H->X

[00 73 00 e8 00 00 ff 00 01 29 02 ff fe 02 03 00 1e 00

19 00 04 00 13 00 02 00 08 00 08 00 02 00 65 00 0f 00

01 0b 00 65 00 02 00 00 03 00 33 00 44 00 05 27 7e 00

03 08 00 00 29 19 00 08 38 36 32 33 30 30 30 00 29 1b

00 0e 31 39 32 2e 31 36 38 2e 31 2e 32 32 30 00 29 23

00 08 38 36 32 33 30 30 31 00 29 25 00 0d 31 39 32 2e

31 36 38 2e 31 2e 35 31 00]

 

 

7 -SENT To 192.168.1.220:5060 at 26589

INVITE sip:8623000@192.168.1.220:5060 SIP/2.0

Via: SIP/2.0/UDP 192.168.1.102

To: 8623000<sip:8623000@192.168.1.220:5060>

From: 8623001<sip:8623001@192.168.1.51:5060>;tag=1551590867dd

Call-ID: EXCEL-CSP0.60f.26589.960@192.168.1.102

Contact: 8623001<sip:8623001@192.168.1.102:5060>

User-Agent: Excel_CSP/83.10.57

Supported: timer

Session-Expires: 1800

Min-SE: 300

CSeq: 1 INVITE

Content-Type: application/sdp

Content-Length: 105

 

v=0

o=sip 0 0 IN IP4 192.168.1.102

s=SIP_Call

c=IN IP4 192.168.1.131

t=0 0

m=audio 14204 RTP/AVP 0

 

 

8 -RECEIVED From 192.168.1.220:5060 at 26589

SIP/2.0 100 Trying

Via: SIP/2.0/UDP 192.168.1.102

From: 8623001 <sip:8623001@192.168.1.51:5060>;tag=1551590867dd

To: 8623000 <sip:8623000@192.168.1.220:5060>;tag=224531354

Contact: <sip:8623000@192.168.1.220:5060>

Call-ID: EXCEL-CSP0.60f.26589.960@192.168.1.102

CSeq: 1 INVITE

Server: X-Lite release 1103m

Content-Length: 0

 

 

9 -RECEIVED From 192.168.1.220:5060 at 26590

SIP/2.0 180 Ringing

Via: SIP/2.0/UDP 192.168.1.102

From: 8623001 <sip:8623001@192.168.1.51:5060>;tag=1551590867dd

To: 8623000 <sip:8623000@192.168.1.220:5060>;tag=224531354

Contact: <sip:8623000@192.168.1.220:5060>

Call-ID: EXCEL-CSP0.60f.26589.960@192.168.1.102

CSeq: 1 INVITE

Server: X-Lite release 1103m

Content-Length: 0

 

 

X->H

[00 46 00 e8 00 00 00 00 10 02 02 1e 09 00 01 00 39 00 03 00

00 11 03 00 33 00 2d 00 01 29 50 00 27 45 58 43 45 4c

2d 43 53 50 30 2e 36 30 66 2e 32 36 35 38 39 2e 39 36

30 40 31 39 32 2e 31 36 38 2e 31 2e 31 30 32 00]

 

X->H

[00 11 00 43 00 1e 00 00 01 0d 03 00 00 11 00 a7 00 24 00]

 

H->X

[00 05 00 43 00 1e 00]

 

H->X

[00 11 00 bf 00 00 ff 00 02 0d 03 00 00 10 0d 03 00 00

10]

 

 

10-SENT To 192.168.1.51:5060 at 26590

SIP/2.0 180 Ringing

To: <sip:8623000@192.168.1.102>;tag=688567dc

From: "8623001" <sip:8623001@192.168.1.102>;tag=00036b3c2515001b0c06cb16-31bdf93a

Call-ID: 00036b3c-2515001e-6f5394b8-664364ca@192.168.1.51

CSeq: 102 INVITE

Contact: 8623000<sip:8623000@192.168.1.102:5060>

Via: SIP/2.0/UDP 192.168.1.51:5060;branch=z9hG4bK4c16f6c3

User-Agent: Excel_CSP/83.10.57

Content-Length: 0

 

 

X->H

[00 07 00 bf 00 00 00 00 10]

 

 

11-RECEIVED From 192.168.1.220:5060 at 26593

SIP/2.0 200 Ok

Via: SIP/2.0/UDP 192.168.1.102

From: 8623001 <sip:8623001@192.168.1.51:5060>;tag=1551590867dd

To: 8623000 <sip:8623000@192.168.1.220:5060>;tag=224531354

Contact: <sip:8623000@192.168.1.220:5060>

Call-ID: EXCEL-CSP0.60f.26589.960@192.168.1.102

CSeq: 1 INVITE

Content-Type: application/sdp

Server: X-Lite release 1103m

Content-Length: 300

 

v=0

o=8623000 290009000 290012046 IN IP4 192.168.1.220

s=X-Lite

c=IN IP4 192.168.1.220

t=0 0

m=audio 8000 RTP/AVP 0 8 3 98 97 101

a=rtpmap:0 pcmu/8000

a=rtpmap:8 pcma/8000

a=rtpmap:3 gsm/8000

a=rtpmap:98 iLBC/8000

a=rtpmap:97 speex/8000

a=rtpmap:101 telephone-event/8000

a=fmtp:101 0-15

 

 

12-SENT To 192.168.1.220:5060 at 26593

ACK sip:8623000@192.168.1.220:5060 SIP/2.0

Via: SIP/2.0/UDP 192.168.1.102

To: 8623000<sip:8623000@192.168.1.220:5060>;tag=224531354

From: 8623001<sip:8623001@192.168.1.51:5060>;tag=1551590867dd

Call-ID: EXCEL-CSP0.60f.26589.960@192.168.1.102

CSeq: 1 ACK

Content-Length: 0

 

 

X->H

[00 2e 00 43 00 1f 00 00 01 0d 03 00 00 11 00 a7 00 20 01 03

00 33 00 18 00 03 27 94 00 04 c0 a8 01 dc 27 95 00 04

00 00 1f 40 27 b0 00 02 00 02]

 

H->X

[00 05 00 43 00 1f 00]

 

X->H

[00 0d 00 2e 00 04 00 00 01 0d 03 00 00 11 20]

 

H->X

[00 05 00 2e 00 04 00]

 

H->X

[00 11 00 00 00 00 ff 00 02 0d 03 00 00 10 0d 03 00 00

11]

 

X->H

[00 07 00 00 00 00 00 00 10]

 

H->X

[00 0d 00 ba 00 00 ff 00 01 0d 03 00 00 10 01]

 

X->H

[00 07 00 ba 00 00 00 00 10]

 

 

13-SENT To 192.168.1.51:5060 at 26593

SIP/2.0 200 OK

To: <sip:8623000@192.168.1.102>;tag=688567dc

From: "8623001" <sip:8623001@192.168.1.102>;tag=00036b3c2515001b0c06cb16-31bdf93a

Call-ID: 00036b3c-2515001e-6f5394b8-664364ca@192.168.1.51

CSeq: 102 INVITE

Contact: 8623000<sip:8623000@192.168.1.102:5060>

Supported: timer

Session-Expires: 1800; refresher=uas

Via: SIP/2.0/UDP 192.168.1.51:5060;branch=z9hG4bK4c16f6c3

User-Agent: Excel_CSP/83.10.57

Content-Type: application/sdp

Content-Length: 105

 

v=0

o=sip 0 0 IN IP4 192.168.1.102

s=SIP_Call

c=IN IP4 192.168.1.131

t=0 0

m=audio 14172 RTP/AVP 0

 

14-RECEIVED From 192.168.1.51:52678 at 26593

ACK sip:8623000@192.168.1.102:5060 SIP/2.0

Via: SIP/2.0/UDP 192.168.1.51:5060;branch=z9hG4bK64b1d90a

From: "8623001" <sip:8623001@192.168.1.102>;tag=00036b3c2515001b0c06cb16-31bdf93a

To: <sip:8623000@192.168.1.102>;tag=688567dc

Call-ID: 00036b3c-2515001e-6f5394b8-664364ca@192.168.1.51

CSeq: 102 ACK

User-Agent: CSCO/7

Authorization: Digest username="8623001",realm="excelswitching.com",uri="sip:192.168.1.102",response="4c183f1b93f8c63b7052eed3cdfedaf8",nonce="42cac6967970048b000",opaque="asop19431163asdfj",algorithm=md5

Content-Length: 0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

401 Authenticate for Outbound Invite

The following call flow shows an outbound INVITE message receiving a 401 Authenticate response.

 

 

 

Host API/Signaling Trace

1 -RECEIVED From 192.168.1.51:52678 at 14674

INVITE sip:8623000@192.168.1.102 SIP/2.0

Via: SIP/2.0/UDP 192.168.1.51:5060;branch=z9hG4bK658c0840

From: "8623001" <sip:8623001@192.168.1.102>;tag=00036b3c25150028421f633a-68d591de

To: <sip:8623000@192.168.1.102>

Call-ID: 00036b3c-2515002a-3af1874b-4da5b6ed@192.168.1.51

CSeq: 101 INVITE

User-Agent: CSCO/7

Contact: <sip:8623001@192.168.1.51:5060>

Expires: 180

Content-Type: application/sdp

Content-Length: 190

Accept: application/sdp

 

v=0

o=Cisco-SIPUA 5235 22144 IN IP4 192.168.1.51

s=SIP Call

c=IN IP4 192.168.1.51

t=0 0

m=audio 30712 RTP/AVP 0 8 18

a=rtpmap:0 PCMU/8000

a=rtpmap:8 PCMA/8000

a=rtpmap:18 G729/8000

 

 

2 -SENT To 192.168.1.51:5060 at 14674

SIP/2.0 100 Trying

To: <sip:8623000@192.168.1.102>;tag=42303952

From: "8623001" <sip:8623001@192.168.1.102>;tag=00036b3c25150028421f633a-68d591de

Call-ID: 00036b3c-2515002a-3af1874b-4da5b6ed@192.168.1.51

CSeq: 101 INVITE

Contact: 8623000<sip:8623000@192.168.1.102:5060>

Via: SIP/2.0/UDP 192.168.1.51:5060;branch=z9hG4bK658c0840

User-Agent: Excel_CSP/83.10.57

Content-Length: 0

 

 

X->H

[01 33 00 2d 00 0b 00 00 01 0d 03 00 00 11 00 33 01 03 00 33

01 1f 00 18 27 4e 00 02 00 05 27 7e 00 03 08 00 00 29

19 00 08 38 36 32 33 30 30 30 00 29 1b 00 0e 31 39 32

2e 31 36 38 2e 31 2e 31 30 32 00 29 1c 00 04 00 00 13

c4 29 23 00 08 38 36 32 33 30 30 31 00 29 25 00 0e 31

39 32 2e 31 36 38 2e 31 2e 31 30 32 00 29 26 00 04 00

00 13 c4 29 2d 00 08 38 36 32 33 30 30 31 00 29 2f 00

0d 31 39 32 2e 31 36 38 2e 31 2e 35 31 00 29 30 00 04

00 00 13 c4 29 33 00 01 01 27 18 00 09 02 00 00 00 07

86 23 00 10 27 17 00 07 02 00 07 86 23 00 00 27 94 00

04 c0 a8 01 33 27 95 00 04 00 00 77 f8 27 b0 00 02 00

02 27 b1 00 02 00 01 29 16 00 01 01 29 54 00 08 38 36

32 33 30 30 30 00 29 55 00 0e 31 39 32 2e 31 36 38 2e

31 2e 31 30 32 00 29 56 00 04 00 00 13 c4 29 50 00 31

30 30 30 33 36 62 33 63 2d 32 35 31 35 30 30 32 61 2d

33 61 66 31 38 37 34 62 2d 34 64 61 35 62 36 65 64 40

31 39 32 2e 31 36 38 2e 31 2e 35 31 00 29 53 00 02 01

00]

 

H->X

[00 0c 00 2d 00 0b 00 00 01 0d 03 00 00 11]

 

X->H

[00 59 00 43 00 11 00 00 01 0d 03 00 00 11 00 a7 00 23 01 03

00 33 00 43 00 04 29 53 00 02 02 01 29 51 00 22 30 30

30 33 36 62 33 63 32 35 31 35 30 30 32 38 34 32 31 66

36 33 33 61 2d 36 38 64 35 39 31 64 65 00 29 52 00 09

34 32 33 30 33 39 35 32 00 2a 0e 00 04 c0 a8 01 33]

 

H->X

[00 05 00 43 00 11 00]

 

H->X

[00 89 00 e8 00 00 00 00 01 29 02 ff fe 02 03 00 1e 00

19 00 04 00 13 00 02 00 08 00 08 00 02 00 65 00 0f 00

01 0b 00 65 00 02 00 00 03 00 33 00 5a 00 05 27 7e 00

03 08 00 00 29 19 00 08 38 36 32 33 30 30 30 00 29 1b

00 0e 31 39 32 2e 31 36 38 2e 31 2e 32 30 31 00 29 23

00 08 38 36 32 33 30 30 31 00 29 25 00 0d 31 39 32 2e

31 36 38 2e 31 2e 35 31 00 29 3b 00 08 38 36 32 33 30

30 31 00 29 3c 00 06 31 32 33 34 35 00]

 

 

3 -SENT To 192.168.1.201:5060 at 14675

INVITE sip:8623000@192.168.1.201:5060 SIP/2.0

Via: SIP/2.0/UDP 192.168.1.102

To: 8623000<sip:8623000@192.168.1.201:5060>

From: 8623001<sip:8623001@192.168.1.51:5060>;tag=155996683953

Call-ID: EXCEL-CSP0.617.14675.360@192.168.1.102

Contact: 8623001<sip:8623001@192.168.1.102:5060>

User-Agent: Excel_CSP/83.10.57

Supported: timer

Session-Expires: 1800

Min-SE: 300

CSeq: 1 INVITE

Content-Type: application/sdp

Content-Length: 105

 

v=0

o=sip 0 0 IN IP4 192.168.1.102

s=SIP_Call

c=IN IP4 192.168.1.131

t=0 0

m=audio 14236 RTP/AVP 0

 

 

4 -RECEIVED From 192.168.1.201:1047 at 14675

SIP/2.0 100 Trying

To: 8623000<sip:8623000@192.168.1.201:5060>;tag=9668e0

From: 8623001<sip:8623001@192.168.1.51:5060>;tag=155996683953

Call-ID: EXCEL-CSP0.617.14675.360@192.168.1.102

CSeq: 1 INVITE

Contact: 8623000<sip:8623000@192.168.1.201:5060>

Via: SIP/2.0/UDP 192.168.1.102

User-Agent: Excel_CSP/82.30.134

Content-Length: 0

 

 

5 -RECEIVED From 192.168.1.201:1047 at 14675

SIP/2.0 401 Unauthorized

To: 8623000<sip:8623000@192.168.1.201:5060>;tag=9668e0

From: 8623001<sip:8623001@192.168.1.51:5060>;tag=155996683953

Call-ID: EXCEL-CSP0.617.14675.360@192.168.1.102

CSeq: 1 INVITE

WWW-Authenticate: Digest realm="excelswitching.com", nonce="42cbde587025c4000", opaque="asop79668asdfj"

Via: SIP/2.0/UDP 192.168.1.102

User-Agent: Excel_CSP/82.30.134

Content-Length: 0

 

 

6 -SENT To 192.168.1.201:5060 at 14675

ACK sip:8623000@192.168.1.201:5060 SIP/2.0

Via: SIP/2.0/UDP 192.168.1.102

Call-ID: EXCEL-CSP0.617.14675.360@192.168.1.102

CSeq: 1 ACK

To: 8623000<sip:8623000@192.168.1.201:5060>;tag=9668e0

From: 8623001<sip:8623001@192.168.1.51:5060>;tag=155996683953

Content-Length: 0

 

 

7 -SENT To 192.168.1.201:5060 at 14675

INVITE sip:8623000@192.168.1.201:5060 SIP/2.0

Via: SIP/2.0/UDP 192.168.1.102

To: 8623000<sip:8623000@192.168.1.201:5060>

From: 8623001<sip:8623001@192.168.1.51:5060>;tag=155996683953

Call-ID: EXCEL-CSP0.617.14675.360@192.168.1.102

CSeq: 2 INVITE

User-Agent: Excel_CSP/83.10.57

Contact: 8623001<sip:8623001@192.168.1.102:5060>

Authorization: Digest realm="excelswitching.com", nonce="42cbde587025c4000", opaque="asop79668asdfj", username="8623001", response="d26f5e9f9b4adfb4e513e73e2cfd389b", uri="sip:8623000@192.168.1.201:5060"

Supported: timer

Session-Expires: 1800

Min-SE: 300

Content-Type: application/sdp

Content-Length: 105

 

v=0

o=sip 0 0 IN IP4 192.168.1.102

s=SIP_Call

c=IN IP4 192.168.1.131

t=0 0

m=audio 14236 RTP/AVP 0

 

 

8 -RECEIVED From 192.168.1.201:1047 at 14675

SIP/2.0 100 Trying

To: 8623000<sip:8623000@192.168.1.201:5060>;tag=9668e0

From: 8623001<sip:8623001@192.168.1.51:5060>;tag=155996683953

Call-ID: EXCEL-CSP0.617.14675.360@192.168.1.102

CSeq: 2 INVITE

Contact: 8623000<sip:8623000@192.168.1.201:5060>

Via: SIP/2.0/UDP 192.168.1.102

User-Agent: Excel_CSP/82.30.134

Content-Length: 0

 

 

9 -RECEIVED From 192.168.1.201:1047 at 14675

SIP/2.0 180 Ringing

To: 8623000<sip:8623000@192.168.1.201:5060>;tag=9668e0

From: 8623001<sip:8623001@192.168.1.51:5060>;tag=155996683953

Call-ID: EXCEL-CSP0.617.14675.360@192.168.1.102

CSeq: 2 INVITE

Contact: 8623000<sip:8623000@192.168.1.201:5060>

Via: SIP/2.0/UDP 192.168.1.102

User-Agent: Excel_CSP/82.30.134

Content-Length: 0

 

 

X->H

[00 46 00 e8 00 00 00 00 10 02 02 1e 09 00 01 00 39 00 03 00

00 12 03 00 33 00 2d 00 01 29 50 00 27 45 58 43 45 4c

2d 43 53 50 30 2e 36 31 37 2e 31 34 36 37 35 2e 33 36

30 40 31 39 32 2e 31 36 38 2e 31 2e 31 30 32 00]

 

X->H

[00 11 00 43 00 12 00 00 01 0d 03 00 00 12 00 a7 00 24 00]

 

H->X

[00 05 00 43 00 12 00]

 

H->X

[00 11 00 bf 00 00 00 00 02 0d 03 00 00 11 0d 03 00 00

11]

 

 

10-SENT To 192.168.1.51:5060 at 14675

SIP/2.0 180 Ringing

To: <sip:8623000@192.168.1.102>;tag=42303952

From: "8623001" <sip:8623001@192.168.1.102>;tag=00036b3c25150028421f633a-68d591de

Call-ID: 00036b3c-2515002a-3af1874b-4da5b6ed@192.168.1.51

CSeq: 101 INVITE

Contact: 8623000<sip:8623000@192.168.1.102:5060>

Via: SIP/2.0/UDP 192.168.1.51:5060;branch=z9hG4bK658c0840

User-Agent: Excel_CSP/83.10.57

Content-Length: 0

 

 

X->H

[00 07 00 bf 00 00 00 00 10]

 

 

11-RECEIVED From 192.168.1.201:1047 at 14677

SIP/2.0 200 OK

To: 8623000<sip:8623000@192.168.1.201:5060>;tag=9668e0

From: 8623001<sip:8623001@192.168.1.51:5060>;tag=155996683953

Call-ID: EXCEL-CSP0.617.14675.360@192.168.1.102

CSeq: 2 INVITE

Contact: 8623000<sip:8623000@192.168.1.201:5060>

Require: timer

Supported: timer

Session-Expires: 1800; refresher=uas

Via: SIP/2.0/UDP 192.168.1.102

User-Agent: Excel_CSP/82.30.134

Content-Type: application/sdp

Content-Length: 104

 

v=0

o=sip 0 0 IN IP4 192.168.1.201

s=SIP_Call

c=IN IP4 192.168.1.232

t=0 0

m=audio 8028 RTP/AVP 0

 

 

12-SENT To 192.168.1.201:5060 at 14678

ACK sip:8623000@192.168.1.201:5060 SIP/2.0

Via: SIP/2.0/UDP 192.168.1.102

To: 8623000<sip:8623000@192.168.1.201:5060>;tag=9668e0

From: 8623001<sip:8623001@192.168.1.51:5060>;tag=155996683953

Call-ID: EXCEL-CSP0.617.14675.360@192.168.1.102

CSeq: 2 ACK

Content-Length: 0

 

 

X->H

[00 2e 00 43 00 13 00 00 01 0d 03 00 00 12 00 a7 00 20 01 03

00 33 00 18 00 03 27 94 00 04 c0 a8 01 e8 27 95 00 04

00 00 1f 5c 27 b0 00 02 00 02]

 

H->X

[00 05 00 43 00 13 00]

 

X->H

[00 0d 00 2e 00 03 00 00 01 0d 03 00 00 12 20]

 

H->X

[00 05 00 2e 00 03 00]

 

H->X

[00 11 00 00 00 00 00 00 02 0d 03 00 00 11 0d 03 00 00

12]

 

X->H

[00 07 00 00 00 00 00 00 10]

 

H->X

[00 0d 00 ba 00 00 00 00 01 0d 03 00 00 11 01]

 

X->H

[00 07 00 ba 00 00 00 00 10]

 

 

13-SENT To 192.168.1.51:5060 at 14678

SIP/2.0 200 OK

To: <sip:8623000@192.168.1.102>;tag=42303952

From: "8623001" <sip:8623001@192.168.1.102>;tag=00036b3c25150028421f633a-68d591de

Call-ID: 00036b3c-2515002a-3af1874b-4da5b6ed@192.168.1.51

CSeq: 101 INVITE

Contact: 8623000<sip:8623000@192.168.1.102:5060>

Supported: timer

Session-Expires: 1800; refresher=uas

Via: SIP/2.0/UDP 192.168.1.51:5060;branch=z9hG4bK658c0840

User-Agent: Excel_CSP/83.10.57

Content-Type: application/sdp

Content-Length: 105

 

v=0

o=sip 0 0 IN IP4 192.168.1.102

s=SIP_Call

c=IN IP4 192.168.1.131

t=0 0

m=audio 14204 RTP/AVP 0

 

14-RECEIVED From 192.168.1.51:52678 at 14678

ACK sip:8623000@192.168.1.102:5060 SIP/2.0

Via: SIP/2.0/UDP 192.168.1.51:5060;branch=z9hG4bK42290e92

From: "8623001" <sip:8623001@192.168.1.102>;tag=00036b3c25150028421f633a-68d591de

To: <sip:8623000@192.168.1.102>;tag=42303952

Call-ID: 00036b3c-2515002a-3af1874b-4da5b6ed@192.168.1.51

CSeq: 101 ACK

User-Agent: CSCO/7

Content-Length: 0

407 Proxy Authenticate for Outbound INVITE

The following call flows shows the outbound INVITE message receiving a 407 Proxy Authenticate response.

 

 

 

 

Host API/Signaling Trace

1 -RECEIVED From 192.168.1.51:52678 at 13883

INVITE sip:8623000@192.168.1.102 SIP/2.0

Via: SIP/2.0/UDP 192.168.1.51:5060;branch=z9hG4bK78bfb5a0

From: "8623001" <sip:8623001@192.168.1.102>;tag=00036b3c2515002729a42dd3-51a1a17a

To: <sip:8623000@192.168.1.102>

Call-ID: 00036b3c-25150029-7ac0682f-2f71a3f1@192.168.1.51

CSeq: 101 INVITE

User-Agent: CSCO/7

Contact: <sip:8623001@192.168.1.51:5060>

Expires: 180

Content-Type: application/sdp

Content-Length: 190

Accept: application/sdp

 

v=0

o=Cisco-SIPUA 12170 6068 IN IP4 192.168.1.51

s=SIP Call

c=IN IP4 192.168.1.51

t=0 0

m=audio 30710 RTP/AVP 0 8 18

a=rtpmap:0 PCMU/8000

a=rtpmap:8 PCMA/8000

a=rtpmap:18 G729/8000

 

 

2 -SENT To 192.168.1.51:5060 at 13883

SIP/2.0 100 Trying

To: <sip:8623000@192.168.1.102>;tag=4788363b

From: "8623001" <sip:8623001@192.168.1.102>;tag=00036b3c2515002729a42dd3-51a1a17a

Call-ID: 00036b3c-25150029-7ac0682f-2f71a3f1@192.168.1.51

CSeq: 101 INVITE

Contact: 8623000<sip:8623000@192.168.1.102:5060>

Via: SIP/2.0/UDP 192.168.1.51:5060;branch=z9hG4bK78bfb5a0

User-Agent: Excel_CSP/83.10.57

Content-Length: 0

 

 

X->H

[01 33 00 2d 00 0a 00 00 01 0d 03 00 08 03 00 33 01 03 00 33

01 1f 00 18 27 4e 00 02 00 05 27 7e 00 03 08 00 00 29

19 00 08 38 36 32 33 30 30 30 00 29 1b 00 0e 31 39 32

2e 31 36 38 2e 31 2e 31 30 32 00 29 1c 00 04 00 00 13

c4 29 23 00 08 38 36 32 33 30 30 31 00 29 25 00 0e 31

39 32 2e 31 36 38 2e 31 2e 31 30 32 00 29 26 00 04 00

00 13 c4 29 2d 00 08 38 36 32 33 30 30 31 00 29 2f 00

0d 31 39 32 2e 31 36 38 2e 31 2e 35 31 00 29 30 00 04

00 00 13 c4 29 33 00 01 01 27 18 00 09 02 00 00 00 07

86 23 00 10 27 17 00 07 02 00 07 86 23 00 00 27 94 00

04 c0 a8 01 33 27 95 00 04 00 00 77 f6 27 b0 00 02 00

02 27 b1 00 02 00 01 29 16 00 01 01 29 54 00 08 38 36

32 33 30 30 30 00 29 55 00 0e 31 39 32 2e 31 36 38 2e

31 2e 31 30 32 00 29 56 00 04 00 00 13 c4 29 50 00 31

30 30 30 33 36 62 33 63 2d 32 35 31 35 30 30 32 39 2d

37 61 63 30 36 38 32 66 2d 32 66 37 31 61 33 66 31 40

31 39 32 2e 31 36 38 2e 31 2e 35 31 00 29 53 00 02 01

00]

 

H->X

[00 0c 00 2d 00 0a 00 00 01 0d 03 00 08 03]

 

X->H

[00 59 00 43 00 0e 00 00 01 0d 03 00 08 03 00 a7 00 23 01 03

00 33 00 43 00 04 29 53 00 02 02 01 29 51 00 22 30 30

30 33 36 62 33 63 32 35 31 35 30 30 32 37 32 39 61 34

32 64 64 33 2d 35 31 61 31 61 31 37 61 00 29 52 00 09

34 37 38 38 33 36 33 62 00 2a 0e 00 04 c0 a8 01 33]

 

H->X

[00 05 00 43 00 0e 00]

 

H->X

[00 89 00 e8 00 00 ff 00 01 29 02 ff fe 02 03 00 1e 00

19 00 04 00 13 00 02 00 08 00 08 00 02 00 65 00 0f 00

01 0b 00 65 00 02 00 00 03 00 33 00 5a 00 05 27 7e 00

03 08 00 00 29 19 00 08 38 36 32 33 30 30 30 00 29 1b

00 0e 31 39 32 2e 31 36 38 2e 31 2e 30 32 30 00 29 23

00 08 38 36 32 33 30 30 31 00 29 25 00 0d 31 39 32 2e

31 36 38 2e 31 2e 35 31 00 29 3d 00 08 38 36 32 33 30

30 31 00 29 3e 00 06 31 32 33 34 35 00]

 

 

3 -SENT To 192.168.1.20:5060 at 13884

INVITE sip:8623000@192.168.1.020:5060 SIP/2.0

Via: SIP/2.0/UDP 192.168.1.102

To: 8623000<sip:8623000@192.168.1.020:5060>

From: 8623001<sip:8623001@192.168.1.51:5060>;tag=15434937363c

Call-ID: EXCEL-CSP0.607.13884.820@192.168.1.102

Contact: 8623001<sip:8623001@192.168.1.102:5060>

User-Agent: Excel_CSP/83.10.57

Supported: timer

Session-Expires: 1800

Min-SE: 300

CSeq: 1 INVITE

Content-Type: application/sdp

Content-Length: 105

 

v=0

o=sip 0 0 IN IP4 192.168.1.102

s=SIP_Call

c=IN IP4 192.168.1.131

t=0 0

m=audio 14172 RTP/AVP 0

 

 

4 -RECEIVED From 192.168.1.20:5060 at 13884

SIP/2.0 407 Proxy Authentication Required

Via: SIP/2.0/UDP 192.168.1.102

From: 8623001<sip:8623001@192.168.1.51:5060>;tag=15434937363c

To: 8623000<sip:8623000@192.168.1.020:5060>;tag=as40973a8e

Call-ID: EXCEL-CSP0.607.13884.820@192.168.1.102

CSeq: 1 INVITE

User-Agent: Asterisk PBX

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER

Contact: <sip:8623000@192.168.1.20>

Proxy-Authenticate: Digest realm="asterisk", nonce="4fb1add8"

Content-Length: 0

 

 

5 -SENT To 192.168.1.20:5060 at 13884

ACK sip:8623000@192.168.1.020:5060 SIP/2.0

Via: SIP/2.0/UDP 192.168.1.102

Call-ID: EXCEL-CSP0.607.13884.820@192.168.1.102

CSeq: 1 ACK

To: 8623000<sip:8623000@192.168.1.020:5060>;tag=as40973a8e

From: 8623001<sip:8623001@192.168.1.51:5060>;tag=15434937363c

Content-Length: 0

 

 

6 -SENT To 192.168.1.20:5060 at 13884

INVITE sip:8623000@192.168.1.020:5060 SIP/2.0

Via: SIP/2.0/UDP 192.168.1.102

To: 8623000<sip:8623000@192.168.1.020:5060>

From: 8623001<sip:8623001@192.168.1.51:5060>;tag=15434937363c

Call-ID: EXCEL-CSP0.607.13884.820@192.168.1.102

CSeq: 2 INVITE

User-Agent: Excel_CSP/83.10.57

Contact: 8623001<sip:8623001@192.168.1.102:5060>

Proxy-Authorization: Digest realm="asterisk", nonce="4fb1add8", username="8623001", response="6a9a8a79460d5834f228069eb1399dae", uri="sip:8623000@192.168.1.020:5060"

Supported: timer

Session-Expires: 1800

Min-SE: 300

Content-Type: application/sdp

Content-Length: 105

 

v=0

o=sip 0 0 IN IP4 192.168.1.102

s=SIP_Call

c=IN IP4 192.168.1.131

t=0 0

m=audio 14172 RTP/AVP 0

 

 

7 -RECEIVED From 192.168.1.20:5060 at 13884

SIP/2.0 100 Trying

Via: SIP/2.0/UDP 192.168.1.102

From: 8623001<sip:8623001@192.168.1.51:5060>;tag=15434937363c

To: 8623000<sip:8623000@192.168.1.020:5060>

Call-ID: EXCEL-CSP0.607.13884.820@192.168.1.102

CSeq: 2 INVITE

User-Agent: Asterisk PBX

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER

Contact: <sip:8623000@192.168.1.20>

Content-Length: 0

 

 

8 -RECEIVED From 192.168.1.20:5060 at 13884

SIP/2.0 180 Ringing

Via: SIP/2.0/UDP 192.168.1.102

From: 8623001<sip:8623001@192.168.1.51:5060>;tag=15434937363c

To: 8623000<sip:8623000@192.168.1.020:5060>;tag=as1a9537b4

Call-ID: EXCEL-CSP0.607.13884.820@192.168.1.102

CSeq: 2 INVITE

User-Agent: Asterisk PBX

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER

Contact: <sip:8623000@192.168.1.20>

Content-Length: 0

 

 

X->H

[00 46 00 e8 00 00 00 00 10 02 02 1e 09 00 01 00 39 00 03 00

00 10 03 00 33 00 2d 00 01 29 50 00 27 45 58 43 45 4c

2d 43 53 50 30 2e 36 30 37 2e 31 33 38 38 34 2e 38 32

30 40 31 39 32 2e 31 36 38 2e 31 2e 31 30 32 00]

 

X->H

[00 11 00 43 00 0f 00 00 01 0d 03 00 00 10 00 a7 00 24 00]

 

H->X

[00 05 00 43 00 0f 00]

 

H->X

[00 11 00 bf 00 00 ff 00 02 0d 03 00 08 03 0d 03 00 08

03]

 

 

9 -SENT To 192.168.1.51:5060 at 13885

SIP/2.0 180 Ringing

To: <sip:8623000@192.168.1.102>;tag=4788363b

From: "8623001" <sip:8623001@192.168.1.102>;tag=00036b3c2515002729a42dd3-51a1a17a

Call-ID: 00036b3c-25150029-7ac0682f-2f71a3f1@192.168.1.51

CSeq: 101 INVITE

Contact: 8623000<sip:8623000@192.168.1.102:5060>

Via: SIP/2.0/UDP 192.168.1.51:5060;branch=z9hG4bK78bfb5a0

User-Agent: Excel_CSP/83.10.57

Content-Length: 0

 

 

X->H

[00 07 00 bf 00 00 00 00 10]

 

 

10-RECEIVED From 192.168.1.20:5060 at 13888

SIP/2.0 200 OK

Via: SIP/2.0/UDP 192.168.1.102

From: 8623001<sip:8623001@192.168.1.51:5060>;tag=15434937363c

To: 8623000<sip:8623000@192.168.1.020:5060>;tag=as1a9537b4

Call-ID: EXCEL-CSP0.607.13884.820@192.168.1.102

CSeq: 2 INVITE

User-Agent: Asterisk PBX

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER

Contact: <sip:8623000@192.168.1.20>

Content-Type: application/sdp

Content-Length: 207

 

v=0

o=root 16400 16400 IN IP4 192.168.1.20

s=session

c=IN IP4 192.168.1.20

t=0 0

m=audio 12026 RTP/AVP 3 0 8

a=rtpmap:3 GSM/8000

a=rtpmap:0 PCMU/8000

a=rtpmap:8 PCMA/8000

a=silenceSupp:off - - - -

 

 

11-SENT To 192.168.1.20:5060 at 13888

ACK sip:8623000@192.168.1.20:5060 SIP/2.0

Via: SIP/2.0/UDP 192.168.1.102

To: 8623000<sip:8623000@192.168.1.020:5060>;tag=as1a9537b4

From: 8623001<sip:8623001@192.168.1.51:5060>;tag=15434937363c

Call-ID: EXCEL-CSP0.607.13884.820@192.168.1.102

CSeq: 2 ACK

Content-Length: 0

 

 

X->H

[00 2e 00 43 00 10 00 00 01 0d 03 00 00 10 00 a7 00 20 01 03

00 33 00 18 00 03 27 94 00 04 c0 a8 01 14 27 95 00 04

00 00 2e fa 27 b0 00 02 00 02]

 

H->X

[00 05 00 43 00 10 00]

 

X->H

[00 0d 00 2e 00 02 00 00 01 0d 03 00 00 10 20]

 

H->X

[00 05 00 2e 00 02 00]

 

H->X

[00 11 00 00 00 00 ff 00 02 0d 03 00 08 03 0d 03 00 00

10]

 

X->H

[00 07 00 00 00 00 00 00 10]

 

H->X

[00 0d 00 ba 00 00 ff 00 01 0d 03 00 08 03 01]

 

X->H

[00 07 00 ba 00 00 00 00 10]

 

 

12-SENT To 192.168.1.51:5060 at 13888

SIP/2.0 200 OK

To: <sip:8623000@192.168.1.102>;tag=4788363b

From: "8623001" <sip:8623001@192.168.1.102>;tag=00036b3c2515002729a42dd3-51a1a17a

Call-ID: 00036b3c-25150029-7ac0682f-2f71a3f1@192.168.1.51

CSeq: 101 INVITE

Contact: 8623000<sip:8623000@192.168.1.102:5060>

Supported: timer

Session-Expires: 1800; refresher=uas

Via: SIP/2.0/UDP 192.168.1.51:5060;branch=z9hG4bK78bfb5a0

User-Agent: Excel_CSP/83.10.57

Content-Type: application/sdp

Content-Length: 105

 

v=0

o=sip 0 0 IN IP4 192.168.1.102

s=SIP_Call

c=IN IP4 192.168.1.132

t=0 0

m=audio 15800 RTP/AVP 0

 

 

13-RECEIVED From 192.168.1.51:52678 at 13888

ACK sip:8623000@192.168.1.102:5060 SIP/2.0

Via: SIP/2.0/UDP 192.168.1.51:5060;branch=z9hG4bK63f2911e

From: "8623001" <sip:8623001@192.168.1.102>;tag=00036b3c2515002729a42dd3-51a1a17a

To: <sip:8623000@192.168.1.102>;tag=4788363b

Call-ID: 00036b3c-25150029-7ac0682f-2f71a3f1@192.168.1.51

CSeq: 101 ACK

User-Agent: CSCO/7

Content-Length: 0