<html><body bgcolor="#FFFFFF"><div>Eavesdropping on a call requires transcoding. If you're using g729 you'll need a licensed version.<br><br>Steve on iPhone</div><div><br>On 21 Jan 2011, at 06:46, Sam <<a href="mailto:u2nsam@gmail.com">u2nsam@gmail.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div><div>But i gives error for g729 codec !</div>
<div> </div>
<div>2011-01-21 12:04:44.817605 [ERR] mod_g729.c:102 This codec is only usable in passthrough mode!<br>2011-01-21 12:04:44.817605 [ERR] switch_core_io.c:1042 Codec RAW Signed Linear (16 bit) encoder error!<br>2011-01-21 12:04:44.838101 [ERR] mod_g729.c:102 This codec is only usable in passthrough mode!<br>
2011-01-21 12:04:44.838101 [ERR] switch_core_io.c:1042 Codec RAW Signed Linear (16 bit) encoder error!<br>2011-01-21 12:04:44.858131 [ERR] mod_g729.c:145 This codec is only usable in passthrough mode!<br>2011-01-21 12:04:44.858131 [ERR] switch_core_io.c:433 Codec RAW Signed Linear (16 bit) decoder error!</div>
<div> </div>
<div>Regds</div>
<div>Sam<br><br></div>
<div class="gmail_quote">On Fri, Jan 21, 2011 at 10:37 AM, Sam <span dir="ltr"><<a href="mailto:u2nsam@gmail.com"><a href="mailto:u2nsam@gmail.com">u2nsam@gmail.com</a></a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">kool, it works.<br><br>Regds<br><font color="#888888">Sam<br></font>
<div>
<div></div>
<div class="h5"><br>On 1/20/11, Steven Ayre <<a href="mailto:steveayre@gmail.com"><a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a></a>> wrote:<br>> Yes, that will work. You can set the group either within the extension or in<br>> the user config.<br>
><br>> For example:<br>><br>> <extension name="bridge"><br>> <condition field="destination_number" expression="^9(\d+)$"><br>> <action application="set" data="eavesdrop_group=spy1"/><br>
> <action application="bridge" data="sofia/gateway/gw1/$1"/><br>> </condition><br>> </extension><br>> <extension name="eavesdrop"><br>> <condition field="destination_number" expression="^666$"><br>
> <action application="answer"/><br>> <action application="set" data="eavesdrop_require_group=spy1"/><br>> <action application="eavesdrop" data="all"/><br>
> </condition><br>> </extension><br>><br>><br>> -Steve<br>><br>><br>> On 20 January 2011 10:11, Sam <<a href="mailto:u2nsam@gmail.com"><a href="mailto:u2nsam@gmail.com">u2nsam@gmail.com</a></a>> wrote:<br>><br>
>> If i use<br>>><br>>> <variable name="eavesdrop_group" value="spy1"/><br>>><br>>> at the user config, will the dialplan barge the above extension where the<br>>> statement is stated ?<br>
>><br>>> <extension name="eavesdrop"><br>>> <condition field="destination_number" expression="^779$"><br>>> <action application="answer"/><br>
>> <action application="set"<br>>> data="eavesdrop_require_group=sales_call_eavesdrop"/><br>>><br>>> <action application="eavesdrop" data="all"/><br>
>> </condition><br>>> </extension><br>>><br>>><br>>> Regds<br>>> Sam<br>>><br>>><br>>><br>>><br>>><br>>><br>>><br>>><br>
>><br>>><br>>><br>>><br>>> On Thu, Jan 20, 2011 at 3:13 PM, Sam <<a href="mailto:u2nsam@gmail.com"><a href="mailto:u2nsam@gmail.com">u2nsam@gmail.com</a></a>> wrote:<br>>><br>>>> hello ,<br>>>><br>>>> I am using,<br>
>>><br>>>> <extension name="global" continue="true"><br>>>> <condition><br>>>> <action application="info"/><br>>>> <action application="db"<br>
>>> data="insert/spymap/${caller_id_number}/${uuid}"/><br>>>><br>>>><br>>>> <action application="db"<br>>>> data="insert/last_dial/${caller_id_number}/${destination_number}"/><br>
>>> <action application="db" data="insert/last_dial/global/${uuid}"/><br>>>><br>>>><br>>>> </condition><br>>>> </extension><br>
>>><br>>>> <extension name="eavesdrop"><br>>>><br>>>><br>>>> <condition field="destination_number"<br>>>> expression="^88(.*)$|^\*0(.*)$"><br>
>>> <action application="answer"/><br>>>> <action application="eavesdrop" data="${db(select/spymap/$1)}"/><br>>>><br>>>><br>>>> </condition><br>
>>> </extension><br>>>><br>>>><br>>>><br>>>> i am getting the below error:-<br>>>><br>>>> 2011-01-20 14:54:01.581151 [NOTICE] mod_dptools.c:920 Channel<br>
>>> [sofia/internal/<a href="mailto:7006@192.168.2.190"><a href="mailto:7006@192.168.2.190">7006@192.168.2.190</a></a>] has been answered<br>>>> 2011-01-20 14:54:01.581151 [DEBUG] sofia.c:4646 Channel sofia/internal/<br>>>> <a href="mailto:7006@192.168.2.190"><a href="mailto:7006@192.168.2.190">7006@192.168.2.190</a></a> entering state [completed][200]<br>
>>> EXECUTE sofia/internal/<a href="mailto:7006@192.168.2.190"><a href="mailto:7006@192.168.2.190">7006@192.168.2.190</a></a> eavesdrop()<br>>>> 2011-01-20 14:54:01.582119 [ERR] mod_dptools.c:529 Usage: [all | <uuid>]<br>>>> 2011-01-20 14:54:01.582119 [NOTICE] switch_core_state_machine.c:189<br>
>>> sofia/internal/<a href="mailto:7006@192.168.2.190"><a href="mailto:7006@192.168.2.190">7006@192.168.2.190</a></a> has executed the last dialplan<br>>>> instruction, hanging up.<br>>>> 2011-01-20 14:54:01.582119 [DEBUG] switch_channel.c:2535 (sofia/internal/<br>
>>> <a href="mailto:7006@192.168.2.190"><a href="mailto:7006@192.168.2.190">7006@192.168.2.190</a></a>) Callstate Change ACTIVE -> HANGUP<br>>>> 2011-01-20 14:54:01.582119 [NOTICE] switch_core_state_machine.c:191<br>>>> Hangup<br>>>> sofia/internal/<a href="mailto:7006@192.168.2.190"><a href="mailto:7006@192.168.2.190">7006@192.168.2.190</a></a> [CS_EXECUTE] [NORMAL_CLEARING]<br>
>>><br>>>><br>>>> <a href="http://pastebin.freeswitch.org/15076" target="_blank"><a href="http://pastebin.freeswitch.org/15076">http://pastebin.freeswitch.org/15076</a></a><br>>>><br>>>><br>>>> Regds<br>>>> Sam<br>
>>><br>>><br>>><br>>> _______________________________________________<br>>> FreeSWITCH-users mailing list<br>>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org"><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></a><br>
>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></a><br>>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></a><br>
>> <a href="http://www.freeswitch.org/" target="_blank"><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></a><br>>><br>>><br>><br></div></div></blockquote></div><br>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users</span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br></div></blockquote></body></html>