# US 9,578,138 B2 · Sip session management for fax communication

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 9,578,138 B2
- Document ID: US9578138B2
- Status: Granted
- Kind: B2
- Application number: 13/529,546
- Filed: 2012-06-21
- Published: 2012-12-27
- Granted: 2017-02-21
- Earliest claimed: 2011-06-24
- Assignees: Canon Kabushiki Kaisha
- Applicants: Mikio Hama
- Inventors: Mikio Hama
- Web page: https://patentgrep.com/patent/US9578138B2

## CPC

- H04N 1/0022: {involving facsimile protocols or a combination of facsimile protocols and computer data transmission protocols}
- H04L 65/1069: Session establishment or de-establishment
- H04L 65/1104: Session initiation protocol [SIP]
- H04N 1/32765: {Initiating a communication}
- H04N 1/32789: {Details of handshaking (H04N1/32793, H04N1/32795 and H04N1/32797 take precedence)}
- H04N 2201/0024: Converting image communication control signals, e.g. group 3 facsimile protocol signals, to non-image communication control signals or vice versa
- H04N 2201/0093: Facsimile machine (H04N2201/0094 takes precedence)
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A communication apparatus that accurately measure a time period T0 required for line connection in IPFAX, and optimizes the timing with which a T.38 CNG command is sent out. An AT command that is a dial request is converted into a SIP command that is a session-establishment request, and the SIP command is sent. When there is a provisional response or a session-establishment response to the sent SIP command, a T0 timer which clocks the time period T0 is caused to start counting.

## Claims

### Claim 1

A communication apparatus comprising:
a conversion unit configured to convert a command that is a dial request into a SIP command that is a session-establishment request for establishing a SIP session to carry out a FAX communication;
a sending unit configured to send the SIP command that is the session-establishment request converted by said conversion unit;
a reception unit configured to receive a session-establishment response to the SIP command that is the session-establishment request sent by said sending unit,
a second conversion unit configured to convert an AT command that is a CNG sending request into a CNG that is a T.38 command;
a control unit configured to, when there is the session-establishment response, sending the CNG that is the T.38 command and converted by said second conversion unit; and
a releasing unit configured to release the SIP session, after it has been established, in response to a measured time passing a predetermined time period.

### Claim 2 (depends on 1)

A communication apparatus according to claim 1, further comprising:
a first holding unit configured to hold a session-establishment response presence-absence flag indicative of whether or not there has been the session-establishment response to the session-establishment request sent by said sending unit;
a second holding unit configured to hold a CNG sending request presence-absence flag indicative of whether or not there has been a CNG sending request,
wherein, based on the session-establishment response presence-absence flag held by said first holding unit and the CNG sending request presence-absence flag held by said second holding unit, said control unit starts sending the CNG that is the T.38 command and converted by said second conversion unit.

### Claim 3 (depends on 1)

A communication apparatus according to claim 1, wherein said sending unit is configured to send, to a SIP server, the SIP command that is the session-establishment request.

### Claim 4 (depends on 1)

A communication apparatus according to claim 1, further comprising:
an establishment unit configured to establish a SIP session in accordance with the reception of the session-establishment response,
wherein the reception unit receives a provisional response to the SIP command that is the session-establishment request sent by said sending unit, the provisional response being received before the reception of the session-establishment response, and
wherein the control unit starts, in accordance with reception of the provisional response, measuring time for releasing the SIP session which has been established by the establishment unit.

### Claim 5 (depends on 4)

A communication apparatus according to claim 4, further comprising a communication control unit configured to issue the command that is the dial request and cause a timer to count,
wherein said conversion unit is configured to convert the command that is the dial request issued by said communication control unit into the SIP command that is the session-establishment request, and
wherein said control unit is configured to notify said communication control unit that the provisional response has been received, thereby causing said communication control unit to start measuring time via the timer.

### Claim 6 (depends on 5)

A communication apparatus according to claim 5, wherein, when the session-establishment response has not been received, said control unit is configured to notify said communication control unit of an error.

### Claim 7 (depends on 4)

A communication apparatus according to claim 4:
wherein, in a case where the reception unit does not receive the provisional response, the control unit starts, in accordance with reception of the session-establishment response, measuring time for releasing the SIP session.

### Claim 8 (depends on 4)

A communication apparatus according to claim 4, wherein the control unit releases the SIP session in accordance with the lapse of a predetermined time period without a predetermined signal having been received.

### Claim 9 (depends on 8)

A communication apparatus according to claim 8, wherein the control unit starts the FAX communication in accordance with reception of the predetermined signal before the lapse of the predetermined time period.

### Claim 10 (depends on 1)

A communication apparatus according to claim 1, wherein the control unit sends, at predetermined intervals, the CNG that is the T.38 command and converted by said second conversion unit.

### Claim 11

A control method for a communication apparatus, the method comprising:
a conversion step of converting a command that is a dial request into a SIP command that is a session-establishment request for establishing a SIP session to carry out a FAX communication;
a sending step of sending the SIP command that is the session-establishment request converted in said conversion step;
a receiving step of receiving a session-establishment response to the SIP command that is the session-establishment request sent in said sending step,
a second conversion step of converting an AT command that is a CNG sending request into a CNG that is a T.38 command;
a control step of starting, in accordance with reception of the session-establishment response, sending the CNG that is the T.38 command and converted in said second conversion step; and
a releasing step of releasing the SIP session, after it has been established, in response to a measured time passing a predetermined time period.

### Claim 12

A non-transitory computer-readable storage medium storing a computer-executable control program for controlling a communication apparatus, the program comprising:
conversion instructions configured to convert a command that is a dial request into a SIP command that is a session-establishment request for establishing a SIP session to carry out a FAX communication;
sending instructions configured to send the SIP command that is the session-establishment request converted according to said conversion instructions;
receiving instructions configured to receive a session-establishment response to the SIP command that is the session-establishment request sent according to said sending instructions,
second conversion instructions configured to convert an AT command that is a CNG sending request into a CNG that is a T.38 command;
control instructions configured to, start, in accordance with reception of the session-establishment response, sending the CNG that is the T.38 command and converted according to said second converting instructions; and
releasing instructions configured to release the SIP session, after it has been established, in response to a measured time passing a predetermined time period.
