RFC 3666 - Session Initiation Protocol (SIP) Public Switched(8)

时间:2006-10-22 来源: 作者: 点击:
Request-URItoidentifywhatprivatedialingplanisbeing referenced.TheINVITEisthenforwardedtoGW2forcall completion.Anearlymediapathisestablishedend-to-endsothat AlicecanheartheringingtonegeneratedbyPBXC.
  
   Request-URI to identify what private dialing plan is being
   referenced.  The INVITE is then forwarded to GW 2 for call
   completion.  An early media path is established end-to-end so that
   Alice can hear the ringing tone generated by PBX C.

   Carol answers the call and the media path is cut through in both
   directions.  Bob hangs up terminating the call.

   Message Details

   F1 IAM Switch Alice -> NGW 1

   IAM
   CgPN=314-555-1111,NPI=E.164,NOA=National
   CdPN=918-555-3333,NPI=E.164,NOA=National

   F2 INVITE NGW 1 -> Proxy 1

   INVITE sips:+19185553333@ss1.a.example.com;user=phone  SIP/2.0
   Via: SIP/2.0/TLS ngw1.a.example.com:5061;branch=z9hG4bKlueha2
   Max-Forwards: 70
   From: <sips:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals
   To: <sips:+19185553333@ss1.a.example.com;user=phone>
   Call-ID: 2xTb9vxSit55XU7p8@ngw1.a.example.com
   CSeq: 1 INVITE
   Contact: <sips:ngw1@a.example.com>
   Content-Type: application/sdp
   Content-Length: 146

   v=0
   o=GW 2890844526 2890844526 IN IP4 ngw1.a.example.com
   s=-
   c=IN IP4 ngw1.a.example.com
   t=0 0
   m=audio 3456 RTP/AVP 0
   a=rtpmap:0 PCMU/8000

   /* Proxy 1 consults Location Service and translates the dialed number
   to a private number in the Request-URI*/

   F3 INVITE Proxy 1 -> GW 2

   INVITE sips:4443333@gw2.a.example.com SIP/2.0
   Via: SIP/2.0/TLS ss1.a.example.com:5061;branch=z9hG4bK2d4790.1
   Via: SIP/2.0/TLS ngw1.a.example.com:5061;branch=z9hG4bKwqwee65

    ;received=192.0.2.103
   Max-Forwards: 69
   Record-Route: <sips:ss1.a.example.com;lr>
   From: <sips:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals
   To: <sips:+19185553333@ss1.a.example.com;user=phone>
   Call-ID: 2xTb9vxSit55XU7p8@ngw1.a.example.com
   CSeq: 1 INVITE
   Contact: <sips:ngw1@a.example.com>
   Content-Type: application/sdp
   Content-Length: 146

   v=0
   o=GW 2890844526 2890844526 IN IP4 ngw1.a.example.com
   s=-
   c=IN IP4 ngw1.a.example.com
   t=0 0
   m=audio 3456 RTP/AVP 0
   a=rtpmap:0 PCMU/8000

   F4 IAM GW 2 -> Switch C

   IAM
   CgPN=314-555-1111,NPI=E.164,NOA=National
   CdPN=444-3333,NPI=Private,NOA=Subscriber

   F5 ACM Switch C -> GW 2

   ACM

   /* Based on the ACM message, GW 2 returns a 183 response.  In-band
   call progress indications are sent to Alice through NGW 1. */

   F6 183 Session Progress GW 2 -> Proxy 1

   SIP/2.0 183 Session Progress
   Via: SIP/2.0/TLS ss1.a.example.com:5061;branch=z9hG4bK2d4790.1
    ;received=192.0.2.111
   Via: SIP/2.0/TLS ngw1.a.example.com:5061;branch=z9hG4bKlueha2
    ;received=192.0.2.103
   Record-Route: <sips:ss1.a.example.com;lr>
   From: <sips:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals
   To: <sips:+19185553333@ss1.a.example.com;user=phone>;tag=314159
   Call-ID: 2xTb9vxSit55XU7p8@ngw1.a.example.com
   CSeq: 1 INVITE
   Contact: <sips:4443333@gw2.a.example.com>

   Content-Type: application/sdp
   Content-Length: 143

   v=0
   o=GW 987654321 987654321 IN IP4 gw2.a.example.com
   s=-
   c=IN IP4 gw2.a.example.com
   t=0 0
   m=audio 14918 RTP/AVP 0
   a=rtpmap:0 PCMU/8000

   F7 183 Session Progress Proxy 1 -> GW 1

   SIP/2.0 183 Session Progress
   Via: SIP/2.0/TLS ngw1.a.example.com:5061;branch=z9hG4bKlueha2
    ;received=192.0.2.103
   Record-Route: <sips:ss1.a.example.com;lr>
   From: <sips:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals
   To: <sips:+19185553333@ss1.a.example.com;user=phone>;tag=314159
   Call-ID: 2xTb9vxSit55XU7p8@ngw1.a.example.com
   CSeq: 1 INVITE
   Contact: <sips:4443333@gw2.a.example.com>
   Content-Type: application/sdp
   Content-Length: 143

   v=0
   o=GW 987654321 987654321 IN IP4 gw2.a.example.com
   s=-
   c=IN IP4 gw2.a.example.com
   t=0 0
   m=audio 14918 RTP/AVP 0
   a=rtpmap:0 PCMU/8000

   /* NGW 1 receives packets from GW 2 with encoded ringback, tones or
   other audio.  NGW 1 decodes this and places it on the originating
   trunk. */

   F8 ACM NGW 1 -> Switch A

   ACM

   /* Bob answers */

   F9 ANM Switch C -> GW 2

   ANM

   F10 200 OK GW 2 -> Proxy 1

   SIP/2.0 200 OK
   Via: SIP/2.0/TLS ss1.a.example.com:5061;branch=z9hG4bK2d4790.1
    ;received=192.0.2.111
   Via: SIP/2.0/TLS ngw1.a.example.com:5061;branch=z9hG4bKlueha2
    ;received=192.0.2.103
   Record-Route: <sips:ss1.a.example.com;lr>
   From: <sips:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals
   To: <sips:+19185553333@ss1.a.example.com;user=phone>;tag=314159
   Call-ID: 2xTb9vxSit55XU7p8@ngw1.a.example.com
   CSeq: 1 INVITE
   Contact: <sips:4443333@gw2.a.example.com>
   Content-Type: application/sdp
   Content-Length: 143

   v=0
   o=GW 987654321 987654321 IN IP4 gw2.a.example.com
   s=-
   c=IN IP4 gw2.a.example.com
   t=0 0
   m=audio 14918 RTP/AVP 0
   a=rtpmap:0 PCMU/8000

   F11 200 OK Proxy 1 -> NGW 1

   SIP/2.0 200 OK
   Via: SIP/2.0/TLS ngw1.a.example.com:5061;branch=z9hG4bKlueha2
    ;received=192.0.2.103
   Record-Route: <sips:ss1.a.example.com;lr>
   From: <sips:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals
   To: <sips:+19185553333@ss1.a.example.com;user=phone>;tag=314159
   Call-ID: 2xTb9vxSit55XU7p8@ngw1.a.example.com
   CSeq: 1 INVITE
   Contact: <sips:4443333@gw2.a.example.com>
   Content-Type: application/sdp
   Content-Length: 143

   v=0
   o=GW 987654321 987654321 IN IP4 gw2.a.example.com
   s=-
   c=IN IP4 gw2.a.example.com

   t=0 0
   m=audio 14918 RTP/AVP 0
   a=rtpmap:0 PCMU/8000

   F12 ANM NGW 1 -> Switch A

   ANM

   F13 ACK NGW 1 -> Proxy 1

   ACK sips:4443333@gw2.a.example.com SIP/2.0
   Via: SIP/2.0/TLS ngw1.a.example.com:5061;branch=z9hG4bKlueha2
   Max-Forwards: 70
   Route: <sips:ss1.a.example.com;lr>
   From: <sips:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals
   To: <sips:+19185553333@ss1.a.example.com;user=phone>;tag=314159
   Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com
   CSeq: 1 ACK
   Content-Length: 0

   F14 ACK Proxy 1 -> GW 2

   ACK sips:4443333@gw2.a.example.com SIP/2.0
   Via: SIP/2.0/TLS ss1.a.example.com:5061;branch=z9hG4bK2d4790.1
   Via: SIP/2.0/TLS ngw1.a.example.com:5061;branch=z9hG4bKlueha2
    ;received=192.0.2.103
   Max-Forwards: 69
   From: <sips:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals
   To: <sips:+19185553333@ss1.a.example.com;user=phone>;tag=314159
   Call-ID: 2xTb9vxSit55XU7p8@ngw1.a.example.com
   CSeq: 1 ACK
   Content-Length: 0

   /* RTP streams are established between NGW 1 and GW 2. */

   /* Bob Hangs Up with Alice. */

   F15 REL Switch C -> GW 2

   REL
   CauseCode=16 Normal

   F16 BYE GW 2 -> Proxy 1

   BYE sips:ngw1@a.example.com SIP/2.0
   Via: SIP/2.0/TLS gw2.a.example.com:5061;branch=z9hG4bKtexx6
   Max-Forwards: 70
   Route: <sips:ss1.a.example.com;lr>
   From: <sips:+19185553333@ss1.a.example.com;user=phone>;tag=314159
   To: <sips:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals
   Call-ID: 2xTb9vxSit55XU7p8@ngw1.a.example.com
   CSeq: 4 BYE
   Content-Length: 0

   F17 RLC GW 2 -> Switch C

   RLC

   F18 BYE Proxy 1 -> NGW 1

   BYE sips:ngw1@a.example.com SIP/2.0
   Via: SIP/2.0/TLS ss1.a.example.com:5061;branch=z9hG4bK2d4790.1
   Via: SIP/2.0/TLS gw2.a.example.com:5061;branch=z9hG4bKtexx6
    ;received=192.0.2.202
   Max-Forwards: 69
   From: <sips:+19185553333@ss1.a.example.com;user=phone>;tag=314159
   To: <sips:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals
   Call-ID: 2xTb9vxSit55XU7p8@ngw1.a.example.com
   CSeq: 4 BYE
   Content-Length: 0

   F19 200 OK NGW 1 -> Proxy 1

   SIP/2.0 200 OK
   Via: SIP/2.0/TLS ss1.a.example.com:5061;branch=z9hG4bK2d4790.1
    ;received=192.0.2.111
   Via: SIP/2.0/TLS gw2.a.example.com:5061;branch=z9hG4bKtexx6
    ;received=192.0.2.202
   From: <sips:+19185553333@ss1.a.example.com;user=phone>;tag=314159
   To: <sips:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals
   Call-ID: 2xTb9vxSit55XU7p8@ngw1.a.example.com
   CSeq: 4 BYE
   Content-Length: 0

   F20 200 OK Proxy 1 -> GW 2

   SIP/2.0 200 OK
   Via: SIP/2.0/TLS gw2.a.example.com:5061;branch=z9hG4bKtexx6
    ;received=192.0.2.202
   From: <sips:+19185553333@ss1.a.example.com;user=phone>;tag=314159
   To: <sips:+13145551111@ngw1.a.example.com;user=phone>;tag=7643kals
   Call-ID: 2xTb9vxSit55XU7p8@ngw1.a.example.com
   CSeq: 4 BYE
   Content-Length: 0

   F21 REL Switch C -> GW 2

   REL
   CauseCode=16 Normal

   F22 RLC GW 2 -> Switch C

   RLC

