Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer, below in conjunction with the accompanying drawing in the embodiment of the invention, technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making all other embodiment that obtained under the creative work prerequisite.
Carry out for making the call back on busy service of terminal called can be not limited at intra-office, simplify the operation that triggers call back on busy service simultaneously, for the user facilitates, present embodiment provides a kind of method that realizes calling back when busy at the terminal called end.
Owing to trigger call back on busy service at the calling terminal end, can cause the limited problem of application scenarios.Therefore, in the present embodiment, newly-increased called calling back when busy functional module in the called switching system of telephone system, when terminal called is just busy to the calling terminal playing alert tones, point out it to select to continue to wait for or called calling back when busy, after calling terminal has been selected calling back when busy, carrying out the authority of calling terminal and terminal called respectively judges, authority meets back prompting calling service the state that successfully constantly detects terminal called is set, when terminal called after the free time from the invitation that makes a call of trend calling terminal and terminal called, trial connects, and realizes the function of called calling back when busy.
The method flow diagram of the calling back when busy that provides for one embodiment of the invention referring to Fig. 1; The executive agent of the method for the calling back when busy of present embodiment can be called calling back when busy functional module newly-increased in the telephone exchange, and method comprises:
Step 101, when the calling that receives the calling terminal that the caller switch transmits, and detect terminal called when busy, write down the telephone number of described calling terminal, the described terminal called of prompting calling terminal is in busy state, and triggers called call back on busy service.
Calling terminal sends call request to affiliated switch, and the caller switching system is to the request of called switching system replay call, when called switching system is found that terminal called is busy and detect it to have called call back on busy service, triggers called call back on busy service.
Called calling back when busy functional module is to the prompt tone of terminal called transmission caller incoming call, and the prompting terminal called has user's incoming call.Begin simultaneously to the calling terminal playing alert tones, the prompting terminal called just hurries, continues to wait for for its selection and still carry out called call back on busy service.Select to continue to wait for, select called calling back when busy as pointing out calling terminal to press " 1 " by " 2 ".When calling terminal has been selected called calling back when busy, this called calling back when busy functional module is carried out authority and is judged, judge whether calling terminal has the authority of setting calling back when busy function, judges that whether terminal called has the calling authority of callback to caller, supposes that herein calling terminal and terminal called all have the corresponding authority of calling back when busy.Then after the authority judgement was passed through, called calling back when busy functional module prompting calling terminal was set the call back on busy service success.After setting successfully, constantly carry out the state-detection of terminal called, when terminal called is idle, to carry out calling back when busy.
Step 102, detect the state of terminal called, when the state-transition that detects terminal called is idle condition,, attempts setting up terminal called and be connected with calling between the calling terminal according to the telephone number of the calling terminal of record.
When detecting terminal called during the free time, called calling back when busy functional module in the called switching system is from the invitation that makes a call of trend calling terminal and terminal called, attempt setting up calling out connecting, when the calling subscriber connected call out after, call out to connect and set up, finished this called call back on busy service.
In the present embodiment, when calling terminal is exchange and extension set mode, then after calling terminal has been set the calling back when busy of exchange and extension set mode.In the processing procedure of call back on busy service, called calling back when busy function service module can write down the general number and the extension of calling terminal, when carrying out calling back when busy, adopts the secondary number of sending mode, the callback calling terminal.After promptly calling out the exchange of calling terminal, the mode of the employing secondary number of sending is dialed the extension of calling terminal.
Present embodiment is by adding called calling back when busy functional module at called switching system, trigger by callee side, obtain the state of terminal called, carry out callback when becoming idle condition called, therefore eliminated the context restrictions of intra-office callback, the calling terminal of call back on busy service and terminal called can also can be the non-user of office together for the user of office; Make that the range of application of call back on busy service is more extensive.The calling subscriber can select RT register traffic according to prompt tone simultaneously, operates easier close friend.
Below in conjunction with specific embodiment the method for calling back when busy is carried out concrete description, the flow chart of the calling back when busy that provides for another embodiment of the present invention referring to Fig. 2, suppose that calling number is 075528781234, called number is 057128984321, extension is 4321.Calling terminal has the setting authority of calling back when busy function, and terminal called has preestablished the call back on busy service authority; Referring to shown in Figure 2, the method flow of calling back when busy comprises:
Step 1)~3): dial called extension set 4321 behind caller 075528781234 off-hook, called switch carries out number analysis and navigates to calledly, detects Called Busy, and terminal called is provided with called call back on busy service authority simultaneously, then trigger called calling back when busy functional module, startup enters tripartite flow process
Step 4)~6): this called calling back when busy functional module sends prompt tone to terminal called, and the prompting called subscriber has people's incoming call; To the calling terminal playing alert tones, the prompting terminal called is just busy simultaneously; Prompt tone can be as follows: called just busy, select to continue to wait for by " 1 ", and select called calling back when busy by " 2 ".
Step 7)~8): after the calling subscriber hears prompt tone, select calling back when busy.As pressing " 2 ".
Step 9)~11): after called calling back when busy functional module is received calling subscriber's call back on busy service request, carrying out authority judges, judge whether caller 075528781234 has the setting authority of called calling back when busy (surpassed as whether and to have set number, or calling terminal is whether in effective list of switch configuration) and judge whether terminal called has the calling authority of callback to caller 075528781234.After judging that calling terminal and terminal called all have authority, this called calling back when busy functional module record related service information is as the number of calling terminal etc.; And can be to the calling terminal playing alert tones, as: success has been set in calling back when busy, and system will be in called idle back callback automatically ....
Step 12)~15): whether called calling back when busy functional module continues to detect terminal called idle, when detecting terminal called after the free time, makes a call from trend calling terminal 075528781234, and the calling subscriber answers the back switching called terminal.
Hurry if meet during the callback calling terminal, system is call release and the called calling back when busy setting of removing directly.Perhaps, system also can set timer T, promptly removes called calling back when busy and set after it is overtime.Terminal called is attempted setting up terminal called and is connected with calling between the calling terminal, if call out calling terminal successfully in Preset Time, then sets up the conversation between calling terminal and the terminal called; If it is unsuccessful to call out calling terminal in Preset Time, then cancellation is set up calling terminal and is connected with calling between the terminal called.
Present embodiment is provided with the calling back when busy functional module at called end, triggers the calling back when busy function by terminal called, has eliminated call back on busy service calling terminal and terminal called and can only be the context restrictions with the user of office; Corresponding business is selected in prompting according to prompt tone, operates easier close friend; Present embodiment only needs to increase by a calling back when busy functional module in the called switching system in telephone system, need not to change miscellaneous equipment, realizes simple and conveniently, and caller is operated easier close friend according to prompt tone playing prompting selection RT register traffic.
Further embodiment of this invention provides a kind of device of calling back when busy, and referring to the structural representation of the device that Figure 3 shows that the calling back when busy that present embodiment provides, this device comprises:
Callback trigger module 21, be used for when the calling that receive the calling terminal that the caller switch transmits, and detect terminal called when busy, write down the telephone number of described calling terminal, point out the described terminal called of described calling terminal to be in busy state, and trigger called call back on busy service;
Module 22 is set up in callback, detect the state of described terminal called, when the state-transition that detects described terminal called is idle condition,, attempts setting up described terminal called and be connected with calling between the described calling terminal according to the telephone number of the calling terminal of described record.
Need to prove,, need to be provided with at the terminal called end in advance the authority of calling back when busy for implementing call back on busy service.This device also comprises:authority judge module 23 is used for then triggering called call back on busy service when judging described terminal called end and have the authority of calling back when busy.
When terminal called is busy, can adopt voice prompting mode prompting calling terminal, describedcallback trigger module 21 comprises:Tip element 21a is used for being in busy state to the described terminal called of calling terminal playing alert tones prompting calling terminal.
When attempting setting up calling terminal and calling between terminal called is connected,module 22 is set up in callback, calls out described calling terminal when successful in Preset Time, then sets up the conversation between described calling terminal and the described terminal called; Call out described calling terminal when unsuccessful in Preset Time, then cancellation is set up described calling terminal and is connected with calling between the described terminal called.
When calling terminal is the phone of exchange and extension set form, then describedcallback trigger module 21 comprises:record cell 21b, be used for when described calling terminal is the phone of exchange and extension set form, then writing down the general number and the extension of described calling terminal respectively; Accordingly,module 22 is set up in callback, comprising:recall unit 22a, be used for when described calling terminal is the phone of exchange and extension set form, and behind the exchange of calling out calling terminal, the mode of the employing secondary number of sending is dialed the extension of described calling terminal.
The device that present embodiment has the calling back when busy function in the called end setting triggers the calling back when busy function by callee side, has eliminated call back on busy service calling and called terminal and can only be the context restrictions with the user of office; Present embodiment need not to change other equipment, realizes simple and conveniently, has effectively realized the busy function of calling out of called chance.
One of ordinary skill in the art will appreciate that: accompanying drawing is the schematic diagram of an embodiment, and module in the accompanying drawing or flow process might not be that enforcement the present invention is necessary.
One of ordinary skill in the art will appreciate that: the module in the device among the embodiment can be described according to embodiment and be distributed in the device of embodiment, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description can be merged into a module, also can further split into a plurality of submodules.
The invention described above embodiment sequence number is not represented the quality of embodiment just to description.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of program command, aforementioned program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that previous embodiment is put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of embodiment of the invention technical scheme.