[Freeswitch-users] Problem with mod_spy

Stefano Favaro stefano.favaro at edistar.com
Tue Feb 16 11:40:43 MSK 2016


Thanks, 

I've tried with 


<extension name="eavesdrop"> 
<condition field="destination_number" expression="^88(.*)$|^\*0(.*)$"> 
<action application="answer"/> 
<action application="log" data="$1" /> 
<action application="userspy" data="user/$1"/> 
</condition> 
</extension> 

but unfortunately I have the same problem. 

SF. 

https://pastebin.freeswitch.org/24556 


----- Messaggio originale -----
Da: "Ítalo Rossi" <italo at freeswitch.org> 
A: "FreeSWITCH Users Help" <freeswitch-users at lists.freeswitch.org> 
Inviato: Lunedì, 15 febbraio 2016 20:57:29 
Oggetto: Re: [Freeswitch-users] Problem with mod_spy 


It's probably due to the way you're dialing to your user, I can see in your log this bridge command: bridge(sofia/internal/4750%myserver) 


Just try to dial bridge user/4750 it'll work if 4750 is registered with FS. 


On Mon, Feb 15, 2016 at 6:12 AM, Stefano Favaro < stefano.favaro at edistar.com > wrote: 




Thank you Italo. 

This is my log 

https://pastebin.freeswitch.org/24555 

and this is the id of my user spy call 

94bae5a0-dd2c-4d0e-99fd-8ef81e753227 

Stefano 


Da: "Ítalo Rossi" < italo at freeswitch.org > 
A: "FreeSWITCH Users Help" < freeswitch-users at lists.freeswitch.org > 
Inviato: Giovedì, 11 febbraio 2016 18:52:46 
Oggetto: Re: [Freeswitch-users] Problem with mod_spy 




Stefano, 


Can you post your debug logs (/log 7)? 


Use https://pastebin.freeswitch.org/ 


On Thu, Feb 11, 2016 at 1:33 PM, Stefano Favaro < stefano.favaro at edistar.com > wrote: 




Hello,

 I have a problem with the mod_spy module. 
It seems that it just plays music and do not actually spy.
I want to dial an extension with the number of the user I want to spy and wait for a call in or out for that user. 
Mod_spy application plays music but when a call is handled by the user I can't hear it continues to play the music on hold audio file. 

This is the dialplan:

<extension name="eavesdrop"> 
<condition field="destination_number" expression="^88(.*)$|^\*0(.*)$"> 
<action application="answer"/> 
<action application="userspy" data="$1 at myserver"/> 
</condition> 
</extension> 
If I dial 881000, for example, It means I want to spy on user 1000.
I have in and out calls from user 1000 but I can't hear. 
userspy_show in fs_cli, I get : 
1000 at myserver : e9165eaf-e8d7-40ad-a8cd-d2963f363684

1 total spy 

I have FreeSwitch version FreeSWITCH Version 1.4.26-37~64bit (-37 64bit) 

SF. 

_________________________________________________________________________ 
Professional FreeSWITCH Consulting Services: 
consulting at freeswitch.org 
http://www.freeswitchsolutions.com 

Official FreeSWITCH Sites 
http://www.freeswitch.org 
http://confluence.freeswitch.org 
http://www.cluecon.com 

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




-- 


Ítalo Rossi 
italo at freeswitch.org 
_________________________________________________________________________ 
Professional FreeSWITCH Consulting Services: 
consulting at freeswitch.org 
http://www.freeswitchsolutions.com 

Official FreeSWITCH Sites 
http://www.freeswitch.org 
http://confluence.freeswitch.org 
http://www.cluecon.com 

FreeSWITCH-users mailing list 
FreeSWITCH-users at lists.freeswitch.org 
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users 
UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users 
http://www.freeswitch.org 
_________________________________________________________________________ 
Professional FreeSWITCH Consulting Services: 
consulting at freeswitch.org 
http://www.freeswitchsolutions.com 

Official FreeSWITCH Sites 
http://www.freeswitch.org 
http://confluence.freeswitch.org 
http://www.cluecon.com 

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




-- 


Ítalo Rossi 
italo at freeswitch.org 
_________________________________________________________________________ 
Professional FreeSWITCH Consulting Services: 
consulting at freeswitch.org 
http://www.freeswitchsolutions.com 

Official FreeSWITCH Sites 
http://www.freeswitch.org 
http://confluence.freeswitch.org 
http://www.cluecon.com 

FreeSWITCH-users mailing list 
FreeSWITCH-users at lists.freeswitch.org 
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users 
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users 
http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160216/ea18c3b0/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list