MakeCall method with agent Alcatel OmniPCX

Hello, not sure this section is properly.

I’m stucked.

I try to initialize call with MakeCall method from IMediaVoice namespace. It works good when I testing it on SIP Extensions, but when I try do this in environment with agents which using Alcatel OmniPCX, IWS returning me an error:

[b]Subject: [/b]Invalid Destination DN - Media Error (415) - voice (7981@SwitchA4400)

My code:

private void OnHotKeyPressed() {
        IMedia media = _agent.FirstMediaVoice;
        IMediaVoice mv = (IMediaVoice)media;

        try
        {

            mv.MakeCall(some_number, "", Enterprise.Model.Interaction.MakeCallType.Regular, null, null, null, "");

        }
        catch
        {

            MessageBox.Show("Cannot initialize call");

        }

    }</blockquote>

Initialize agent:

public void LoadAgent(IAgent agent) {
        try
        {
            _agent.LoadMediaExtension();
        }
        catch (NullReferenceException ex)
        {
            MessageBox.Show("Agent not initialized " + ex.ToString());
        }
    }</blockquote>

Is there any way to solve this?

Invalid destination seems to be an OXE return, what does OXE TServer says?
Can you dial manually that number from the OXE set?