CN101212518A - Method for choosing audio/video code on IP-PBX - Google Patents
Method for choosing audio/video code on IP-PBX Download PDFInfo
- Publication number
- CN101212518A CN101212518A CNA200610148290XA CN200610148290A CN101212518A CN 101212518 A CN101212518 A CN 101212518A CN A200610148290X A CNA200610148290X A CN A200610148290XA CN 200610148290 A CN200610148290 A CN 200610148290A CN 101212518 A CN101212518 A CN 101212518A
- Authority
- CN
- China
- Prior art keywords
- coding
- audio
- server
- callee
- calling party
- 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.)
- Pending
Links
Images
Landscapes
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a method for selecting an audio and video code in an IP-PBX, which selects a desired best code according to a priority of a calling terminal by recording a code arrangement sequence collocated for the calling terminal, a called terminal and a server. The invention furthermost follows the priority collocation of the audio and video code desired by the calling party, the systematic optimization work of the audio and video communication quality is more convenient and effective, the burden on the IP-PBX is reduced, and the system performance is improved. The invention is applicable for all the conversation modes of a server relay and peer-to-peer communication.
Description
Technical field
The present invention relates to a kind of IP-based voice and video communication method, particularly relate to a kind of IP-PBX in setting up conversation procedure to a plurality of voice of VoIP terminal equipment configuration, the method that video coding is optimized selection.
Background technology
Along with reaching its maturity and extensive use of VoIP (based on the speech transmissions of Internet protocol) technology, IP-PBX (IP-based private branch exchange system) has also obtained fast development.More and more enterprises adopts IP-PBX to construct the voice and the video communication system of enterprises.Whole communication system not only has a large amount of extension sets, equipment such as voice gateways also are equipped with, for the large-scale enterprises and institutions that have numerous branches, tend to adopt communication efficiency and the communication reliability that improves enterprises in the method for general headquarters and many IP-PBX servers of each branch deployment in addition.In order to obtain satisfied communication quality, different communication lines may need to adopt different audio/video codings in the hope of reaching the optimal communication effect.At present, the coding selection mode of most IP-PBX has retrained the voice tenability of terminal equipment, and coding selection makes that with the benchmark that is configured to of server the coding that changes particular link is very inconvenient.Therefore the IP communication terminal device owner has the dominant right that coding is selected, and not to be subjected to the encode constraint of tenability of IP-PBX itself be the key that obtains whole communication system optimal communication state.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of IP-PBX and selects the voice and video Methods for Coding, make terminal use's coding tenability not be subjected to the constraint of server, make things convenient for terminal use's coding to select, avoid the conversion of adopting server to encode to greatest extent.
For solving the problems of the technologies described above, IP-PBX of the present invention selects the voice and video Methods for Coding to comprise the steps:
IP-PBX receives calling party's call request;
Record calling party's audio/video coding puts in order;
Put in order according to described audio/video coding, set up the session of server relaying or set up end-to-end session.
Coding selection is a foundation with calling party's coding priority in the method for the invention, and taken all factors into consideration the tenability of callee and server, make the coding tenability of terminal not be subjected to the constraint of server, made things convenient for terminal use's coding to select, avoid the conversion of adopting server to encode to greatest extent, improved the efficient and the performance of system.
The IP-PBX system has respected the audio/video coding selection priority that calling party's terminal equipment is disposed to greatest extent, increases whole communication system configuration flexibility and controllability.
The selection course of audio/video coding is applicable to trunking traffic and two kinds of patterns of end-to-end communication, and whether the coding that can discern both call sides automatically satisfy the condition of end-to-end communication, if do not satisfy then transfer the trunking traffic pattern automatically to.
When if the calling and called both sides institute of the communication not serviced device of the common coding of supporting is supported, still can use this coded system to realize trunking traffic or communicate by letter end to end.
Description of drawings
The present invention is further detailed explanation below in conjunction with accompanying drawing and embodiment:
Accompanying drawing is that IP-PBX of the present invention selects voice and video Methods for Coding program flow diagram.
Embodiment
As shown in the figure, IP-PBX of the present invention selects the voice and video Methods for Coding to comprise the steps:
At first, after IP-PBX received calling party's call request, record calling party's audio/video coding put in order;
Put in order according to described audio/video coding, set up the session of server relaying or set up end-to-end session.
If what both call sides adopted is server relaying conversational mode, then set up the session of server relaying, the method for its realization is:
At first, get the common factor of the audio/video coding of calling party's audio/video coding of record and server configuration, and by the arrangement that puts in order of calling party's coding;
Resulting coded sequence is sent to the callee;
Receive callee's response;
Get first coding that the callee returns and send to the calling party as the audio/video coding of this conversation;
First audio/video coding that adopts the callee to return, the session of server relaying is set up and is finished.
If what both call sides adopted is end-to-end conversational mode, then set up end-to-end session, the method for its realization is:
Get the configuration of calling party's audio/video coding of record and server audio/video coding and collection, and by the arrangement that puts in order of calling party's coding;
Resulting coded sequence is sent to the callee;
Receive callee's response, and judge whether first coding that the callee returns is supported by the calling party, if support then first audio/video coding of adopting the callee to return, end-to-end session foundation is finished; Otherwise continue to set up the session of server relaying.
The described process that continues to set up the session of server relaying is:
Occur simultaneously according to calling party's the coding audio/video coding of getting with the server configuration that puts in order, first coding of this common factor is sent to the calling party, encode as server and calling party's conversation;
The by server coding puts in order and sends request to the callee;
Receive callee's response;
First audio/video coding of selecting the callee to return is encoded as server and callee's conversation;
Server is changed the different coding that the calling and called both sides adopt, and the conversation of server relaying is set up.
The coding selection principle of server relaying session communication pattern is:
Coding is selected and should be carried out according to the priority of call initiator, mainly contains the described Several principles of following form:
Table 1
Calling terminal (A) | IP-PBX (S) | Called end (B) | Process |
97 4 18 9 2 | 0 18 3 8 97 4 | 8 0 18 4 15 2 97 | A--INVITE-->S:97,4,18,9,2 S--INVITE-->B:97,4,18,0,3,8 B-200 OK-->S:97 S-200 OK-->A:97 RTP A<------97------>S<------97------>B |
Wherein, the optimum setting of A is 97, if S and B support 97, then final negotiation result is 97.
Table 2
Calling terminal (A) | IP-PBX (S) | Called end (B) | Process |
97 4 18 9 2 | 0 18 3 8 97 4 | 8 0 18 4 15 2 | A--INVITE-->S:97,4,18,9,2 S--INVITE-->B:97,4,18,0,3,8 B--200 OK-->S:4 S--200 OK-->A:4 RTP A<------4------>S<------4------>B |
Wherein, the optimum setting of A is 97, if one of them of S and B do not support 97, then 97 is excluded.The suboptimum setting of A is 4, if S and B support 4, then 4 is final negotiation result.
Table 3
Calling terminal (A) | IP-PBX (S) | Called end (B) | Process |
97 4 18 9 2 | 0 18 3 8 4 | 8 0 15 2 | A--INVITE-->S:97,4,18,9,2 S--INVITE-->B:4,18,0,3,8 B--200 OK-->S:0 S--200 OK-->A:4 RTP A<------4------>S<------0------>B |
Can not find the coding that A, S, B three parts support, then select according to the priority of A between A and the S this moment, the priority according to S between S and the B is selected.Then select 4 between A and S, select 0 between S and B, S bears the mutual commentaries on classics between 4 and 0 coding.
The coding selection principle of end-to-end session communication pattern is that coding is selected and should be carried out according to the priority of call initiator, mainly contains the described Several principles of following form:
Referring to table 4, the optimum setting of A is 97, if B supports 97, then final negotiation result is 97.
Table 4
Calling terminal (A) | IP-PBX(S) | Called end (B) | Process |
97 4 18 9 2 | 0 18 3 8 97 4 | 8 0 18 4 15 2 97 | A--INVITE-->S:97,4,18,9,2 S--INVITE-->B:97,4,18,9,2,0,3,8 B--200 OK-->S:97 S--200 OK-->A: 97 RTP A<---------------97------------->B |
Referring to table 5, the optimum setting of A is 97, if B does not support 97, then 97 is excluded.The suboptimum setting of A is 4, if B supports 4, then 4 is final negotiation result.
Table 5
Calling terminal (A) | IP-PBX (S) | Called end (B) | Process |
97 4 18 9 2 | 0 18 3 | 8 0 18 4 15 2 | A--INVITE-->S:97,4,18,9,2 S--INVITE-->B:97,4,18,9,2,0,3,8 B--200 OK-->S:4 S--200 OK-->A:4 RTP A<---------------4--------------->B |
Table 6
Calling terminal A | IP PBX(S) | Called end B | Process |
97 4 18 9 2 | 0 18 3 8 4 | 3 | A--INVITE-->S:97,4,18,9,2 S--INVITE-->B:97,4,18,9,2,0,3,8 B-----OK----->S:3 S-----OK----->A:4,18,0,8 RTP A<------4------>S<------3------>B |
Referring to table 6,, then can't realize end-to-end voice telecommunication this moment if can not find the coding that A, B both sides support.This type of calling will be converted to server relaying session communication mode treatment.Priority according to A between A and the S is selected, and the priority according to S between S and the B is selected; Then select 4 between A and S, select 3 between S and B, S bears the conversion between 4 and 3 codings.
Claims (4)
1. an IP-PBX selects the voice and video Methods for Coding, it is characterized in that comprising the steps:
IP-PBX receives calling party's call request;
Record calling party's audio/video coding puts in order;
Put in order according to described audio/video coding, set up the session of server relaying or set up end-to-end session.
2. IP-PBX according to claim 1 selects the voice and video Methods for Coding, and it is characterized in that: the process of setting up of described server relaying session is:
At first, get the common factor of the audio/video coding of calling party's audio/video coding of record and server configuration, and by the arrangement that puts in order of calling party's coding;
Resulting coded sequence is sent to the callee;
Receive callee's response;
Get first coding that the callee returns and send to the calling party as the audio/video coding of this conversation;
First audio/video coding that adopts the callee to return, the session of server relaying is set up and is finished.
3. IP-PBX according to claim 1 selects the voice and video Methods for Coding, and it is characterized in that: the process of setting up of described end-to-end session is:
Get the configuration of calling party's audio/video coding of record and server audio/video coding and collection, and by the arrangement that puts in order of calling party's coding;
Resulting coded sequence is sent to the callee;
Receive callee's response, and judge whether first coding that the callee returns is supported by the calling party, if support then first audio/video coding of adopting the callee to return, end-to-end session foundation is finished; Otherwise continue to set up the session of server relaying.
4. IP-PBX according to claim 3 selects the voice and video Methods for Coding, it is characterized in that: the described process that continues to set up the session of server relaying is:
Occur simultaneously according to calling party's the coding audio/video coding of getting with the server configuration that puts in order, first coding of this common factor is sent to the calling party, encode as server and calling party's conversation;
The by server coding puts in order and sends request to the callee;
Receive callee's response;
First audio/video coding of selecting the callee to return is encoded as server and callee's conversation;
Server is changed the different coding that the calling and called both sides adopt, and the conversation of server relaying is set up.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA200610148290XA CN101212518A (en) | 2006-12-29 | 2006-12-29 | Method for choosing audio/video code on IP-PBX |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA200610148290XA CN101212518A (en) | 2006-12-29 | 2006-12-29 | Method for choosing audio/video code on IP-PBX |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101212518A true CN101212518A (en) | 2008-07-02 |
Family
ID=39612172
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA200610148290XA Pending CN101212518A (en) | 2006-12-29 | 2006-12-29 | Method for choosing audio/video code on IP-PBX |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101212518A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101848285B (en) * | 2009-03-24 | 2013-10-09 | 华为技术有限公司 | Method and device for providing IP voice exchanger service |
CN107294968A (en) * | 2017-06-21 | 2017-10-24 | 北京奇艺世纪科技有限公司 | The monitoring method and system of a kind of audio, video data |
-
2006
- 2006-12-29 CN CNA200610148290XA patent/CN101212518A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101848285B (en) * | 2009-03-24 | 2013-10-09 | 华为技术有限公司 | Method and device for providing IP voice exchanger service |
CN107294968A (en) * | 2017-06-21 | 2017-10-24 | 北京奇艺世纪科技有限公司 | The monitoring method and system of a kind of audio, video data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101208340B1 (en) | Method and system for providing a seamless handoff between communication networks | |
CN100356815C (en) | Method and system for roaming between mobile network and wireless network | |
CN1669258A (en) | Call transfer using session initiation protocol (sip) | |
CN1659921B (en) | Signaling method for wireless network | |
CN1543167A (en) | Terminal registration method using session initiation protocol | |
JP2007526690A5 (en) | ||
CN102123209A (en) | Customer service system based on session initiation protocol (SIP) and communication method thereof | |
CN104717234A (en) | Enterprise network communication device and communication method | |
CN104601552B (en) | Communication means and IP enterprise switch, calling terminal between private network wireless system | |
CN106921627A (en) | The VoIP of the calling forwarding of external telephone network is provided | |
CN101584196B (en) | A system and method for providing cordless extension for communication devices | |
CN101662468B (en) | Method and system for media negotiation | |
CN1889565A (en) | Session establishing method | |
JP2006174477A (en) | Method and apparatus for providing many simultaneous voip call session with respect to single directory number | |
CN101212518A (en) | Method for choosing audio/video code on IP-PBX | |
CN103595704A (en) | Enterprise communication application one-key calling method for VOIP | |
CN109218542B (en) | Method, apparatus and computer-readable storage medium for call management | |
CN101873392B (en) | VoIP-based calling method, system and device | |
CN110445929A (en) | Call connection method for building up and first terminal, server and storage medium | |
CN101553042A (en) | Method, system and equipment for selecting gateway | |
KR20030068105A (en) | Service method and System of Unconditional Call Forwarding Service to the SIP-based Internet phone for mobile subscriber on mobile network | |
CN101325630A (en) | Network telephone system and operation method thereof | |
CN105306744A (en) | Method for using wireless terminal as extension, extension switching equipment and telephone exchange system | |
CN101155224A (en) | Telephone system including telephone gateway and its function implementing method | |
CN107613123A (en) | The system and method for wireless telephone function is realized based on WIFI |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Open date: 20080702 |