VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
stefano.favaro at edis... Guest
|
Posted: Thu Feb 11, 2016 11:35 am Post subject: [Freeswitch-users] Problem with mod_spy |
|
|
Quote: | 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@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@myserver : e9165eaf-e8d7-40ad-a8cd-d2963f363684
1 total spyI have FreeSwitch version FreeSWITCH Version 1.4.26-37~64bit (-37 64bit) | SF. |
|
Back to top |
|
|
italo at freeswitch.org Guest
|
|
Back to top |
|
|
stefano.favaro at edis... Guest
|
|
Back to top |
|
|
italo at freeswitch.org Guest
|
Posted: Mon Feb 15, 2016 2:58 pm Post subject: [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@edistar.com (stefano.favaro@edistar.com)> wrote:
--
Ítalo Rossiitalo@freeswitch.org (italo@freeswitch.org) |
|
Back to top |
|
|
stefano.favaro at edis... Guest
|
|
Back to top |
|
|
italo at freeswitch.org Guest
|
Posted: Tue Feb 16, 2016 7:49 am Post subject: [Freeswitch-users] Problem with mod_spy |
|
|
I mean your bridge string, not userspy, instead of sofia/internal/4750@... 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@edistar.com (stefano.favaro@edistar.com)> wrote:
--
Ítalo Rossiitalo@freeswitch.org (italo@freeswitch.org) |
|
Back to top |
|
|
stefano.favaro at edis... Guest
|
Posted: Tue Feb 16, 2016 9:33 am Post subject: [Freeswitch-users] Problem with mod_spy |
|
|
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.
Da: "Ítalo Rossi" <italo@freeswitch.org>
A: "FreeSWITCH Users Help" <freeswitch-users@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@... 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@edistar.com (stefano.favaro@edistar.com)> wrote:
--
Ítalo Rossiitalo@freeswitch.org (italo@freeswitch.org)
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|