CN110995942A - Soft switch automatic calling method and system based on interface visualization - Google Patents

Soft switch automatic calling method and system based on interface visualization Download PDF

Info

Publication number
CN110995942A
CN110995942A CN201911239203.5A CN201911239203A CN110995942A CN 110995942 A CN110995942 A CN 110995942A CN 201911239203 A CN201911239203 A CN 201911239203A CN 110995942 A CN110995942 A CN 110995942A
Authority
CN
China
Prior art keywords
task
flow
call
ivr
timing
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.)
Granted
Application number
CN201911239203.5A
Other languages
Chinese (zh)
Other versions
CN110995942B (en
Inventor
王江淮
查江江
张德昌
夏兵
丁常坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ustc Sinovate Software Co ltd
Original Assignee
Ustc Sinovate Software Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Ustc Sinovate Software Co ltd filed Critical Ustc Sinovate Software Co ltd
Priority to CN201911239203.5A priority Critical patent/CN110995942B/en
Publication of CN110995942A publication Critical patent/CN110995942A/en
Application granted granted Critical
Publication of CN110995942B publication Critical patent/CN110995942B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/487Arrangements for providing information services, e.g. recorded voice services or time announcements
    • H04M3/493Interactive information services, e.g. directory enquiries ; Arrangements therefor, e.g. interactive voice response [IVR] systems or voice portals
    • H04M3/4936Speech interaction details

Abstract

The invention discloses a soft switch automatic calling method and a system based on interface visualization, belonging to the technical field of voice communication and comprising the following steps: s1: visual configuration of an IVR process; s2: IVR flow conversion; s3: setting a call timing task; s4: executing a call timing task; s5: and recording a task execution result. The invention adopts visual configuration to visually know the service content of the call flow, and is easy to modify, thereby reducing the possibility of error; by converting the self-defined IVR flow in the xml format into the executable Lua script flow, personnel without programming basis can also establish the IVR flow, and the function of automatic calling is more conveniently realized; the call task is automatically triggered and executed through the web interface configuration timing and the background program, the call result is automatically recorded, and a user can conveniently make a task and inquire the call result through the web interface, so that the automatic call closed-loop process management is realized.

Description

Soft switch automatic calling method and system based on interface visualization
Technical Field
The invention relates to the technical field of voice communication, in particular to a soft switch automatic calling method and system based on interface visualization.
Background
The traditional calling platform is mainly realized by adopting a voice card and multimedia switch hardware equipment, the special hardware equipment is required to realize the calling capability, which belongs to hard switching, along with the continuous development of communication technology, the soft switching technology is a core technology for realizing the interaction of new generation voice communication and multimedia data, and a new generation session control protocol SIP (Session initiation protocol) formulated by IETF has the advantages of simplicity, openness, flexibility, expandability and the like, and becomes an important technology of a soft calling platform system. The freeswitch is used as a calling platform to support IVR (Interactive Voice response) flow design of a lua voice script, and the calling platform based on the freeswitch can realize a basic calling function.
Because the lua script is mainly written for developers at present, the processes from calling initiation to calling execution of a freeswitch soft calling platform and the like do not have complete task flow to control, and an outbound call flow is difficult to flexibly configure, a soft switch automatic calling method and a system based on interface visualization are provided.
The invention discloses an interface visualization IVR flow editor, which converts the interface visualization flow into an executable IVR flow through a flow conversion program, realizes the web interface timing trigger based on ESL (event Socket library), and executes and calls an ESL command to execute the call, thereby realizing the high-efficiency, simple and flexible automatic calling capability of the soft switch,
disclosure of Invention
The technical problem to be solved by the invention is as follows: how to solve the problems that the processes from calling initiation to calling execution of a freeswitch soft calling platform and the like do not have complete task flow to control and an outbound process is difficult to flexibly configure, and provides a soft switch automatic calling method based on interface visualization.
The invention solves the technical problems through the following technical scheme, and the invention comprises the following steps:
s1: IVR flow visualization configuration
An IVR flow interface link component is defined according to IVR flow links and link attributes in a freeswitch soft call platform, corresponding attribute information is defined for each link component, and after flow configuration is completed, the IVR flow interface generates an xml file with a custom format for IVR flow links and connection information among the links;
s2: IVR flow conversion
Generating a lua script file according to the flow component information described in the xml file generated in step S1, wherein the generation process includes that each flow component corresponds to a function of the lua script file, the name of the function is the id of the flow component, the content of the function is determined by the function of the flow component, and the next function is called in the last line of each function;
s3: call timing task setup
Customizing a timed calling task based on quartz (open source job scheduling framework) and according to a service scene of automatic calling required;
s4: call timing task execution
When the call timing task is triggered regularly, a call task execution program is started to be executed, the call task execution program firstly acquires configuration information of the call timing task, a main outbound number and IVR flow information, and then a web system sends a command to a freeswitch soft call platform through an ESL (event Socket library) to execute the outbound task;
the web system monitors triggering of a quartz timing task, and can acquire an ID (identity) of a quartz corresponding to a calling timing task after monitoring triggering, so that the task and information corresponding to an IVR (interactive voice response) process can be acquired according to the ID of the calling timing task, a user number to be called is acquired according to task instance data in the calling timing task, and then a lua script name corresponding to the IVR process is acquired according to IVR process information managed by the calling timing task, so that a calling command can be constructed, and the calling command is sent to a freeswitch soft calling platform for execution through an ESL (enterprise service level language);
s5: task execution result recording
And after the call is finished, recording the call result according to the call result information returned by the callback function of the freeswitch soft call platform, and recording whether the main outbound number is answered or not, the answering time and other information.
Further, in step S1, the IVR flow interface includes a flow component and a connection line, where the flow component represents a one-step operation and the connection line points to a next-step operation.
Further, in the step S1, the xml file includes an xml fragment corresponding to the flow component and an xml fragment corresponding to the connection line, the attribute of the xml fragment corresponding to the flow component includes id, name, top, left, width, height, and type, where id is the unique identifier of the flow component, name is the function description of the flow component, top, left, width, and height describe the position of the flow component in the page, and type represents the type of the flow component; the attributes of the xml fragments corresponding to the connecting lines comprise id, name, from, to and type, the value of the from is the id of the previous flow component, the value of the to is the id of the next flow component, and the meanings represented by the id, the name and the type are the same as those in the attributes of the xml fragments corresponding to the flow components.
Further, in the step S2, the next function, i.e., the value of the to attribute in the xml file of the flow component, is called in the last line of each function.
Further, in the step S3, the process of customizing the call timing task includes the following steps:
s31: configuring a call timing task, a task name, a task type, a task execution mode, a related IVR flow, a task timing cron expression and a task description in a Web interface;
s32: after the call timing task is configured, a task instance is configured again, the task instance is an object needing to be called, the configured task instance information comprises information such as a user name, a user number, a business name, a business ID and a source system, and the task is configured in a stop state by default;
s33: and after the task is started, if the task is a timing task, writing timing cron expression information into a quartz framework, and then carrying out timing triggering according to the timing expression by the quartz framework.
Further, in the step S4, the IVR flow is the executable lua script file generated in the step S2.
Further, in step S4, the main outbound number and the corresponding IVR procedure are associated by configuration, and when the call time arrives, a command to be executed is spelled out according to the main outbound number and the lua name of the corresponding procedure, and the command is sent to the freeswitch soft call platform.
Further, the command structure is as follows:
originate sofia/external/186xxxxxxxx@yyyy&lua(example_lua_location.lua)example_params
wherein, 186xxxxxxxx @ yyyy represents a main outbound number of a certain gateway (in actual conditions, the special voice line of an operator IMS can be directly connected through a freeswitch soft call platform); lua represents the location of the lua script on the freeswitch soft call platform; example _ params denotes an additional parameter.
The additional parameter such as the ignore ring tone, set to true, indicates that the user enters the IVR process after answering, the call timeout parameter indicates the call timeout time, and the parameter definition is defined by the freeswitch soft call platform.
The invention also provides a soft switch automatic calling system based on interface visualization, which comprises:
the visual configuration module is used for defining IVR flow interface link components according to IVR flow links and link attributes in the freeswitch soft call platform, defining corresponding attribute information for each link component, and after the flow configuration is completed, the IVR flow interface generates XML files in a custom format for the IVR flow links and the connection information among the links;
the flow conversion module is used for generating a lua script file according to the flow component information described in the generated xml file;
the timing task setting module is used for customizing a timing call task in a service scene of carrying out automatic call according to needs based on quartz;
the timing task execution module is used for starting to execute the calling task after the calling timing task is triggered in a timing mode;
the result recording module is used for recording the calling result according to the calling result information returned by the callback function of the freeswitch soft calling platform after the calling is finished;
the central processing module is used for sending instructions to other modules to complete related actions;
the visual configuration module, the flow conversion module, the timing task setting module, the timing task execution module and the result recording module are all electrically connected with the central processing module.
Compared with the prior art, the invention has the following advantages: the soft switch automatic calling method and system based on interface visualization can intuitively know the service content of a calling process by adopting visualization configuration, and are easy to modify, so that the possibility of errors is reduced; the IVR process of the traditional Lua script can only be developed and edited by developers, and by converting the IVR process in the self-defined xml format into the executable Lua script, the invention can also establish the IVR process by personnel without programming basis, thereby more conveniently realizing the function of automatic calling; the call task is automatically triggered and executed through the web interface configuration timing and the background program, the call result is automatically recorded, background operation is not needed in the whole process, and a user can conveniently make a task and inquire the call result through the web interface, so that automatic call closed-loop process management is realized.
Drawings
Fig. 1 is a schematic overall flow chart of a softswitch automatic call method according to an embodiment of the present invention;
fig. 2 is a schematic flow chart illustrating an implementation of a softswitch automatic call method according to a second embodiment of the present invention;
fig. 3 is a diagram of a playing link selection interface in the second embodiment of the present invention.
FIG. 4 is an audio file selection interface diagram according to a second embodiment of the present invention;
FIG. 5 is a diagram illustrating a process for selecting attributes of flow components according to a second embodiment of the present invention;
FIG. 6 is a diagram illustrating a process of selecting a link attribute according to a second embodiment of the present invention;
FIG. 7 is a general flow diagram of an outbound example in accordance with a second embodiment of the present invention;
FIG. 8 is a configuration item interface diagram of a start component in accordance with a second embodiment of the present invention;
FIG. 9 is a configuration item interface diagram of a DTMF component in a second embodiment of the invention;
FIG. 10 is a configuration item interface diagram of a playback assembly according to a second embodiment of the present invention;
FIG. 11 is a schematic process diagram of an xml file finally generated in the second embodiment of the present invention;
FIG. 12 is a diagram illustrating an IVR flow conversion process of a start component in a second embodiment of the invention;
FIG. 13 is a schematic diagram illustrating an IVR flow conversion process of the playback component in the second embodiment of the present invention;
fig. 14 is a schematic diagram of IVR flow conversion process of DTMF component in the second embodiment of the present invention.
Detailed Description
The following examples are given for the detailed implementation and specific operation of the present invention, but the scope of the present invention is not limited to the following examples.
As shown in fig. 1, the present embodiment provides a technical solution: a soft switch automatic calling method based on interface visualization comprises the following steps:
s1: IVR flow visualization configuration
An IVR flow interface link component is defined according to IVR flow links and link attributes in a freeswitch soft call platform, corresponding attribute information is defined for each link component, and after flow configuration is completed, the IVR flow interface generates an xml file with a custom format for IVR flow links and connection information among the links; the IVR flow interface comprises a flow component and a connecting line, wherein the flow component represents one-step operation, and the connecting line points to the next-step operation; the xml file comprises an xml fragment corresponding to the flow component and an xml fragment corresponding to the connecting line, the attribute of the xml fragment corresponding to the flow component comprises id, name, top, left, width, height and type, wherein the id is the unique identifier of the flow component, the name is the function description of the flow component, the top, the left, the width and the height describe the position of the flow component in the page, and the type represents the type of the flow component; the attributes of the xml fragments corresponding to the connecting lines comprise id, name, from, to and type, the value of the from is the id of the previous flow component, the value of the to is the id of the next flow component, and the meanings represented by the id, the name and the type are the same as those in the attributes of the xml fragments corresponding to the flow components;
s2: IVR flow conversion
Generating a lua script file according to the flow component information described in the xml file generated in step S1, where the generation process includes that each flow component corresponds to a function of the lua script file, the name of the function is the id of the flow component, the content of the function is determined by the function of the flow component, and the last line of each function calls the next function, i.e., the value of the to attribute in the xml file of the flow component;
s3: call timing task setup
Customizing a timed calling task based on quartz (open source job scheduling framework) and according to a service scene of automatic calling required;
the process of customizing the call timing task includes the steps of:
s31: configuring a call timing task, a task name, a task type, a task execution mode, a related IVR flow, a task timing cron expression and a task description in a Web interface;
s32: after the call timing task is configured, a task instance is configured again, the task instance is an object needing to be called, the configured task instance information comprises information such as a user name, a user number, a business name, a business ID and a source system, and the task is configured in a stop state by default;
s33: after the task is started, if the task is a timing task, writing timing cron expression information into a quartz frame, and then carrying out timing triggering according to the timing expression by the quartz frame;
s4: call timing task execution
When the call timing task is triggered regularly, a call task execution program is started to be executed, the call task execution program firstly acquires configuration information of the call timing task, a main outbound number and IVR flow information, and then a web system sends a command to a freeswitch soft call platform through an ESL (event Socket library) to execute the outbound task; the IVR flow is the executable lua script file generated in step S2; the main outbound number is associated with the corresponding IVR flow through configuration, and when the calling time arrives, a command to be executed is spelled out according to the main outbound number and the lua name of the corresponding flow and is sent to a freeswitch soft calling platform;
the web system monitors triggering of a quartz timing task, and can acquire an ID (identity) of a quartz corresponding to a calling timing task after monitoring triggering, so that the task and information corresponding to an IVR (interactive voice response) process can be acquired according to the ID of the calling timing task, a user number to be called is acquired according to task instance data in the calling timing task, and then a lua script name corresponding to the IVR process is acquired according to IVR process information managed by the calling timing task, so that a calling command can be constructed, and the calling command is sent to a freeswitch soft calling platform for execution through an ESL (enterprise service level language);
the command structure is as follows:
originate sofia/external/186xxxxxxxx@yyyy&lua(example_lua_location.lua)example_params
wherein, 186xxxxxxxx @ yyyy represents a main outbound number of a certain gateway (in actual conditions, the special voice line of an operator IMS can be directly connected through a freeswitch soft call platform); lua represents the location of the lua script on the freeswitch soft call platform; example _ params denotes an additional parameter.
The additional parameter such as the ignore ring tone, set to true, indicates that the user enters the IVR process after answering, the call timeout parameter indicates the call timeout time, and the parameter definition is defined by the freeswitch soft call platform.
S5: task execution result recording
And after the call is finished, recording the call result according to the call result information returned by the callback function of the freeswitch soft call platform, and recording whether the main outbound number is answered or not, the answering time and other information.
The embodiment also provides a soft switch automatic calling system based on interface visualization, which includes:
the visual configuration module is used for defining IVR flow interface link components according to IVR flow links and link attributes in the freeswitch soft call platform, defining corresponding attribute information for each link component, and after the flow configuration is completed, the IVR flow interface generates XML files in a custom format for the IVR flow links and the connection information among the links;
the flow conversion module is used for generating a lua script file according to the flow component information described in the generated xml file;
the timing task setting module is used for customizing a timing call task in a service scene of carrying out automatic call according to needs based on quartz;
the timing task execution module is used for starting to execute the calling task after the calling timing task is triggered in a timing mode;
the result recording module is used for recording the calling result according to the calling result information returned by the callback function of the freeswitch soft calling platform after the calling is finished;
the central processing module is used for sending instructions to other modules to complete related actions;
the visual configuration module, the flow conversion module, the timing task setting module, the timing task execution module and the result recording module are all electrically connected with the central processing module.
Example two
As shown in fig. 2, in the technical solution of this embodiment, an IVR flow is generated by an interface visualization flow editor based on freeswitch as a soft switch platform, and the IVR flow is executed in a timed manner by ESL in combination with a web interface timing task, so that an automatic IVR outbound task of the system is realized. The method mainly comprises the following steps: the method comprises the following functional steps of IVR flow visualization configuration, IVR flow conversion program, call timing task setting, task execution program, task execution result recording program and the like, and the specific technical scheme is as follows:
IVR flow visualization configuration
The IVR flow visualization configuration can facilitate dynamic modification and deployment of IVR flow interfaces. The IVR flow interface is composed of a flow component and a connecting line, wherein the flow component represents one-step operation, and the connecting line points to the next-step operation. The flow description file custom format is xml. Defining IVR process interface link components according to IVR process links and link attributes in freeswitch, and defining corresponding attribute information for each link component;
as shown in fig. 3 and 4, in a playback link (a segment of voice is played in the process of communication), an audio file can be directly selected through an interface link attribute;
after the flow configuration is completed, the IVR flow interface generates IVR flow links and connection information among the links into an xml file with a custom format;
the specific process of the system for generating the xml file by the IVR process configuration page is as follows:
1. as shown in FIG. 5, the attribute of the xml fragment corresponding to the flow component must include id, name, top, left, width, height, and type, where id is the unique identifier of the component, name is the function description of the component, top, left, width, and height describe the position of the component in the page, and type represents the type of the component.
2. As shown in FIG. 6, the attributes of the xml fragments corresponding to the links must include id, name, from, to, and type, where the value of from is the id of the last component, the value of to is the id of the next component, and the meanings indicated by id, name, and type are the same as those in the attributes of the xml fragments corresponding to the flow components.
Since the flow components should define functions and parameters according to the call service needs and expand as required, all components cannot be listed in this embodiment, and a simple outbound flow is described below as an example, which includes a start component, a playback component, and a DTMF component, and other components are similar.
Fig. 7 is a general flow diagram of the outbound example described above. As shown in FIG. 8, to start the configuration item interface diagram of the component, clicking on the configuration item of each component can display the component, and the start component must define the global parameters required by the process. As shown in fig. 9, is a configuration item interface diagram of a DTMF component. As shown in fig. 10, is a configuration item interface diagram of the playback assembly. As shown in fig. 11, is a schematic process diagram of the xml file finally generated.
Second, IVR flow conversion program
The IVR process conversion program mainly converts the generated xml process definition file into an executable lua script process file, and the main conversion idea method comprises the following steps: the system generates a lua script file according to the flow component information described in the xml file, wherein the flow component information is composed of flow components and connecting lines. The generation method is that each flow component corresponds to a function of the lua script file, the name of the function is the id of the component, and the content of the function is different according to the functions of the flow components. The next function, the value of the to attribute in the xml file of this flow component information, is called in the last line of each function. The following takes the starting component, the playback component and the DTMF component as an example.
FIG. 12 is a diagram illustrating the IVR flow transition process of the start component, wherein dtmf _20 is the next flow component pointed to by the start component, i.e. the value of the to attribute in the xml file.
Fig. 13 is a schematic diagram of IVR flow conversion process of the playback component.
As shown in fig. 14, a schematic diagram of IVR flow conversion process for DTMF module is shown.
In the process, the playback component points to an 'end' component, the end component is the last process component in each process, the corresponding function is act _ finish, and some ending work can be performed in the function. And ending the work, such as recording the generation time of the just IVR flow and the information of the creator, so as to conveniently check the IVR making related information at the later stage.
Setting call timing task
The call timing task configuration is based primarily on the quartz configuration timing task.
The specific process is as follows: configuring a call timing task in a Web interface, mainly configuring a task name, a task type (such as types of automatic notification, automatic return visit and the like), a task execution mode (timing trigger and real-time trigger), an associated IVR flow, a task timing cron expression (the timing trigger needs to be filled in) and a task description, after the call timing task is configured, configuring a task instance (the task instance is an object needing to be called) again, wherein the configured task instance information mainly comprises information such as a user name, a user number, a belonging service name, a service ID, a source system and the like. And the default configuration of the task is a stop state, after the task is started, if the task is a timing task, the timing cron expression information is written into a quartz framework, and the quartz framework carries out timing triggering according to the timing expression.
The method mainly comprises the steps of customizing a timed calling task in a service scene needing automatic calling, and mainly setting information such as task timing time, an outbound number, an executed IVR flow and the like.
Fourth, task execution program
And when the call timing task is triggered regularly, starting to execute a call task execution program, wherein the call task execution program firstly acquires the configuration information of the call task, the main outbound number and IVR flow information, and the web system sends a command to a freeswitch soft call platform through an ESL to execute outbound call, wherein the IVR flow is an executable lua script flow generated by the IVR flow conversion program in the step two.
The web system monitors the trigger of the quartz timing task, and can acquire the ID of the quartz corresponding to the call timing task after monitoring the trigger, so that the task and the information corresponding to the IVR process can be acquired according to the ID of the call timing task, the number of a user to be called is acquired according to the task instance data in the call timing task, and then the lua script name corresponding to the IVR process is acquired according to the IVR process information managed by the call timing task, so that a call command can be constructed, and the call command is sent to a freeswitch soft call platform for execution through an ESL.
In order to keep flexibility and configurability, a called number (a main outbound number) and a corresponding IVR flow are associated through configuration, and when the calling time arrives, a command to be executed is spelled out according to the called number and the lua name of the corresponding flow and is sent to a freeswitch soft calling platform. The command structure is as follows:
originate sofia/external/186xxxxxxxx@yyyy&lua(example_lua_location.lua)example_params
wherein 186xxxxxxxx @ yyy represents a called number of a certain gateway (in actual conditions, the called number can be directly connected with an IMS voice private line of an operator through a freeswitch soft call platform); lua represents the location of the lua script on the freeswitch soft call platform; example _ params represents additional parameters that will be used by the lua script.
Fifthly, recording program of task execution result
After the call is finished, according to call result information returned by a callback function of a freeswitch soft call platform, the process of calling back the function return information is to monitor an Esl Event of the freeswitch soft call platform through a program, obtain the call result information of the freeswitch soft call platform, call a developed HTTP callback function method, call an HTTP callback function at the place where the call result Event is obtained, namely, the call result can be stored in a database through an Event triggering HTTP callback function calling method, so that the call result is recorded, and information such as whether an external call number is answered or not, answering time and the like is recorded.
Therefore, the automatic calling method based on the freeswitch soft calling platform can be conveniently realized by a complete executive program which is initiated from a web interface, edited and configured through an IVR interface visual process and a background.
In summary, the above two sets of embodiments of the method for automatic soft switch calling based on interface visualization adopt visual configuration to intuitively understand the service content of the call flow, and meanwhile, the method is easy to modify and reduces the possibility of error; the IVR process of the traditional Lua script can only be developed and edited by developers, and by converting the IVR process in the self-defined xml format into the executable Lua script, the invention can also establish the IVR process by personnel without programming basis, thereby more conveniently realizing the function of automatic calling; the call task is automatically triggered and executed through the web interface configuration timing and the background program, the call result is automatically recorded, background operation is not needed in the whole process, and a user can conveniently make a task and inquire the call result through the web interface, so that automatic call closed-loop process management is realized.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (9)

1. A soft switch automatic calling method based on interface visualization is characterized by comprising the following steps:
s1: IVR flow visualization configuration
An IVR flow interface link component is defined according to IVR flow links and link attributes in a freeswitch soft call platform, corresponding attribute information is defined for each link component, and after flow configuration is completed, the IVR flow interface generates an xml file with a custom format for IVR flow links and connection information among the links;
s2: IVR flow conversion
Generating a lua script file according to the flow component information described in the xml file generated in step S1, wherein the generation process includes that each flow component corresponds to a function of the lua script file, the name of the function is the id of the flow component, the content of the function is determined by the function of the flow component, and the next function is called in the last line of each function;
s3: call timing task setup
Customizing a call timing task under a service scene of automatic call according to the need based on a quartz frame;
s4: call timing task execution
When the timing calling task is triggered regularly, starting to execute the calling task, acquiring configuration information of the calling timing task, a main outbound number and IVR flow information, and then sending a command to a freeswitch soft calling platform by a web system through an ESL (electronic service level library) to execute the outbound task;
s5: task execution result recording
And after the call is finished, recording the call result according to the call result information returned by the callback function of the freeswitch soft call platform.
2. The softswitch automatic calling method based on interface visualization according to claim 1, wherein: in step S1, the IVR process interface includes a process component and a connection line, where the process component represents a one-step operation and the connection line points to a next operation.
3. The softswitch automatic calling method based on interface visualization according to claim 2, wherein: in step S1, the xml file includes an xml fragment corresponding to the flow component and an xml fragment corresponding to the connection line, the attribute of the xml fragment corresponding to the flow component includes id, name, top, left, width, height, and type, where id is the unique identifier of the flow component, name is the function description of the flow component, top, left, width, and height describe the position of the flow component in the page, and type represents the type of the flow component; the attributes of the xml fragments corresponding to the connecting lines comprise id, name, from, to and type, the value of the from is the id of the previous flow component, the value of the to is the id of the next flow component, and the meanings represented by the id, the name and the type are the same as those in the attributes of the xml fragments corresponding to the flow components.
4. The softswitch automatic calling method based on interface visualization of claim 3, wherein: in said step S2, the next function, i.e. the value of the to attribute in the xml file of the flow component, is called in the last line of each function.
5. The softswitch automatic calling method based on interface visualization of claim 1, wherein in step S3, the process of customizing the call timing task comprises the following steps:
s31: configuring a call timing task, a task name, a task type, a task execution mode, a related IVR flow, a task timing cron expression and a task description in a Web interface;
s32: after the call timing task is configured, a task instance is configured again, the task instance is an object needing to be called, the configured task instance information comprises a user name, a user number, a business name, a business ID and a source system, and the task is configured in a stop state by default;
s33: and after the task is started, if the task is a timing task, writing timing cron expression information into a quartz framework, and then carrying out timing triggering according to the timing expression by the quartz framework.
6. The softswitch automatic calling method based on interface visualization according to claim 1, wherein: in the step S4, the IVR flow is the executable lua script file generated in the step S2.
7. The softswitch automatic calling method based on interface visualization according to claim 1, wherein: in step S4, the main outbound number and the corresponding IVR procedure are associated by configuration, and when the call time arrives, a command to be executed is spelled out according to the main outbound number and the lua name of the corresponding procedure, and the command is sent to the freeswitch soft call platform.
8. The softswitch automatic calling method based on interface visualization according to claim 1, wherein: in step S5, the call result includes whether the main outgoing call number is answered or not and the answering time.
9. A softswitch automatic calling system based on interface visualization, characterized in that, the softswitch automatic calling is performed by using the calling method according to any one of claims 1 to 8, comprising:
the visual configuration module is used for defining IVR flow interface link components according to IVR flow links and link attributes in the freeswitch soft call platform, defining corresponding attribute information for each link component, and after the flow configuration is completed, the IVR flow interface generates XML files in a custom format for the IVR flow links and the connection information among the links;
the flow conversion module is used for generating a lua script file according to the flow component information described in the generated xml file;
the timing task setting module is used for customizing a timing call task in a service scene of carrying out automatic call according to needs based on quartz;
the timing task execution module is used for starting to execute the calling task after the calling timing task is triggered in a timing mode;
the result recording module is used for recording the calling result according to the calling result information returned by the callback function of the freeswitch soft calling platform after the calling is finished;
the central processing module is used for sending instructions to other modules to complete related actions;
the visual configuration module, the flow conversion module, the timing task setting module, the timing task execution module and the result recording module are all electrically connected with the central processing module.
CN201911239203.5A 2019-12-06 2019-12-06 Soft switch automatic calling method and system based on interface visualization Active CN110995942B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911239203.5A CN110995942B (en) 2019-12-06 2019-12-06 Soft switch automatic calling method and system based on interface visualization

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911239203.5A CN110995942B (en) 2019-12-06 2019-12-06 Soft switch automatic calling method and system based on interface visualization

Publications (2)

Publication Number Publication Date
CN110995942A true CN110995942A (en) 2020-04-10
CN110995942B CN110995942B (en) 2021-08-06

Family

ID=70090702

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911239203.5A Active CN110995942B (en) 2019-12-06 2019-12-06 Soft switch automatic calling method and system based on interface visualization

Country Status (1)

Country Link
CN (1) CN110995942B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111580725A (en) * 2020-05-07 2020-08-25 网经科技(苏州)有限公司 Freeswitch-based IVR graphical configuration system and method thereof
CN114285945A (en) * 2021-12-13 2022-04-05 天翼爱音乐文化科技有限公司 Video interaction method and device and storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101055577A (en) * 2006-04-12 2007-10-17 龙搜(北京)科技有限公司 Collector capable of extending markup language
CN101459739A (en) * 2008-12-31 2009-06-17 广东协联科贸发展有限公司 Expandable interactive voice service system based on wideband network
CN101631262A (en) * 2009-08-25 2010-01-20 中兴通讯股份有限公司 VoiceXML business integrated development system and realizing method thereof
CN102271194A (en) * 2010-06-04 2011-12-07 中兴通讯股份有限公司 Interactive voice response service development method and system
CN104410637A (en) * 2014-11-28 2015-03-11 科大讯飞股份有限公司 Development system and development method for interactive voice response (IVR) visualization flow
CN105183445A (en) * 2015-07-10 2015-12-23 珠海金山网络游戏科技有限公司 Visual design system of artificial intelligence of game on the basis of XML (Extensive Markup Language)
CN105683909A (en) * 2013-09-30 2016-06-15 微软技术许可有限责任公司 Control and part compliant hierarchy
US20170118337A1 (en) * 2015-04-10 2017-04-27 Genesys Telecommunications Laboratories, Inc. Visual interactive voice response system
CN107665112A (en) * 2017-09-29 2018-02-06 北京紫优能源科技有限公司 A kind of configuration method and device of Electric control flow
US20190082050A1 (en) * 2017-09-08 2019-03-14 Verizon Patent And Licensing Inc. Data structure driven interactive voice response (ivr) framework
CN110058930A (en) * 2019-04-18 2019-07-26 中国联合网络通信集团有限公司 Method for scheduling task and equipment
CN110351442A (en) * 2019-06-06 2019-10-18 平安科技(深圳)有限公司 It attends a banquet message prompt method, device, computer equipment and storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101055577A (en) * 2006-04-12 2007-10-17 龙搜(北京)科技有限公司 Collector capable of extending markup language
CN101459739A (en) * 2008-12-31 2009-06-17 广东协联科贸发展有限公司 Expandable interactive voice service system based on wideband network
CN101631262A (en) * 2009-08-25 2010-01-20 中兴通讯股份有限公司 VoiceXML business integrated development system and realizing method thereof
CN102271194A (en) * 2010-06-04 2011-12-07 中兴通讯股份有限公司 Interactive voice response service development method and system
CN105683909A (en) * 2013-09-30 2016-06-15 微软技术许可有限责任公司 Control and part compliant hierarchy
CN104410637A (en) * 2014-11-28 2015-03-11 科大讯飞股份有限公司 Development system and development method for interactive voice response (IVR) visualization flow
US20170118337A1 (en) * 2015-04-10 2017-04-27 Genesys Telecommunications Laboratories, Inc. Visual interactive voice response system
CN105183445A (en) * 2015-07-10 2015-12-23 珠海金山网络游戏科技有限公司 Visual design system of artificial intelligence of game on the basis of XML (Extensive Markup Language)
US20190082050A1 (en) * 2017-09-08 2019-03-14 Verizon Patent And Licensing Inc. Data structure driven interactive voice response (ivr) framework
CN107665112A (en) * 2017-09-29 2018-02-06 北京紫优能源科技有限公司 A kind of configuration method and device of Electric control flow
CN110058930A (en) * 2019-04-18 2019-07-26 中国联合网络通信集团有限公司 Method for scheduling task and equipment
CN110351442A (en) * 2019-06-06 2019-10-18 平安科技(深圳)有限公司 It attends a banquet message prompt method, device, computer equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
史文斌: "基于FreeSWITCH的呼叫中心系统设计与实现", 《中国优秀硕士学位论文全文数据库》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111580725A (en) * 2020-05-07 2020-08-25 网经科技(苏州)有限公司 Freeswitch-based IVR graphical configuration system and method thereof
CN114285945A (en) * 2021-12-13 2022-04-05 天翼爱音乐文化科技有限公司 Video interaction method and device and storage medium

Also Published As

Publication number Publication date
CN110995942B (en) 2021-08-06

Similar Documents

Publication Publication Date Title
CA2784090C (en) Conferenced voice to text transcription
CN110995942B (en) Soft switch automatic calling method and system based on interface visualization
JP4583289B2 (en) Execution flow generation program, execution flow generation method, and execution flow generation apparatus
US7913223B2 (en) Method and system for development and use of a user-interface for operations, administration, maintenance and provisioning of a telecommunications system
CN108540674B (en) Automatic testing method and device, computer equipment and storage medium
JP2008546325A (en) Generation and conversion of call control elements, dialog elements, and session initiation protocol messages for telephony service applications
EP2173098A1 (en) Method, equipment and system for realizing video conference
CN101631262A (en) VoiceXML business integrated development system and realizing method thereof
CN115687486B (en) Light-weight data acquisition method and device based on keyle
AU7361998A (en) Methods and apparatus for creating automated servers for display telephones
CN111262909A (en) Large-screen information display method, device, equipment and storage medium
EP2566144B1 (en) Conferenced voice to text transcription
US8464210B1 (en) Software development and testing environment
CN110113495A (en) Long-range control method, device, electronic equipment and the system of APP
CN110532305A (en) A kind of business datum method for cutting over and system
US8165277B2 (en) Distributed service creation environment for intelligent endpoints
US7031440B1 (en) Interactive voice response systems with general-purpose blocks
CN109698808A (en) A kind of method, equipment and device loading template message
WO2012058871A1 (en) Method and system for customer service automation
CN111930637B (en) Method for debugging IVR flow in real time based on webpage
CN114559433B (en) Robot control method and device, storage medium, robot and cloud server
AU7153000A (en) Process, configuration server, signaling server, computer program, and storage medium for generating service function modules
KR100348762B1 (en) Method for creating service scenario for network messaging system
CN116107914A (en) Test case management system and method
CN115514747A (en) Distributed preview method of real-scene three-dimensional model based on webrtc

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant