[Freeswitch-users] Problem with mod_spy

Stefano Favaro stefano.favaro at edistar.com
Tue Feb 16 17:31:40 MSK 2016


Ok, I see .... 

so, probably the problem is that I don't have any users already defined, they are runtime registered using xml_curl on an external server . 

Is there any other similar application that I can use to do the work? I mean conference or others? 

Thanks 




Stefano Favaro 
Sviluppo Servizi ed Applicazioni 
_____________________ 



Edistar Srl 


a socio unico soggetta a direzione e coordinamento di YourVoice SpA 


Via Artigianato 1 – I – 31050 Vedelago (TV) Italy 

Phone +39 0423 7331 – Fax +39 0423 733133 

mobile: +39 3456636386 
skype: stefanofavaro 

www.edistar.com 
	

	


		


															



Le informazioni trasmesse attraverso la presente e-mail ed i suoi allegati sono dirette esclusivamente al destinatario e devono ritenersi riservate con divieto di diffusione e di uso nei giudizi salva espressa autorizzazione; nel caso di utilizzo senza espressa autorizzazione, potrà essere effettuata denuncia alla competente Autorità. La diffusione e la comunicazione da parte di soggetto diverso dal destinatario è vietata dall’art. 616 e ss. c.p. e dal d. l.vo n. 196/03. Se la presente e-mail e i suoi allegati fossero stati ricevuti per errore da persona diversa dal destinatario preghiamo di distruggere quanto ricevuto e di rinviare al mittente con lo stesso mezzo. Grazie per la collaborazione. 

This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation. 

----- Messaggio originale -----
Da: "Ítalo Rossi" <italo at freeswitch.org> 
A: "FreeSWITCH Users Help" <freeswitch-users at lists.freeswitch.org> 
Inviato: Martedì, 16 febbraio 2016 13:47:54 
Oggetto: Re: [Freeswitch-users] Problem with mod_spy 


I mean your bridge string, not userspy, instead of sofia/internal/4750 at ... just use bridge(user/4750) to DIAL to that user. Your userspy args looks good 


On Tue, Feb 16, 2016 at 5:40 AM, Stefano Favaro < stefano.favaro at edistar.com > wrote: 




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 



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 
_________________________________________________________________________ 
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/b418bbf5/attachment-0001.html 


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