4.2.  Successful FGB PBX to ISDN PBX call with overflow

   PBX A       GW 1        Proxy 1        GW 2         GW 3        PBX C
     |            |            |            |            |            |
     |  Seizure   |            |            |            |            |
     |----------->|            |            |            |            |
     |    Wink    |            |            |            |            |
     |<-----------|            |            |            |            |
     |MF Digits F1|            |            |            |            |
     |----------->|            |            |            |            |
     |            | INVITE F2  |            |            |            |
     |            |----------->| INVITE F3  |            |            |
     |            |            |----------->|            |            |
     |            |            |   503 F4   |            |            |
     |            |            |<-----------|            |            |
     |            |            |   ACK F5   |            |            |
     |            |            |----------->|            |            |
     |            |            |  INVITE F6              |            |
     |            |            |------------------------>|  SETUP F7  |
     |            |            |          100  F8        |----------->|
     |            |            |<------------------------|CALL PROC F9|
     |            |            |                         |<-----------|
     |            |            |                         | ALERT F10  |
     |            |            |          180 F11        |<-----------|
     |            |  180 F12   |<------------------------|            |
     |            |<-----------|                         |            |
     | Ringtone   |            |                         |OneWay Voice|
     |<===========|            |                         |<===========|
     |            |            |                         | CONNect F13|
     |            |            |         200 F14         |<-----------|
     |            |  200 F15   |<------------------------|            |
     |  Seizure   |<-----------|                         |            |
     |<-----------|  ACK F16   |                         |            |
     |            |----------->|         ACK F17         |            |
     |            |            |------------------------>|CONN ACK F18|
     |            |            |                         |----------->|
     |BothWayVoice|          Both Way RTP Media          |BothWayVoice|
     |<==========>|<====================================>|<==========>|
     |            |            |                         |  DISC F19  |
     |            |            |                         |<-----------|
     |            |            |         BYE F20         |            |
     |            |  BYE F21   |<------------------------|  REL F22   |
     |Seiz Removal|<-----------|                         |----------->|
     |<-----------|  200 F23   |                         |            |
     |Seiz Removal|----------->|         200 F24         |            |
     |----------->|            |------------------------>| REL COM F25|
     |            |            |                         |<-----------|
     |            |            |                         |            |

   PBX Alice calls PBX Carol via Gateway GW 1 and Proxy 1.  During the
   attempt to reach Carol via GW 2, an error is encountered - Proxy 1
   receives a 503 Service Unavailable (F4) response to the forwarded
   INVITE.  This could be due to all circuits being busy, or some other
   outage at GW 2.  Proxy 1 recognizes the error and uses an alternative
   route via GW 3 to terminate the call.  From there, the call proceeds
   normally with Carol answering the call.  The call is terminated when
   Carol hangs up.

   Message Details

   PBX Alice -> GW 1

   Seizure

   GW 1 -> PBX A

   Wink

   F1 MF Digits PBX Alice -> GW 1

   KP 444 3333 ST

   F2 INVITE GW 1 -> Proxy 1

   INVITE sip:4443333@ss1.a.example.com SIP/2.0
   Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65
   Max-Forwards: 70
   From: <sip:551313@gw1.a.example.com>;tag=63412s
   To: <sip:4443333@ss1.a.example.com>
   Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com
   CSeq: 1 INVITE
   Contact: <sip:551313@gw1.a.example.com>
   Content-Type: application/sdp
   Content-Length: 155

   v=0
   o=GW 2890844526 2890844526 IN IP4 gw1.a.example.com
   s=-
   c=IN IP4 gw1.a.example.com
   t=0 0
   m=audio 49172 RTP/AVP 0
   a=rtpmap:0 PCMU/8000

   /* Proxy 1 uses a Location Service function to determine where B is
   located.  Response is returned listing alternative routes, GW2 and
   GW3, which are then tried sequentially. */

   F3 INVITE Proxy 1 -> GW 2

   INVITE sip:4443333@gw2.a.example.com SIP/2.0
   Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1
   Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65
    ;received=192.0.2.201
   Max-Forwards: 69
   Record-Route: <sip:ss1.a.example.com;lr>
   From: <sip:551313@gw1.a.example.com>;tag=63412s
   To: <sip:4443333@ss1.a.example.com>
   Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com
   CSeq: 1 INVITE
   Contact: <sip:551313@gw1.a.example.com>
   Content-Type: application/sdp
   Content-Length: 155

   v=0
   o=GW 2890844526 2890844526 IN IP4 gw1.a.example.com
   s=-
   c=IN IP4 gw1.a.example.com
   t=0 0
   m=audio 49172 RTP/AVP 0
   a=rtpmap:0 PCMU/8000

   F4 503 Service Unavailable GW 2 -> Proxy 1

   SIP/2.0 503 Service Unavailable
   Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1
    ;received=192.0.2.111
   Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65
    ;received=192.0.2.201
   From: <sip:551313@gw1.a.example.com>;tag=63412s
   To: <sip:4443333@ss1.a.example.com>;tag=314159
   Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com
   CSeq: 1 INVITE
   Content-Length: 0

   F5 ACK Proxy 1 -> GW 2

   ACK sip:4443333@ss1.a.example.com SIP/2.0
   Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.1

   Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65
    ;received=192.0.2.201
   Max-Forward: 70
   From: <sip:551313@gw1.a.example.com>;tag=63412s
   To: <sip:4443333@ss1.a.example.com>;tag=314159
   Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com
   CSeq: 1 ACK
   Content-Length: 0

   F6 INVITE Proxy 1 -> GW 3

   INVITE sip:+19185553333@gw3.a.example.com;user=phone SIP/2.0
   Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.2
   Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65
    ;received=192.0.2.201
   Max-Forwards: 69
   Record-Route: <sip:ss1.a.example.com;lr>
   From: <sip:551313@gw1.a.example.com>;tag=63412s
   To: <sip:4443333@ss1.a.example.com>
   Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com
   CSeq: 1 INVITE
   Contact: <sip:551313@gw1.a.example.com>
   Content-Type: application/sdp
   Content-Length: 155

   v=0
   o=GW 2890844526 2890844526 IN IP4 gw1.a.example.com
   s=-
   c=IN IP4 gw1.a.example.com
   t=0 0
   m=audio 49172 RTP/AVP 0
   a=rtpmap:0 PCMU/8000

   F7 SETUP GW 3 -> PBX C

   Protocol discriminator=Q.931
   Message type=SETUP
   Bearer capability: Information transfer capability=0 (Speech) or 16
   (3.1 kHz audio)
   Channel identification=Preferred or exclusive B-channel
   Progress indicator=1 (Call is not end-to-end ISDN; further call
   progress information may be available inband)
   Called party number:
   Type of number and numbering plan ID=33 (National number in ISDN
   numbering plan)
   Digits=918-555-3333

   F8 100 Trying GW 3 -> Proxy 1

   SIP/2.0 100 Trying
   Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65
    ;received=192.0.2.201
   From: <sip:551313@gw1.a.example.com>;tag=63412s
   To: <sip:4443333@ss1.a.example.com>
   Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com
   CSeq: 1 INVITE
   Content-Length: 0

   F9 CALL PROCeeding PBX C -> GW 3

   Protocol discriminator=Q.931
   Message type=CALL PROC

   F10 ALERT PBX C -> GW 3

   Protocol discriminator=Q.931
   Message type=PROG

   /* Based on ALERT message, GW 3 returns a 180 response. */

   F11 180 Ringing GW 3 -> Proxy 1

   SIP/2.0 180 Ringing
   Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.2
    ;received=192.0.2.111
   Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65
    ;received=192.0.2.201
   Record-Route: <sip:ss1.a.example.com;lr>
   From: <sip:551313@gw1.a.example.com>;tag=63412s
   To: <sip:4443333@ss1.a.example.com>;tag=123456789
   Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com
   CSeq: 1 INVITE
   Contact: <sip:+19185553333@gw3.a.example.com;user=phone>
   Content-Length: 0

   F12 180 Ringing Proxy 1 -> GW 1

   SIP/2.0 180 Ringing
   Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65

    ;received=192.0.2.201
   Record-Route: <sip:ss1.a.example.com;lr>
   From: <sip:551313@gw1.a.example.com>;tag=63412s
   To: <sip:4443333@ss1.a.example.com>;tag=123456789
   Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com
   CSeq: 1 INVITE
   Contact: <sip:+19185553333@gw3.a.example.com;user=phone>
   Content-Length: 0

   F13 CONNect PBX C -> GW 3

   Protocol discriminator=Q.931
   Message type=CONN

   F14 200 OK GW 3 -> Proxy 1

   SIP/2.0 200 OK
   Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.2
    ;received=192.0.2.111
   Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65
    ;received=192.0.2.201
   Record-Route: <sip:ss1.a.example.com;lr>
   From: <sip:551313@gw1.a.example.com>;tag=63412s
   To: <sip:4443333@ss1.a.example.com>;tag=123456789
   Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com
   CSeq: 1 INVITE
   Contact: <sip:+19185553333@gw3.a.example.com;user=phone>
   Content-Type: application/sdp
   Content-Length: 143

   v=0
   o=GW 987654321 987654321 IN IP4 gw3.a.example.com
   s=-
   c=IN IP4 gw3.a.example.com
   t=0 0
   m=audio 14918 RTP/AVP 0
   a=rtpmap:0 PCMU/8000

   F15 200 OK Proxy 1 -> GW 1

   SIP/2.0 200 OK
   Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65
    ;received=192.0.2.201
   Record-Route: <sip:ss1.a.example.com;lr>
   From: <sip:551313@gw1.a.example.com>;tag=63412s

   To: <sip:4443333@ss1.a.example.com>;tag=123456789
   Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com
   CSeq: 1 INVITE
   Contact: <sip:+19185553333@gw3.a.example.com;user=phone>
   Content-Type: application/sdp
   Content-Length: 143

   v=0
   o=GW 987654321 987654321 IN IP4 gw3.a.example.com
   s=-
   c=IN IP4 gw3.a.example.com
   t=0 0
   m=audio 14918 RTP/AVP 0
   a=rtpmap:0 PCMU/8000

   GW 1 -> PBX A

   Seizure

   F16 ACK GW 1 -> Proxy 1

   ACK sip:+19185553333@gw3.a.example.com;user=phone SIP/2.0
   Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65
   Max-Forwards: 70
   Route: <sip:ss1.a.example.com;lr>
   From: <sip:551313@gw1.a.example.com>;tag=63412s
   To: <sip:4443333@ss1.a.example.com>;tag=123456789
   Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com
   CSeq: 1 ACK
   Content-Length: 0

   F17 ACK Proxy 1 -> GW 3

   ACK sip:+19185553333@gw3.a.example.com;user=phone SIP/2.0
   Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.2
   Via: SIP/2.0/UDP gw1.a.example.com:5060;branch=z9hG4bKwqwee65
    ;received=192.0.2.201
   Max-Forwards: 69
   From: <sip:551313@gw1.a.example.com>;tag=63412s
   To: <sip:4443333@ss1.a.example.com>;tag=123456789
   Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com
   CSeq: 1 ACK
   Content-Length: 0

   F18 CONNect ACK GW 3 -> PBX C

   Protocol discriminator=Q.931
   Message type=CONN ACK

   /* RTP streams are established between GW 1 and GW 3. */

   /* Bob Hangs Up with Alice. */

   F19 DISConnect PBX C -> GW 3

   Protocol discriminator=Q.931
   Message type=DISC
   Cause=16 (Normal clearing)

   F20 BYE GW 3 -> Proxy 1

   BYE sip:551313@gw1.a.example.com SIP/2.0
   Via: SIP/2.0/UDP gw3.a.example.com:5060;branch=z9hG4bKkdjuwq
   Max-Forwards: 70
   Route: <sip:ss1.a.example.com;lr>
   From: <sip:4443333@ss1.a.example.com>;tag=123456789
   To: <sip:551313@gw1.a.example.com>;tag=63412s
   Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com
   CSeq: 1 BYE
   Content-Length: 0

   F21 BYE Proxy 1 -> GW 1

   BYE sip:551313@gw1.a.example.com SIP/2.0
   Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.2
   Via: SIP/2.0/UDP gw3.a.example.com:5060;branch=z9hG4bKkdjuwq
    ;received=192.0.2.203
   Max-Forwards: 69
   From: <sip:4443333@ss1.a.example.com>;tag=123456789
   To: <sip:551313@gw1.a.example.com>;tag=63412s
   Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com
   CSeq: 1 BYE
   Content-Length: 0

   GW 1 -> PBX A

   Seizure removal

   F22 RELease GW 3 -> PBX C

   Protocol discriminator=Q.931
   Message type=REL

   F23 200 OK GW 1 -> Proxy 1

   SIP/2.0 200 OK
   Via: SIP/2.0/UDP ss1.a.example.com:5060;branch=z9hG4bK2d4790.2
    ;received=192.0.2.111
   Via: SIP/2.0/UDP gw3.a.example.com:5060;branch=z9hG4bKkdjuwq
    ;received=192.0.2.203
   From: <sip:4443333@ss1.a.example.com>;tag=123456789
   To: <sip:551313@gw1.a.example.com>;tag=63412s
   Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com
   CSeq: 1 BYE
   Content-Length: 0

   F24 200 OK Proxy 1 -> GW 3

   SIP/2.0 200 OK
   Via: SIP/2.0/UDP gw3.a.example.com:5060;branch=z9hG4bKkdjuwq
    ;received=192.0.2.203
   From: <sip:4443333@ss1.a.example.com>;tag=123456789
   To: <sip:551313@gw1.a.example.com>;tag=63412s
   Call-ID: 2xTb9vxSit55XU7p8@gw1.a.example.com
   CSeq: 1 BYE
   Content-Length: 0

   F25 RELease COMplete PBX C -> GW 3

   Protocol discriminator=Q.931
   Message type=REL COM

   PBX Alice -> GW 1

   Seizure removal

5.  Security Considerations

   This document provides examples of mapping from SIP to ISUP and ISUP
   to SIP.  The gateways in these examples are compliant with the
   Security Considerations Section of RFC 3398 [4] which is summarized
   here.

   There are few security concerns relating to the mapping of ISUP to
   SIP besides privacy considerations in the calling party number
   passing.  Some concerns relating to the mapping from tel URI
   parameters to ISUP include the user creation of parameters and codes
   relating to called number and local number portability (LNP).  An
   operator of a gateway should use policies similar to those present in
------分隔线----------------------------
顶一下
(1)
100%
踩一下
(0)
0%
------分隔线----------------------------
最新评论 查看所有评论
发表评论 查看所有评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
表情:
用户名: 密码: 验证码:
推荐内容