CN101312479B - Fax mode negotiating method between gateways for network telephone call - Google Patents
Fax mode negotiating method between gateways for network telephone call Download PDFInfo
- Publication number
- CN101312479B CN101312479B CN2008100681623A CN200810068162A CN101312479B CN 101312479 B CN101312479 B CN 101312479B CN 2008100681623 A CN2008100681623 A CN 2008100681623A CN 200810068162 A CN200810068162 A CN 200810068162A CN 101312479 B CN101312479 B CN 101312479B
- Authority
- CN
- China
- Prior art keywords
- fax
- fax mode
- mode
- gateways
- gateway
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Telephonic Communication Services (AREA)
Abstract
A fax mode consultation method between network telephone network gateways resolves the inconsistent fax modes of two fax users of a network telephone VoIP network gateway of naming telephone event NTE at a non-full control method. The method comprises that: the network gateway of one of two fax users first checking a fax signal sound sends a data packet to the other one, wherein the data packet contains the information indicating the opposite user to switch fax mode; the opposite user receives and analyzes the data packet, and switches to the fax mode according to the information indicating the switch of fax modes contained in the data packet. The method can effectively confirm the consistent fax mode between the network gateways of two fax users, to avoid the fax from failure caused by the inconsistent fax modes of two fax users, to confirm the fax success rate most.
Description
Technical field
The present invention relates to VoIP (Voice over IP, the networking telephone) communication technical field, relate in particular to the fax mode negotiating method between a kind of voip gateway.
Background technology
The transmission of fax in IP network mainly contains dual mode, and a kind of is VBD (Voice Band Data, voice-band data) mode, a kind of FoIP (Fax over IP, fax through internet) mode that is based on T38.The packing manner of dual mode is different fully, and the communicating pair gateway must adopt unified fax mode ability success, so needs to carry out the fax mode negotiation between the gateway.
The VBD mode is meant that in IP network at speech channel transmission vocal cores data message (as Modem, Fax etc.), the general employing G.711 encoded with the transparent transmission mode.With the transmission normal speech different be, the Fax under the VBD mode need close VAD (Voice Activity Detection, voice activity detection), opens echo and suppresses, Jitter Buffer (jitter-buffer) size is fixing.
The FoIP mode is that the fax incident is carried out encoding and decoding, rather than sound is carried out encoding and decoding with UDPTL (UDP Transport Layer protocol is based on the transport layer protocol of UDP) packing.
Switching time: can be that a side detects facsimile signal, in adaptive switched, notify opposite end oneself to detect which kind of signal tone, after the notified incident of opposite end gateway, also switch to fax mode by certain mode; Also can be that both sides oneself detection facsimile signal is switched.If preceding a kind of method, the method for notice opposite end also has multiple, can report the fax incident to give soft switch, allows soft switch pass through the signaling opposite end and switches; Also can directly send NTE (Named Telephone Events, name telephone event) bag to the opposite end, inform which type of signal tone the other side oneself detects, RFC4733 (being RFC2833 in early days) has carried out specified in more detail to this advice method.
The target fax mode: be to switch to the VBD mode, or the FoIP mode, if employing is full prosecutor formula, can hold consultation by soft switch, soft switch meeting control switches to VBD mode or T38 mode; If not by soft switch, the inconsistent situation of target fax mode that both sides are switched may appear, and promptly a side adopts the VBD mode, and a side adopts the FoIP mode, and at this moment fax will inevitably be failed.Just only stipulated tone type among the RFC4733, regulation does not switch to the field that the VBD mode still is the T38 mode.
RFC4733 is for payload (payload) form such as the following table of NTE:
0 1 2 3
0?1?2?3?4?5?6?7?8?9?0?1?2?3?4?5?6?7?8?9?0?1?2?3?4?5?6?7?8?9?0?1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| event |E|R|volume | duration |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Voip gateway can only dispose by some of this locality and determine that the T38 mode still is the VBD mode when realizing the NTE mode.If the fax mode of communicating pair acquiescence is inconsistent, can cause fax failure.
Summary of the invention
Technical problem to be solved by this invention provides the fax mode negotiating method between a kind of gateways for network telephone call, make the voip gateway of realizing the NTE mode under non-full prosecutor formula, guarantee fax both sides' fax mode unanimity, thereby avoid the inconsistent fax failure that causes of fax mode because of the fax both sides.
In order to solve the problems of the technologies described above, the invention provides the fax mode negotiating method between a kind of gateways for network telephone call, wherein:
The side's gateway that detects facsimile signal sound among the fax both sides earlier sends packet to the opposite end, comprises the information of indication opposite end switching fax mode in the described packet;
Resolve after receiving described packet described opposite end, and the information of switching fax mode according to the indication that comprises in the described packet switches to corresponding fax mode.
Further, the information that fax mode is switched in the indication opposite end in the described packet is fax mode sign position, and described opposite end is carried out corresponding fax mode according to the value of described fax mode sign position and switched.
Further, described fax mode comprises VBD mode and FoIP mode.
Further, described packet is the RFC4733 bag.
Further, described fax identification position is the R position in the RFC4733 bag.
Further, represent that with described fax identification position assignment 0 or 1 corresponding fax mode is VBD mode or FoIP mode.
Further, said method can have following characteristics: the described side's gateway that detects facsimile signal sound is earlier inquired about self current acquiescence fax mode setting earlier, and the value of described fax mode sign position is set at the acquiescence fax mode of self.
Further, said method also can have following characteristics: the described side's gateway that detects facsimile signal sound earlier fixedly installs the value of described fax mode sign position, self switches to corresponding fax mode afterwards and packs and unpack.
Further, said method also can have following characteristics: the described side's gateway that detects facsimile signal sound earlier selects wherein a kind of fax mode that the value of described fax mode sign position is set at random, self switches to corresponding fax mode afterwards and packs and unpack.
Further, in the said method, described side's gateway and opposite end are a kind of in the following situation: both sides are networking telephone IAD, or a side is a networking telephone IAD, the opposing party is a networking telephone Tandem Gateway, or both sides are the different port under the same gateway.
Fax mode negotiating method between a kind of gateways for network telephone call of the present invention, both sides' the gateway of can effectively guaranteeing to fax adopts consistent fax mode, thereby avoid the inconsistent fax failure that causes of fax mode, guaranteed fax success rate to greatest extent because of the fax both sides; The present invention is minimum to the change of existing gateway, and the equipment to existing network has compatible widely simultaneously.
Description of drawings
Fig. 1 is an operation system structure chart of the present invention;
Fig. 2 is the flow chart of the fax mode negotiating method of the embodiment of the invention.
Specific embodiment
The present invention proposes the fax mode negotiating method between a kind of gateways for network telephone call, make the voip gateway of realizing the NTE mode under non-full prosecutor formula, guarantee fax both sides' fax mode unanimity, thereby avoid the inconsistent fax failure that causes of fax mode because of the fax both sides.It is conceived substantially: a side that detects facsimile signal sound earlier sends switchings of faxing of packet notice opposite end, comprises in this packet according to the determined fax mode sign of the fax mode of local terminal acquiescence; After the opposite end receives this packet,, thereby make the fax receiving-transmitting sides switch to the fax mode of unanimity according to switchings of faxing accordingly of wherein fax mode sign position.
Below in conjunction with accompanying drawing specific embodiments of the invention are described in further detail.
As shown in Figure 1, be operation system structure chart of the present invention.Link to each other by voip gateway between facsimile transmission side and the fax recipient, three kinds of modes are arranged: (1) facsimile transmission side and fax recipient are connected to the VoIP IAD, and gateway links to each other with gateway; (2) facsimile transmission side is connected the VoIP IAD with fax recipient one side, and a side connects the VoIP Tandem Gateway, and gateway links to each other with gateway; (3) facsimile transmission side and fax recipient are connected the different port under the same VoIP access/Tandem Gateway.
The facsimile posting of operation system structure of the present invention is:
(1) facsimile transmission side and recipient put through phone, carry out normal talking;
(2) facsimile transmission side is by sending key, and it is mutual that both sides begin to carry out facsimile signal; V.21 targeting signal is the fax characteristics sound, generally is that fax recipient gateway/port detects this sound earlier;
(3) detect the fax characteristics sound after, the test side passage switches to the fax working method, and switches to fax mode by NTE bag notice opposite end, facsimile transmission side's content of will fax is issued the recipient that faxes afterwards.
To introduce below based on operation system structure shown in Figure 1 and realize fax mode negotiating method of the present invention.As shown in Figure 2, be the flow chart of the fax mode negotiating method of the embodiment of the invention, the inventive method may further comprise the steps:
Side gateway/port A among S201, the fax both sides detects facsimile signal sound earlier.
S202, gateway/port A send a packet to opposite end gateway/port B, comprise fax mode sign position in this packet.
At this, present embodiment identifies the position with the reservation position R of the existing form of RFC4733 bag as fax mode.Current RFC4733 regulation R is 0, keeps to give in the future to use.In the present embodiment, R=0, expression switches to the VBD mode; R=1, expression switches to the FoIP mode.General gateway is all supported the VBD mode, therefore the VBD mode is defined as 0 and can guarantees maximum applicability.
The facsimile signal sound such as the following table of RFC4734 regulation:
+--------------------+-------------------+---------------+------+-------------+
|Event |Frequency(Hz) |Event?Code |Type |Volume? |
+--------------------+-------------------+----------------+------+------------+
|CED |2100 | 32?|tone | yes?|
|/CED |2100ph.rev. | 33?|tone | yes?|
|CNG |1100 | 36?|tone | yes?|
|V.21preamble flag|(V.21bits) | 54?|tone | yes?|
+-----------------------+---------------+----------------+--------+------------+
Before gateway/port A sends packet, set the value of the fax mode sign position in this packet earlier, a kind of in can be in the following way:
(1) the current acquiescence fax mode of gateway/port A inquiry earlier self is provided with, and the value of this fax mode sign position is set at self acquiescence fax mode, and its prerequisite is that self acquiescence fax mode is a kind of in VBD mode and the FoIP mode; Gateway/port A adopts the fax mode of current acquiescence fax mode as this;
(2) the fixing value with this fax mode sign position of gateway/port A is set at 0 or 1, then oneself switches to corresponding fax mode and packs and unpack;
(3) gateway/port A is set at 0 or 1 with the value of this fax mode sign position at random, then oneself switches to corresponding fax mode and packs and unpack.
S203, after the opposite end gateway/port B receives packet, switch to corresponding fax mode, unpack thereby guarantee to adopt the fax mode consistent to pack with gateway/port A according to the value of fax identification position in the packet.
Wherein, if the fax identification position that opposite end gateway/port B receives in the RFC4733 bag is 0, then opposite end gateway/port B switches to the VBD mode; If the fax identification position that opposite end gateway/port B receives in the RFC4733 bag is 1, then opposite end gateway/port B switches to the FoIP mode.
Certainly, also can stipulate R=0, expression switches to the FoIP mode; R=1, expression switches to the VBD mode.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (10)
1. the fax mode negotiating method between a gateways for network telephone call is characterized in that,
The side's gateway that detects facsimile signal sound among the fax both sides earlier sends packet to the opposite end, comprises the information of utilizing indication opposite end, fax mode sign position to switch fax mode in the described packet;
Resolve after receiving described packet described opposite end, and the information of switching fax mode according to the indication that comprises in the described packet switches to corresponding fax mode.
2. the fax mode negotiating method between gateways for network telephone call according to claim 1 is characterized in that, described opposite end is carried out corresponding fax mode according to the value of described fax mode sign position and switched.
3. the fax mode negotiating method between gateways for network telephone call according to claim 1 is characterized in that, described fax mode comprises voice-band data VBD mode and fax through internet FoIP mode.
4. the fax mode negotiating method between gateways for network telephone call according to claim 2 is characterized in that, described packet is the RFC4733 bag.
5. the fax mode negotiating method between gateways for network telephone call according to claim 4 is characterized in that, described fax mode sign position is the R position in the RFC4733 bag.
6. the fax mode negotiating method between gateways for network telephone call according to claim 2 is characterized in that, represents that with described fax mode sign position assignment 0 or 1 corresponding fax mode is VBD mode or FoIP mode.
7. according to the fax mode negotiating method between each described gateways for network telephone call in the claim 2 to 6, it is characterized in that, the described side's gateway that detects facsimile signal sound is earlier inquired about self current acquiescence fax mode setting earlier, and the value of described fax mode sign position is set at the acquiescence fax mode of self.
8. according to the fax mode negotiating method between each described gateways for network telephone call in the claim 2 to 6, it is characterized in that, the described side's gateway that detects facsimile signal sound earlier fixedly installs the value of described fax mode sign position, self switches to corresponding fax mode afterwards and packs and unpack.
9. according to the fax mode negotiating method between each described gateways for network telephone call in the claim 2 to 6, it is characterized in that, the described side's gateway that detects facsimile signal sound earlier selects wherein a kind of fax mode that the value of described fax mode sign position is set at random, self switches to corresponding fax mode afterwards and packs and unpack.
10. according to the fax mode negotiating method between each described gateways for network telephone call in the claim 2 to 6, it is characterized in that described side's gateway and opposite end are a kind of in the following situation: both sides are networking telephone IAD; Or one side be networking telephone IAD, the opposing party is a networking telephone Tandem Gateway; Or both sides are the different port under the same gateway.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008100681623A CN101312479B (en) | 2008-06-27 | 2008-06-27 | Fax mode negotiating method between gateways for network telephone call |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008100681623A CN101312479B (en) | 2008-06-27 | 2008-06-27 | Fax mode negotiating method between gateways for network telephone call |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101312479A CN101312479A (en) | 2008-11-26 |
CN101312479B true CN101312479B (en) | 2010-06-09 |
Family
ID=40100893
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2008100681623A Expired - Fee Related CN101312479B (en) | 2008-06-27 | 2008-06-27 | Fax mode negotiating method between gateways for network telephone call |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101312479B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101778182B (en) * | 2010-01-08 | 2013-04-17 | 杭州华三通信技术有限公司 | VOIP fax sharing method, telephone and system |
CN103347004B (en) * | 2013-06-19 | 2016-08-17 | 深圳市共进电子股份有限公司 | A kind of method improving VBD data transmission quality |
CN105592246A (en) * | 2015-12-16 | 2016-05-18 | 上海市共进通信技术有限公司 | VOIP-based system and method for automatically shielding fax calls |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005109701A (en) * | 2003-09-29 | 2005-04-21 | Koo:Kk | Ip-fax program, ip-fax server apparatus, and network article delivering system using them |
CN1622583A (en) * | 2003-11-28 | 2005-06-01 | 华为技术有限公司 | Method for implementing facsimile in next generation network |
CN1731817A (en) * | 2004-08-06 | 2006-02-08 | 华为技术有限公司 | Realization method for media stream conversion channel working mode switching on gateway |
CN1738245A (en) * | 2004-08-17 | 2006-02-22 | 中兴通讯股份有限公司 | Fax realization synchronous switch method based on IP network |
JP2008028472A (en) * | 2006-07-18 | 2008-02-07 | Ricoh Co Ltd | Fax gateway apparatus |
-
2008
- 2008-06-27 CN CN2008100681623A patent/CN101312479B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005109701A (en) * | 2003-09-29 | 2005-04-21 | Koo:Kk | Ip-fax program, ip-fax server apparatus, and network article delivering system using them |
CN1622583A (en) * | 2003-11-28 | 2005-06-01 | 华为技术有限公司 | Method for implementing facsimile in next generation network |
CN1731817A (en) * | 2004-08-06 | 2006-02-08 | 华为技术有限公司 | Realization method for media stream conversion channel working mode switching on gateway |
CN1738245A (en) * | 2004-08-17 | 2006-02-22 | 中兴通讯股份有限公司 | Fax realization synchronous switch method based on IP network |
JP2008028472A (en) * | 2006-07-18 | 2008-02-07 | Ricoh Co Ltd | Fax gateway apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN101312479A (en) | 2008-11-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1685691B (en) | Method for transmitting calling controls parameter between media gateway controllers | |
JP4548242B2 (en) | Voice IP telephone method and apparatus. | |
EP2938053B1 (en) | One-number two-machine associated call method, apparatus and application server | |
CN100521631C (en) | System and method for generating ringbace tone | |
CN100562046C (en) | A kind of calling-control method and voice gateways based on the voice Internet protocol | |
CN101312479B (en) | Fax mode negotiating method between gateways for network telephone call | |
JP4764994B2 (en) | Signal relay device | |
WO2014094438A1 (en) | Method and device for transmitting information under ims architecture, and communication system | |
CN102377890A (en) | Method for realizing fax based on voice over internet phone (VOIP) voice communication system | |
CN101159719B (en) | VoIP analogy gateway and inside switch method of implementing conversation under fault condition | |
JP2011091661A (en) | Telephone apparatus and telephone method | |
CN101753667A (en) | Method for realizing speech business through wireless network and communication terminal | |
US8867737B2 (en) | System and method for providing line power to a digital telephone | |
CN101753740A (en) | Communication method and gateway equipment based on SIP telephone | |
JP4671874B2 (en) | Relay device | |
CN101485189A (en) | Method and apparatus for visual message indication in a VOIP system | |
CN101917214A (en) | Method and device for controlling echo suppression in network | |
CN102083031B (en) | System, method and equipment for processing fax services | |
JP2006042175A (en) | Call system, call method, call program, and storing medium | |
CA2505228C (en) | Apparatus, and an associated method, for communicating text data in a radio communication system | |
JP4788553B2 (en) | Network connection device | |
JP2007306297A (en) | Mail server device, customer terminating device, and facsimile communication system | |
CN106937017A (en) | A kind of fax method for intelligently routing and system based on VoIP | |
JP2005094480A (en) | Pstn terminal housing device | |
JP2000307720A (en) | Sound encoding method in network connection device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20100609 Termination date: 20180627 |
|
CF01 | Termination of patent right due to non-payment of annual fee |