EXECUTE sofia/internal/7006@192.168.2.190 eavesdrop()
2011-01-20 14:54:01.582119 [ERR] mod_dptools.c:529 Usage: [all | <uuid>]

It's telling you you're using it wrong. You need to tell eavesdrop who you want to eavesdrop on. You don't have a data attribute, which must either be "all" (useful for eavesdropping on groups) or the UUID.

There's examples of both on the wiki:
http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_eavesdrop

-Steve



On 20 January 2011 09:43, Sam <u2nsam@gmail.com> wrote:
hello ,

I am using,

<extension name="global" continue="true">
<condition>
<action application="info"/>
<action application="db" data="insert/spymap/${caller_id_number}/${uuid}"/>
<action application="db" data="insert/last_dial/${caller_id_number}/${destination_number}"/>
<action application="db" data="insert/last_dial/global/${uuid}"/>
</condition>
</extension>
   <extension name="eavesdrop">
<condition field="destination_number" expression="^88(.*)$|^\*0(.*)$">
<action application="answer"/>
<action application="eavesdrop" data="${db(select/spymap/$1)}"/>
</condition>
</extension>


i am getting the below error:-

2011-01-20 14:54:01.581151 [NOTICE] mod_dptools.c:920 Channel [sofia/internal/7006@192.168.2.190] has been answered
2011-01-20 14:54:01.581151 [DEBUG] sofia.c:4646 Channel sofia/internal/7006@192.168.2.190 entering state [completed][200]
EXECUTE sofia/internal/7006@192.168.2.190 eavesdrop()
2011-01-20 14:54:01.582119 [ERR] mod_dptools.c:529 Usage: [all | <uuid>]
2011-01-20 14:54:01.582119 [NOTICE] switch_core_state_machine.c:189 sofia/internal/7006@192.168.2.190 has executed the last dialplan instruction, hanging up.
2011-01-20 14:54:01.582119 [DEBUG] switch_channel.c:2535 (sofia/internal/7006@192.168.2.190) Callstate Change ACTIVE -> HANGUP
2011-01-20 14:54:01.582119 [NOTICE] switch_core_state_machine.c:191 Hangup sofia/internal/7006@192.168.2.190 [CS_EXECUTE] [NORMAL_CLEARING]


http://pastebin.freeswitch.org/15076


Regds
Sam

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org