On Fri, Apr 6, 2012 at 6:46 PM, Dan Chang <[email protected]> wrote:

> Would anybody happen to know where in the OpenAcdContext I can create,
> read and update the "Agent Dial Strings"?  I see a single
> "getDialString()" function in OpenAcdSettings that only returns a single
> String (which when I checked it had nothing in it), so I am guessing I
> am in the totally wrong place?
>


Both open acd line (OpenAcdLine) and agent dial string (OpenAcdCommand) are
saved in 3 tables in DB: freeswitch_extension, freeswitch_condition
and freeswitch_action.

So, in OpenAcdContext, take a look on:
    Set<OpenAcdCommand> getCommands();
    OpenAcdExtension getExtensionById(Integer extensionId);
    OpenAcdExtension getExtensionByName(String extensionName);
    public OpenAcdCommand newOpenAcdCommand();
    void saveExtension(OpenAcdExtension extension);
    void deleteExtension(OpenAcdExtension ext);
Laurentiu
_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev/

Reply via email to