Call Flow Messages

Overview

The generic format of the API messages below are documented in the API Reference. The following is specific to SIP Call Control.

Route Control (0x00E8)

You must use the Generic Router AIB (0x0029) as indicated below.

Examples of Route Control Message

The following are three example of how to use the Route Control message with SIP software. This Route Control message assumes that you are using a local Registration on the CSP. The outbound INVITE Request message is directed using Registration information matching the specified To User Name.

00 41 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 12

00 02

27 7e 00 03 08 00 00 ’REMOTE SIDE PROTOCOL’

29 19 00 05 35 35 35 35 00 'SIP TO USER NAME’

 

This Route Control message creates an outbound INVITE Request message directed using the specified user@host name. (The user is not locally registered.)

00 56 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 25

00 03

27 7e 00 03 08 00 00 'REMOTE SIDE PROTOCOL’

29 19 00 05 35 35 35 35 00 'SIP TO USER NAME

29 1b 00 0f 31 33 35 2e 31 31 39 2e 35 31 2e
31 38 37 00 ’SIP TO HOST NAME’

 

This Route Control message creates an outbound INVITE directed to the default Proxy IP address and uses the specified "To" User Name.

00 54 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 25

00 03

27 7e 00 03 08 00 00 'REMOTE SIDE PROTOCOL

29 19 00 05 35 35 35 35 00 'SIP TO USER NAME

29 0e 00 0f 31 33 35 2e 31 31 39 2e 35 31 2e 31
38 35 00 'SIP PROXY IP ADDRESS

 

Request for Service with Data (0x002D)

The CSP reports incoming calls from the SIP side using the Request for Service with Data (0x002D) message. An Extended Data ICB NPDI Universal Data (0x33) is used in SIP. The UPDF parameters supported are the same as those supported in the Route Control message.

Release Channel with Data (0x0036)

The Release Data Type is defined as follows:

0x0033 NPDI Universal ICB.

You can use this ICB to add UPDF data to the Release Channel with Data message.

You can use the following TLV to encode the SIP response code to be used in the SIP response message generated by the CSP.

0x2915 NPDI SIP Response Code

To release an incoming SIP call with 404 reason

H->X
00 20 00 36 00 00 ff 00 02 0d 03 00 01 08 0d 03 00 01 08 33 01 03 00 33 00 08 00 01 29 15 00 02 01 94

Channel Released with Data (0x69)

The following TLV is used for SIP:

0x2915 NPDI SIP Response Code

Used to encode the SIP response code when an outbound SIP call is rejected by the remote SIP UA.

OUTBOUND call rejected by remote side with 404 reason

X -> H
00 1a 00 69 00 04 ff 00 01 0d 03 00 01 0b 01 03 00 33 00 08 00 01 29 15 00 02 01 94