1. Technical Field
Embodiments of the present disclosure relate to network communication devices and more particularly to a voice over Internet protocol (VoIP) device and a method for adjusting interrupt time thereof.
2. Description of Related Art
Most voice over Internet protocol (VoIP) devices need to select subscriber line interface circuits (SLICs) according to interrupt time of a generic dual tone multiple frequency (DTMF) signal.
The Japanese telecom operator, Nippon Telegraph and Telephone Public Corporation (NTT), stipulates that a minimum available interrupt time of the DTMF signal supported by the SLIC should be about 30 ms. However, practically, a minimum available interrupt time of the DTMF signal supported by most current SLICs for sale is about 37 ms (empirical value). Therefore, most SLICs are not available according to the specification, which limits the selection of the SLICs for the VoIP device.
The details of the disclosure, both as to its structure and operation, can best be understood by referring to the accompanying drawings, in which like reference numbers and designations refer to like elements.
All of the processes described may be embodied in, and fully automated via, software code modules executed by one or more general purpose computers or processors. The code modules may be stored in any type of computer-readable medium or other storage device. Some or all of the methods may alternatively be embodied in specialized computer hardware or communication apparatus.
In one embodiment, the VoIP device 100 includes a time detecting module 110, a time adjusting module 120, a processor 140, and a memory 150. The time detecting module 110, the time adjusting module 120, the processor 140, and the memory 150 may be configured in a SLIC 130 of the VoIP device 100. The time detecting module 110 and the time adjusting module 120 are programs which are stored in the memory 150 and executed by the processor 140.
The time detecting module 110 is operable to receive a DTMF signal from the telephone 200, detect interrupt time of the DTMF signal, and determine if the interrupt time is less than a predefined time interval. In one embodiment, if the telephone 200 needs to give a ring over Internet via the VoIP device 100, the telephone 200 sends the DTMF signal to the VoIP device 100. Accordingly, the time detecting module 110 receives the DTMF signal from the telephone 200. In one embodiment, a minimum available interrupt time of the SLIC 130 is less than the predefined time interval. For example, if the minimum available interrupt time of the SLIC 130 is 37 ms, the predefined time interval may be 40 ms.
The time adjusting module 120 is operable to adjust the interrupt time to the predefined time interval upon the condition that the interrupt time is less than the predefined time interval. In one embodiment, the time adjusting module 120 includes a mute switch 121. The time adjusting module 120 adjusts the interrupt time to the predefined time interval by using the mute switch 121, as will be further discussed below.
It may be understood that the mute switch keeps the SLIC 130 silence during the predefined time interval so as to adjust the interrupt time to the predefined time interval. For example, if the predefined time interval is predefined as 3 seconds and the interrupt time is 5 seconds, then the mute switch keeps the SLIC 130 silence during 3 seconds, and then the interrupt time is adjusted to 3 seconds. If the mute switch 121 is on, the VoIP device 100 sends no signal.
The time adjusting module 120 is further operable to keep the interrupt time upon the condition that the interrupt time is not less than the predefined time interval. In one embodiment, the time adjusting module 120 makes no change of the interrupt time so as to keep the interrupt time.
In embodiments of the present disclosure, the VoIP device 100 adjusts the interrupt time of the DTMF signal by way of the mute switch 121 of the time adjusting module 120, so selection of the SLIC 130 need not be limited by the specification of the interrupt time and makes the selection of the SLIC 130 more flexible. In addition, the VoIP device 100 can adjust the interrupt time of the DTMF signal by way of the mute switch 121 of the time adjusting module 120, which makes what would be an otherwise unavailable SLIC available for the specification. Accordingly, the SLIC need not to be changed, which reduces costs.
In block S400, the time detecting module 110 receives a dual tone multiple frequency (DTMF) signal from the telephone 200.
In block S402, the time detecting module 110 detects interrupt time of the DTMF signal.
In block S404, the time detecting module 110 determines whether the interrupt time is less than a predefined time interval.
If the interrupt time is less than the predefined time interval, then in block S406, the time adjusting module 120 adjusts the interrupt time to the predefined time interval. In one embodiment, the time adjusting module 120 adjusts the interrupt time to the predefined time interval by using the mute switch 121 to keep the SLIC 130 silence during the predefined time interval.
If the interrupt time is not less than the predefined time interval, then in block S408, the time adjusting module 120 makes no change of the interrupt time so as to keep the interrupt time.
Therefore, the VoIP device 100 can adjust the interrupt time of the DTMF signal by way of the mute switch 121 of the time adjusting module 120, which makes an otherwise unavailable SLIC available for the specification and accordingly reduces costs by avoiding having to change the SLIC. In addition, the selection of the SLIC 130 need not be limited to a region's interrupt time specifications, which makes the selection of the SLIC 130 more flexible.
While various embodiments and methods of the present disclosure have been described above, it should be understood that they have been presented by way of example only and not by way of limitation. Thus the breadth and scope of the present disclosure should not be limited by the above-described embodiments, but should be defined only in accordance with the following claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
200910303418.9 | Jun 2009 | CN | national |