I want to call asterisk extension from freeswitch using ESL.
Here is my python file.

#!/usr/bin/env python

import string
import sys

from ESL import *

con = ESLconnection("localhost","8021","ClueCon")
#are we connected?

if con.connected:
  con.execute("bridge","sofia/external/555@192.168.1.44");

When a run this it does not generate call over asterisk extension.
But when i do this using dialplan it works.Here is my default.xml

<include>
  <context name="default">
   <extension name="esl">
      <condition>
        <action application="log" data="yes i did it"/>
        <action application="bridge" data="sofia/external/555@192.168.1.44"/>
    </condition>
   </extension>
</context>
</include>

But i want to do this using mod_event_socket.

Your help would be much appreciated.
Thanks