Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] uuid_send_dtmf fails (was: conference call)


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
nbelov at abisoft.spb.ru
Guest





PostPosted: Fri Oct 16, 2009 11:06 am    Post subject: [Freeswitch-users] uuid_send_dtmf fails (was: conference cal Reply with quote

Yes, it is what I need. But now I have problem with sending dtmf. Here what
I've done:
[root@centos4-4-vm ~]# telnet localhost 8021
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
Content-Type: auth/request

auth ClueCon

Content-Type: command/reply
Reply-Text: +OK accepted

api originate user/1007@master.agent.starpoundtech.net &park()

Content-Type: api/response
Content-Length: 41

+OK bba3b45a-4cc1-48af-a15d-1052d5f11371

SendMsg bba3b45a-4cc1-48af-a15d-1052d5f11371
call-command: execute
execute-app-name: eavesdrop
execute-app-arg: cd99f999-9b47-457e-8439-1d366e015b8c

Content-Type: command/reply
Reply-Text: +OK

Here I had started to hear A and B. Here what I saw in FS log:
2009-10-18 03:22:47 [DEBUG] switch_core_session.c:706
switch_core_session_queue_private_event() Send signal
sofia/internal/sip:1007@172.26.10.64:5060;fs_nat=yes [BREAK]
2009-10-18 03:22:47 [DEBUG] switch_ivr.c:540 switch_ivr_parse_event()
sofia/internal/sip:1007@172.26.10.64:5060;fs_nat=yes Command Execute
eavesdrop(cd99f999-9b47-457e-8439-1d366e015b8c)
2009-10-18 03:22:47 [DEBUG] switch_core_media_bug.c:297
switch_core_media_bug_add() Attaching BUG to
sofia/internal/1006@master.agent.starpoundtech.net
2009-10-18 03:22:47 [DEBUG] switch_core_io.c:234
switch_core_session_read_frame()
sofia/internal/1006@master.agent.starpoundtech.net receive message
[TRANSCODING_NECESSARY]
2009-10-18 03:22:47 [DEBUG] switch_core_io.c:234
switch_core_session_read_frame()
sofia/internal/sip:1007@172.26.10.64:5060;fs_nat=yes receive message
[TRANSCODING_NECESSARY]

Then I run command:
api uuid_send_dtmf bba3b45a-4cc1-48af-a15d-1052d5f11371 1

Content-Type: api/response
Content-Length: 14

-ERR no reply

Log:
2009-10-18 03:24:01 [DEBUG] switch_core_io.c:1190
switch_core_session_send_dtmf_string()
sofia/internal/sip:1007@172.26.10.64:5060;fs_nat=yes send dtmf
digit=1 ms=250 samples=2000
2009-10-18 03:24:01 [DEBUG] switch_rtp.c:1282 do_2833() Send start packet
for [1] ts=2241760 dur=160/160/2000 seq=21346
2009-10-18 03:24:01 [DEBUG] switch_rtp.c:1221 do_2833() Send middle packet
for [1] ts=2241760 dur=320/320/2000 seq=21347
2009-10-18 03:24:01 [DEBUG] switch_rtp.c:1221 do_2833() Send middle packet
for [1] ts=2241760 dur=480/480/2000 seq=21348
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle packet
for [1] ts=2241760 dur=640/640/2000 seq=21349
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle packet
for [1] ts=2241760 dur=800/800/2000 seq=21350
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle packet
for [1] ts=2241760 dur=960/960/2000 seq=21351
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle packet
for [1] ts=2241760 dur=1120/1120/2000 seq=21352
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle packet
for [1] ts=2241760 dur=1280/1280/2000 seq=21353
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle packet
for [1] ts=2241760 dur=1440/1440/2000 seq=21354
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle packet
for [1] ts=2241760 dur=1600/1600/2000 seq=21355
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle packet
for [1] ts=2241760 dur=1760/1760/2000 seq=21356
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle packet
for [1] ts=2241760 dur=1920/1920/2000 seq=21357
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send end packet for
[1] ts=2241760 dur=2080/2080/2000 seq=21358
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send end packet for
[1] ts=2241760 dur=2080/2080/2000 seq=21359
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send end packet for
[1] ts=2241760 dur=2080/2080/2000 seq=21360

But both A and B couldn't hear me.
Btw, after I had send dtmf "1" manually from my phone. B started to hear me.
There was this record in log:
2009-10-18 03:47:55 [DEBUG] switch_rtp.c:1767 switch_rtp_dequeue_dtmf() RTP
RECV DTMF 1:2240

Does anybody know, what had I done wrong?

___

Thanks, Nikita

Quote:
-----Original Message-----
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-
users-bounces@lists.freeswitch.org] On Behalf Of Rupa Schomaker
Sent: Thursday, October 15, 2009 4:04 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] conference call

The wiki has a pretty good explanation of how eavesdrop works.
Enabling a talk path to A or B or both A and B requires dtmf.

So, if C hits the 1 button on the phone they can talk to the UUID you
bound the eavesdrop to. 2 talks to the other party. 3 talks to both
parties.

http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_eavesdrop

Adding more api calls to control eavesdrop via event socket should be
possible, though I haven't looked at the code to see what it would
take...

On Thu, Oct 15, 2009 at 3:16 AM, Nikita Belov <nbelov@abisoft.spb.ru>
wrote:
Quote:
Thanks for answer.



As I've understood eavesdrop allows C to hear A and B, but A and B will
not
Quote:
hear C. But in my case B SHOULD hear C. In my case A - client, B - agent
worked with client and C - coach/supervisor for B. Can I make such
conference in FS using eavesdrop or other API command?



___



Thanks, Nikita



________________________________

From: freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Joao
Mesquita
Sent: Wednesday, October 14, 2009 7:38 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] conference call



Look at eavesdrop on the wiki.

JM

2009/10/14 Nikita Belov <nbelov@abisoft.spb.ru>

HI all,



I want to configure FS to make special conference call between three
users
Quote:
(A, B, C).š In this conference C will hear A and B, but A will hear only
B.
Quote:
Can I make it using FS API commands? Does anybody know which approach is
better to use?



___



Thanks, Nikita

_______________________________________________
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



_______________________________________________
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





--
-Rupa

_______________________________________________
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



_______________________________________________
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
mike at jerris.com
Guest





PostPosted: Mon Oct 19, 2009 8:29 am    Post subject: [Freeswitch-users] uuid_send_dtmf fails (was: conference cal Reply with quote

There is an event you can send as well to switch them, it your trying
to switch it via event socket, that should be better, its not on the
wiki, but

a session message with
eavesdrop-command header with data as the same as dtmf
should do the trick

Mike


On Oct 16, 2009, at 11:54 AM, Nikita Belov wrote:

Quote:
Yes, it is what I need. But now I have problem with sending dtmf.
Here what
I've done:
[root@centos4-4-vm ~]# telnet localhost 8021
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
Content-Type: auth/request

auth ClueCon

Content-Type: command/reply
Reply-Text: +OK accepted

api originate user/1007@master.agent.starpoundtech.net &park()

Content-Type: api/response
Content-Length: 41

+OK bba3b45a-4cc1-48af-a15d-1052d5f11371

SendMsg bba3b45a-4cc1-48af-a15d-1052d5f11371
call-command: execute
execute-app-name: eavesdrop
execute-app-arg: cd99f999-9b47-457e-8439-1d366e015b8c

Content-Type: command/reply
Reply-Text: +OK

Here I had started to hear A and B. Here what I saw in FS log:
2009-10-18 03:22:47 [DEBUG] switch_core_session.c:706
switch_core_session_queue_private_event() Send signal
sofia/internal/sip:1007@172.26.10.64:5060;fs_nat=yes [BREAK]
2009-10-18 03:22:47 [DEBUG] switch_ivr.c:540 switch_ivr_parse_event()
sofia/internal/sip:1007@172.26.10.64:5060;fs_nat=yes Command Execute
eavesdrop(cd99f999-9b47-457e-8439-1d366e015b8c)
2009-10-18 03:22:47 [DEBUG] switch_core_media_bug.c:297
switch_core_media_bug_add() Attaching BUG to
sofia/internal/1006@master.agent.starpoundtech.net
2009-10-18 03:22:47 [DEBUG] switch_core_io.c:234
switch_core_session_read_frame()
sofia/internal/1006@master.agent.starpoundtech.net receive message
[TRANSCODING_NECESSARY]
2009-10-18 03:22:47 [DEBUG] switch_core_io.c:234
switch_core_session_read_frame()
sofia/internal/sip:1007@172.26.10.64:5060;fs_nat=yes receive message
[TRANSCODING_NECESSARY]

Then I run command:
api uuid_send_dtmf bba3b45a-4cc1-48af-a15d-1052d5f11371 1

Content-Type: api/response
Content-Length: 14

-ERR no reply

Log:
2009-10-18 03:24:01 [DEBUG] switch_core_io.c:1190
switch_core_session_send_dtmf_string()
sofia/internal/sip:1007@172.26.10.64:5060;fs_nat=yes send dtmf
digit=1 ms=250 samples=2000
2009-10-18 03:24:01 [DEBUG] switch_rtp.c:1282 do_2833() Send start
packet
for [1] ts=2241760 dur=160/160/2000 seq=21346
2009-10-18 03:24:01 [DEBUG] switch_rtp.c:1221 do_2833() Send middle
packet
for [1] ts=2241760 dur=320/320/2000 seq=21347
2009-10-18 03:24:01 [DEBUG] switch_rtp.c:1221 do_2833() Send middle
packet
for [1] ts=2241760 dur=480/480/2000 seq=21348
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle
packet
for [1] ts=2241760 dur=640/640/2000 seq=21349
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle
packet
for [1] ts=2241760 dur=800/800/2000 seq=21350
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle
packet
for [1] ts=2241760 dur=960/960/2000 seq=21351
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle
packet
for [1] ts=2241760 dur=1120/1120/2000 seq=21352
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle
packet
for [1] ts=2241760 dur=1280/1280/2000 seq=21353
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle
packet
for [1] ts=2241760 dur=1440/1440/2000 seq=21354
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle
packet
for [1] ts=2241760 dur=1600/1600/2000 seq=21355
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle
packet
for [1] ts=2241760 dur=1760/1760/2000 seq=21356
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle
packet
for [1] ts=2241760 dur=1920/1920/2000 seq=21357
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send end
packet for
[1] ts=2241760 dur=2080/2080/2000 seq=21358
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send end
packet for
[1] ts=2241760 dur=2080/2080/2000 seq=21359
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send end
packet for
[1] ts=2241760 dur=2080/2080/2000 seq=21360

But both A and B couldn't hear me.
Btw, after I had send dtmf "1" manually from my phone. B started to
hear me.
There was this record in log:
2009-10-18 03:47:55 [DEBUG] switch_rtp.c:1767 switch_rtp_dequeue_dtmf
() RTP
RECV DTMF 1:2240

Does anybody know, what had I done wrong?

___

Thanks, Nikita

Quote:
-----Original Message-----
From: freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-
users-bounces@lists.freeswitch.org] On Behalf Of Rupa Schomaker
Sent: Thursday, October 15, 2009 4:04 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] conference call

The wiki has a pretty good explanation of how eavesdrop works.
Enabling a talk path to A or B or both A and B requires dtmf.

So, if C hits the 1 button on the phone they can talk to the UUID you
bound the eavesdrop to. 2 talks to the other party. 3 talks to
both
parties.

http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_eavesdrop

Adding more api calls to control eavesdrop via event socket should be
possible, though I haven't looked at the code to see what it would
take...

On Thu, Oct 15, 2009 at 3:16 AM, Nikita Belov <nbelov@abisoft.spb.ru>
wrote:
Quote:
Thanks for answer.



As I've understood eavesdrop allows C to hear A and B, but A and B
will
not
Quote:
hear C. But in my case B SHOULD hear C. In my case A - client, B -
agent
worked with client and C - coach/supervisor for B. Can I make such
conference in FS using eavesdrop or other API command?



___



Thanks, Nikita



________________________________

From: freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf
Of Joao
Mesquita
Sent: Wednesday, October 14, 2009 7:38 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] conference call



Look at eavesdrop on the wiki.

JM

2009/10/14 Nikita Belov <nbelov@abisoft.spb.ru>

HI all,



I want to configure FS to make special conference call between three
users
Quote:
(A, B, C). In this conference C will hear A and B, but A will
hear only
B.
Quote:
Can I make it using FS API commands? Does anybody know which
approach is
better to use?



___



Thanks, Nikita

_______________________________________________
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



_______________________________________________
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





--
-Rupa

_______________________________________________
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



_______________________________________________
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


_______________________________________________
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
nbelov at abisoft.spb.ru
Guest





PostPosted: Mon Oct 19, 2009 10:28 am    Post subject: [Freeswitch-users] uuid_send_dtmf fails (was: conference cal Reply with quote

Thanks, Mike, for idea. But what is the syntax for this session message?
I tried this:

sendmsg e8e4f0ed-a0cc-4dff-b7e1-09eeade5df05
eavesdrop-command: 1

but it doesn't work.


Quote:
-----Original Message-----
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-
users-bounces@lists.freeswitch.org] On Behalf Of Michael Jerris
Sent: Monday, October 19, 2009 5:19 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] uuid_send_dtmf fails (was: conference
call)

There is an event you can send as well to switch them, it your trying
to switch it via event socket, that should be better, its not on the
wiki, but

a session message with
eavesdrop-command header with data as the same as dtmf
should do the trick

Mike


On Oct 16, 2009, at 11:54 AM, Nikita Belov wrote:

Quote:
Yes, it is what I need. But now I have problem with sending dtmf.
Here what
I've done:
[root@centos4-4-vm ~]# telnet localhost 8021
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
Content-Type: auth/request

auth ClueCon

Content-Type: command/reply
Reply-Text: +OK accepted

api originate user/1007@master.agent.starpoundtech.net &park()

Content-Type: api/response
Content-Length: 41

+OK bba3b45a-4cc1-48af-a15d-1052d5f11371

SendMsg bba3b45a-4cc1-48af-a15d-1052d5f11371
call-command: execute
execute-app-name: eavesdrop
execute-app-arg: cd99f999-9b47-457e-8439-1d366e015b8c

Content-Type: command/reply
Reply-Text: +OK

Here I had started to hear A and B. Here what I saw in FS log:
2009-10-18 03:22:47 [DEBUG] switch_core_session.c:706
switch_core_session_queue_private_event() Send signal
sofia/internal/sip:1007@172.26.10.64:5060;fs_nat=yes [BREAK]
2009-10-18 03:22:47 [DEBUG] switch_ivr.c:540 switch_ivr_parse_event()
sofia/internal/sip:1007@172.26.10.64:5060;fs_nat=yes Command Execute
eavesdrop(cd99f999-9b47-457e-8439-1d366e015b8c)
2009-10-18 03:22:47 [DEBUG] switch_core_media_bug.c:297
switch_core_media_bug_add() Attaching BUG to
sofia/internal/1006@master.agent.starpoundtech.net
2009-10-18 03:22:47 [DEBUG] switch_core_io.c:234
switch_core_session_read_frame()
sofia/internal/1006@master.agent.starpoundtech.net receive message
[TRANSCODING_NECESSARY]
2009-10-18 03:22:47 [DEBUG] switch_core_io.c:234
switch_core_session_read_frame()
sofia/internal/sip:1007@172.26.10.64:5060;fs_nat=yes receive message
[TRANSCODING_NECESSARY]

Then I run command:
api uuid_send_dtmf bba3b45a-4cc1-48af-a15d-1052d5f11371 1

Content-Type: api/response
Content-Length: 14

-ERR no reply

Log:
2009-10-18 03:24:01 [DEBUG] switch_core_io.c:1190
switch_core_session_send_dtmf_string()
sofia/internal/sip:1007@172.26.10.64:5060;fs_nat=yes send dtmf
digit=1 ms=250 samples=2000
2009-10-18 03:24:01 [DEBUG] switch_rtp.c:1282 do_2833() Send start
packet
for [1] ts=2241760 dur=160/160/2000 seq=21346
2009-10-18 03:24:01 [DEBUG] switch_rtp.c:1221 do_2833() Send middle
packet
for [1] ts=2241760 dur=320/320/2000 seq=21347
2009-10-18 03:24:01 [DEBUG] switch_rtp.c:1221 do_2833() Send middle
packet
for [1] ts=2241760 dur=480/480/2000 seq=21348
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle
packet
for [1] ts=2241760 dur=640/640/2000 seq=21349
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle
packet
for [1] ts=2241760 dur=800/800/2000 seq=21350
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle
packet
for [1] ts=2241760 dur=960/960/2000 seq=21351
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle
packet
for [1] ts=2241760 dur=1120/1120/2000 seq=21352
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle
packet
for [1] ts=2241760 dur=1280/1280/2000 seq=21353
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle
packet
for [1] ts=2241760 dur=1440/1440/2000 seq=21354
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle
packet
for [1] ts=2241760 dur=1600/1600/2000 seq=21355
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle
packet
for [1] ts=2241760 dur=1760/1760/2000 seq=21356
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle
packet
for [1] ts=2241760 dur=1920/1920/2000 seq=21357
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send end
packet for
[1] ts=2241760 dur=2080/2080/2000 seq=21358
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send end
packet for
[1] ts=2241760 dur=2080/2080/2000 seq=21359
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send end
packet for
[1] ts=2241760 dur=2080/2080/2000 seq=21360

But both A and B couldn't hear me.
Btw, after I had send dtmf "1" manually from my phone. B started to
hear me.
There was this record in log:
2009-10-18 03:47:55 [DEBUG] switch_rtp.c:1767 switch_rtp_dequeue_dtmf
() RTP
RECV DTMF 1:2240

Does anybody know, what had I done wrong?

___

Thanks, Nikita

Quote:
-----Original Message-----
From: freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-
users-bounces@lists.freeswitch.org] On Behalf Of Rupa Schomaker
Sent: Thursday, October 15, 2009 4:04 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] conference call

The wiki has a pretty good explanation of how eavesdrop works.
Enabling a talk path to A or B or both A and B requires dtmf.

So, if C hits the 1 button on the phone they can talk to the UUID you
bound the eavesdrop to. 2 talks to the other party. 3 talks to
both
parties.

http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_eavesdrop

Adding more api calls to control eavesdrop via event socket should be
possible, though I haven't looked at the code to see what it would
take...

On Thu, Oct 15, 2009 at 3:16 AM, Nikita Belov <nbelov@abisoft.spb.ru>
wrote:
Quote:
Thanks for answer.



As I've understood eavesdrop allows C to hear A and B, but A and B
will
not
Quote:
hear C. But in my case B SHOULD hear C. In my case A - client, B -
agent
worked with client and C - coach/supervisor for B. Can I make such
conference in FS using eavesdrop or other API command?



___



Thanks, Nikita



________________________________

From: freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf
Of Joao
Mesquita
Sent: Wednesday, October 14, 2009 7:38 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] conference call



Look at eavesdrop on the wiki.

JM

2009/10/14 Nikita Belov <nbelov@abisoft.spb.ru>

HI all,



I want to configure FS to make special conference call between three
users
Quote:
(A, B, C). In this conference C will hear A and B, but A will
hear only
B.
Quote:
Can I make it using FS API commands? Does anybody know which
approach is
better to use?



___



Thanks, Nikita

_______________________________________________
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



_______________________________________________
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





--
-Rupa

_______________________________________________
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



_______________________________________________
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


_______________________________________________
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



_______________________________________________
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
mike at jerris.com
Guest





PostPosted: Mon Oct 19, 2009 10:57 am    Post subject: [Freeswitch-users] uuid_send_dtmf fails (was: conference cal Reply with quote

You will want to use sendevent with a unique-id header and a eavesdrop-command header. Also please note you will want to use svn revision 15175 or later, I just fixed a segfault in that code.

Mike

On Oct 19, 2009, at 11:11 AM, Nikita Belov wrote:
Quote:
Thanks, Mike, for idea. But what is the syntax for this session message?
I tried this:

sendmsg e8e4f0ed-a0cc-4dff-b7e1-09eeade5df05
eavesdrop-command: 1

but it doesn't work.


Quote:
-----Original Message-----
From: freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org) [mailto:freeswitch-
users-bounces@lists.freeswitch.org] On Behalf Of Michael Jerris
Sent: Monday, October 19, 2009 5:19 PM
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Subject: Re: [Freeswitch-users] uuid_send_dtmf fails (was: conference
call)

There is an event you can send as well to switch them, it your trying
to switch it via event socket, that should be better, its not on the
wiki, but

a session message with
eavesdrop-command header with data as the same as dtmf
should do the trick

Mike


On Oct 16, 2009, at 11:54 AM, Nikita Belov wrote:

Quote:
Yes, it is what I need. But now I have problem with sending dtmf.
Quote:
Here what
Quote:
I've done:
Quote:
[root@centos4-4-vm ~]# telnet localhost 8021
Quote:
Trying 127.0.0.1...
Quote:
Connected to localhost.localdomain (127.0.0.1).
Quote:
Escape character is '^]'.
Quote:
Content-Type: auth/request
Quote:
auth ClueCon
Quote:
Content-Type: command/reply
Quote:
Reply-Text: +OK accepted
Quote:
api originate user/1007@master.agent.starpoundtech.net ([email]user/1007@master.agent.starpoundtech.net[/email]) &park()
Quote:
Content-Type: api/response
Quote:
Content-Length: 41
Quote:
+OK bba3b45a-4cc1-48af-a15d-1052d5f11371
Quote:
SendMsg bba3b45a-4cc1-48af-a15d-1052d5f11371
Quote:
call-command: execute
Quote:
execute-app-name: eavesdrop
Quote:
execute-app-arg: cd99f999-9b47-457e-8439-1d366e015b8c
Quote:
Content-Type: command/reply
Quote:
Reply-Text: +OK
Quote:
Here I had started to hear A and B. Here what I saw in FS log:
Quote:
2009-10-18 03:22:47 [DEBUG] switch_core_session.c:706
Quote:
switch_core_session_queue_private_event() Send signal
Quote:
sofia/internal/sip:1007@172.26.10.64:5060;fs_nat=yes [BREAK]
Quote:
2009-10-18 03:22:47 [DEBUG] switch_ivr.c:540 switch_ivr_parse_event()
Quote:
sofia/internal/sip:1007@172.26.10.64:5060;fs_nat=yes Command Execute
Quote:
eavesdrop(cd99f999-9b47-457e-8439-1d366e015b8c)
Quote:
2009-10-18 03:22:47 [DEBUG] switch_core_media_bug.c:297
Quote:
switch_core_media_bug_add() Attaching BUG to
Quote:
sofia/internal/1006@master.agent.starpoundtech.net ([email]sofia/internal/1006@master.agent.starpoundtech.net[/email])
Quote:
2009-10-18 03:22:47 [DEBUG] switch_core_io.c:234
Quote:
switch_core_session_read_frame()
Quote:
sofia/internal/1006@master.agent.starpoundtech.net ([email]sofia/internal/1006@master.agent.starpoundtech.net[/email]) receive message
Quote:
[TRANSCODING_NECESSARY]
Quote:
2009-10-18 03:22:47 [DEBUG] switch_core_io.c:234
Quote:
switch_core_session_read_frame()
Quote:
sofia/internal/sip:1007@172.26.10.64:5060;fs_nat=yes receive message
Quote:
[TRANSCODING_NECESSARY]
Quote:
Then I run command:
Quote:
api uuid_send_dtmf bba3b45a-4cc1-48af-a15d-1052d5f11371 1
Quote:
Content-Type: api/response
Quote:
Content-Length: 14
Quote:
-ERR no reply
Quote:
Log:
Quote:
2009-10-18 03:24:01 [DEBUG] switch_core_io.c:1190
Quote:
switch_core_session_send_dtmf_string()
Quote:
sofia/internal/sip:1007@172.26.10.64:5060;fs_nat=yes send dtmf
Quote:
digit=1 ms=250 samples=2000
Quote:
2009-10-18 03:24:01 [DEBUG] switch_rtp.c:1282 do_2833() Send start
Quote:
packet
Quote:
for [1] ts=2241760 dur=160/160/2000 seq=21346
Quote:
2009-10-18 03:24:01 [DEBUG] switch_rtp.c:1221 do_2833() Send middle
Quote:
packet
Quote:
for [1] ts=2241760 dur=320/320/2000 seq=21347
Quote:
2009-10-18 03:24:01 [DEBUG] switch_rtp.c:1221 do_2833() Send middle
Quote:
packet
Quote:
for [1] ts=2241760 dur=480/480/2000 seq=21348
Quote:
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle
Quote:
packet
Quote:
for [1] ts=2241760 dur=640/640/2000 seq=21349
Quote:
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle
Quote:
packet
Quote:
for [1] ts=2241760 dur=800/800/2000 seq=21350
Quote:
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle
Quote:
packet
Quote:
for [1] ts=2241760 dur=960/960/2000 seq=21351
Quote:
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle
Quote:
packet
Quote:
for [1] ts=2241760 dur=1120/1120/2000 seq=21352
Quote:
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle
Quote:
packet
Quote:
for [1] ts=2241760 dur=1280/1280/2000 seq=21353
Quote:
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle
Quote:
packet
Quote:
for [1] ts=2241760 dur=1440/1440/2000 seq=21354
Quote:
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle
Quote:
packet
Quote:
for [1] ts=2241760 dur=1600/1600/2000 seq=21355
Quote:
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle
Quote:
packet
Quote:
for [1] ts=2241760 dur=1760/1760/2000 seq=21356
Quote:
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle
Quote:
packet
Quote:
for [1] ts=2241760 dur=1920/1920/2000 seq=21357
Quote:
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send end
Quote:
packet for
Quote:
[1] ts=2241760 dur=2080/2080/2000 seq=21358
Quote:
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send end
Quote:
packet for
Quote:
[1] ts=2241760 dur=2080/2080/2000 seq=21359
Quote:
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send end
Quote:
packet for
Quote:
[1] ts=2241760 dur=2080/2080/2000 seq=21360
Quote:
But both A and B couldn't hear me.
Quote:
Btw, after I had send dtmf "1" manually from my phone. B started to
Quote:
hear me.
Quote:
There was this record in log:
Quote:
2009-10-18 03:47:55 [DEBUG] switch_rtp.c:1767 switch_rtp_dequeue_dtmf
Quote:
() RTP
Quote:
RECV DTMF 1:2240
Quote:
Does anybody know, what had I done wrong?
Quote:
___
Quote:
Thanks, Nikita
Quote:
Quote:
-----Original Message-----
Quote:
Quote:
From: freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)
Quote:
Quote:
[mailto:freeswitch-
Quote:
Quote:
users-bounces@lists.freeswitch.org] On Behalf Of Rupa Schomaker
Quote:
Quote:
Sent: Thursday, October 15, 2009 4:04 PM
Quote:
Quote:
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Quote:
Quote:
Subject: Re: [Freeswitch-users] conference call
Quote:
Quote:
The wiki has a pretty good explanation of how eavesdrop works.
Quote:
Quote:
Enabling a talk path to A or B or both A and B requires dtmf.
Quote:
Quote:
So, if C hits the 1 button on the phone they can talk to the UUID you
Quote:
Quote:
bound the eavesdrop to. 2 talks to the other party. 3 talks to
Quote:
Quote:
both
Quote:
Quote:
parties.
Quote:
Quote:
http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_eavesdrop
Quote:
Quote:
Adding more api calls to control eavesdrop via event socket should be
Quote:
Quote:
possible, though I haven't looked at the code to see what it would
Quote:
Quote:
take...
Quote:
Quote:
On Thu, Oct 15, 2009 at 3:16 AM, Nikita Belov <nbelov@abisoft.spb.ru (nbelov@abisoft.spb.ru)>
Quote:
Quote:
wrote:
Quote:
Quote:
Quote:
Thanks for answer.
Quote:
Quote:
Quote:
As I've understood eavesdrop allows C to hear A and B, but A and B
Quote:
Quote:
Quote:
will
Quote:
Quote:
not
Quote:
Quote:
Quote:
hear C. But in my case B SHOULD hear C. In my case A - client, B -
Quote:
Quote:
Quote:
agent
Quote:
Quote:
Quote:
worked with client and C - coach/supervisor for B. Can I make such
Quote:
Quote:
Quote:
conference in FS using eavesdrop or other API command?
Quote:
Quote:
Quote:
___
Quote:
Quote:
Quote:
Thanks, Nikita
Quote:
Quote:
Quote:
________________________________
Quote:
Quote:
Quote:
From: freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)
Quote:
Quote:
Quote:
[mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf
Quote:
Quote:
Quote:
Of Joao
Quote:
Quote:
Quote:
Mesquita
Quote:
Quote:
Quote:
Sent: Wednesday, October 14, 2009 7:38 PM
Quote:
Quote:
Quote:
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Quote:
Quote:
Quote:
Subject: Re: [Freeswitch-users] conference call
Quote:
Quote:
Quote:
Look at eavesdrop on the wiki.
Quote:
Quote:
Quote:
JM
Quote:
Quote:
Quote:
2009/10/14 Nikita Belov <nbelov@abisoft.spb.ru (nbelov@abisoft.spb.ru)>
Quote:
Quote:
Quote:
HI all,
Quote:
Quote:
Quote:
I want to configure FS to make special conference call between three
Quote:
Quote:
users
Quote:
Quote:
Quote:
(A, B, C). In this conference C will hear A and B, but A will
Quote:
Quote:
Quote:
hear only
Quote:
Quote:
B.
Quote:
Quote:
Quote:
Can I make it using FS API commands? Does anybody know which
Quote:
Quote:
Quote:
approach is
Quote:
Quote:
Quote:
better to use?
Quote:
Quote:
Quote:
___
Quote:
Quote:
Quote:
Thanks, Nikita
Quote:
Quote:
Quote:
_______________________________________________
Quote:
Quote:
Quote:
FreeSWITCH-users mailing list
Quote:
Quote:
Quote:
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
Quote:
Quote:
Quote:
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
Quote:
Quote:
Quote:
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-
Quote:
Quote:
Quote:
users
Quote:
Quote:
Quote:
http://www.freeswitch.org
Quote:
Quote:
Quote:
_______________________________________________
Quote:
Quote:
Quote:
FreeSWITCH-users mailing list
Quote:
Quote:
Quote:
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
Quote:
Quote:
Quote:
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
Quote:
Quote:
Quote:
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-
Quote:
Quote:
Quote:
users
Quote:
Quote:
Quote:
http://www.freeswitch.org
Quote:
Quote:
--
Quote:
Quote:
-Rupa
Quote:
Quote:
_______________________________________________
Quote:
Quote:
FreeSWITCH-users mailing list
Quote:
Quote:
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
Quote:
Quote:
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
Quote:
Quote:
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-
Quote:
Quote:
users
Quote:
Quote:
http://www.freeswitch.org
Quote:
_______________________________________________
Quote:
FreeSWITCH-users mailing list
Quote:
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
Quote:
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
Quote:
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-
Quote:
users
Quote:
http://www.freeswitch.org


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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



_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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
nbelov at abisoft.spb.ru
Guest





PostPosted: Mon Oct 19, 2009 11:51 am    Post subject: [Freeswitch-users] uuid_send_dtmf fails (was: conference cal Reply with quote

And what event name to use for sendevent command? Sorry for importunity.
sendevent ???
Unique-ID: b9d6a35c-ee0c-4203-8d65-ed816e0a9c19
eavesdrop-command: 1


From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Jerris
Sent: Monday, October 19, 2009 7:34 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] uuid_send_dtmf fails (was: conference call)


You will want to use sendevent with a unique-id header and a eavesdrop-command header. Also please note you will want to use svn revision 15175 or later, I just fixed a segfault in that code.


Mike


On Oct 19, 2009, at 11:11 AM, Nikita Belov wrote:




Thanks, Mike, for idea. But what is the syntax for this session message?
I tried this:

sendmsg e8e4f0ed-a0cc-4dff-b7e1-09eeade5df05
eavesdrop-command: 1

but it doesn't work.




-----Original Message-----
Quote:

From: freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org) [mailto:freeswitch-
users-bounces@lists.freeswitch.org] On Behalf Of Michael Jerris
Sent: Monday, October 19, 2009 5:19 PM
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Subject: Re: [Freeswitch-users] uuid_send_dtmf fails (was: conference
call)

There is an event you can send as well to switch them, it your trying
to switch it via event socket, that should be better, its not on the
wiki, but

a session message with
eavesdrop-command header with data as the same as dtmf
should do the trick

Mike


On Oct 16, 2009, at 11:54 AM, Nikita Belov wrote:
Quote:

Yes, it is what I need. But now I have problem with sending dtmf.
Quote:

Here what
Quote:

I've done:
Quote:

[root@centos4-4-vm ~]# telnet localhost 8021
Quote:

Trying 127.0.0.1...
Quote:

Connected to localhost.localdomain (127.0.0.1).
Quote:

Escape character is '^]'.
Quote:

Content-Type: auth/request
Quote:

auth ClueCon
Quote:

Content-Type: command/reply
Quote:

Reply-Text: +OK accepted
Quote:

api originate user/1007@master.agent.starpoundtech.net ([email]user/1007@master.agent.starpoundtech.net[/email]) &park()
Quote:

Content-Type: api/response
Quote:

Content-Length: 41
Quote:

+OK bba3b45a-4cc1-48af-a15d-1052d5f11371
Quote:

SendMsg bba3b45a-4cc1-48af-a15d-1052d5f11371
Quote:

call-command: execute
Quote:

execute-app-name: eavesdrop
Quote:

execute-app-arg: cd99f999-9b47-457e-8439-1d366e015b8c
Quote:

Content-Type: command/reply
Quote:

Reply-Text: +OK
Quote:

Here I had started to hear A and B. Here what I saw in FS log:
Quote:

2009-10-18 03:22:47 [DEBUG] switch_core_session.c:706
Quote:

switch_core_session_queue_private_event() Send signal
Quote:

sofia/internal/sip:1007@172.26.10.64:5060;fs_nat=yes [BREAK]
Quote:

2009-10-18 03:22:47 [DEBUG] switch_ivr.c:540 switch_ivr_parse_event()
Quote:

sofia/internal/sip:1007@172.26.10.64:5060;fs_nat=yes Command Execute
Quote:

eavesdrop(cd99f999-9b47-457e-8439-1d366e015b8c)
Quote:

2009-10-18 03:22:47 [DEBUG] switch_core_media_bug.c:297
Quote:

switch_core_media_bug_add() Attaching BUG to
Quote:

sofia/internal/1006@master.agent.starpoundtech.net ([email]sofia/internal/1006@master.agent.starpoundtech.net[/email])
Quote:

2009-10-18 03:22:47 [DEBUG] switch_core_io.c:234
Quote:

switch_core_session_read_frame()
Quote:

sofia/internal/1006@master.agent.starpoundtech.net ([email]sofia/internal/1006@master.agent.starpoundtech.net[/email]) receive message
Quote:

[TRANSCODING_NECESSARY]
Quote:

2009-10-18 03:22:47 [DEBUG] switch_core_io.c:234
Quote:

switch_core_session_read_frame()
Quote:

sofia/internal/sip:1007@172.26.10.64:5060;fs_nat=yes receive message
Quote:

[TRANSCODING_NECESSARY]
Quote:

Then I run command:
Quote:

api uuid_send_dtmf bba3b45a-4cc1-48af-a15d-1052d5f11371 1
Quote:

Content-Type: api/response
Quote:

Content-Length: 14
Quote:

-ERR no reply
Quote:

Log:
Quote:

2009-10-18 03:24:01 [DEBUG] switch_core_io.c:1190
Quote:

switch_core_session_send_dtmf_string()
Quote:

sofia/internal/sip:1007@172.26.10.64:5060;fs_nat=yes send dtmf
Quote:

digit=1 ms=250 samples=2000
Quote:

2009-10-18 03:24:01 [DEBUG] switch_rtp.c:1282 do_2833() Send start
Quote:

packet
Quote:

for [1] ts=2241760 dur=160/160/2000 seq=21346
Quote:

2009-10-18 03:24:01 [DEBUG] switch_rtp.c:1221 do_2833() Send middle
Quote:

packet
Quote:

for [1] ts=2241760 dur=320/320/2000 seq=21347
Quote:

2009-10-18 03:24:01 [DEBUG] switch_rtp.c:1221 do_2833() Send middle
Quote:

packet
Quote:

for [1] ts=2241760 dur=480/480/2000 seq=21348
Quote:

2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle
Quote:

packet
Quote:

for [1] ts=2241760 dur=640/640/2000 seq=21349
Quote:

2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle
Quote:

packet
Quote:

for [1] ts=2241760 dur=800/800/2000 seq=21350
Quote:

2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle
Quote:

packet
Quote:

for [1] ts=2241760 dur=960/960/2000 seq=21351
Quote:

2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle
Quote:

packet
Quote:

for [1] ts=2241760 dur=1120/1120/2000 seq=21352
Quote:

2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle
Quote:

packet
Quote:

for [1] ts=2241760 dur=1280/1280/2000 seq=21353
Quote:

2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle
Quote:

packet
Quote:

for [1] ts=2241760 dur=1440/1440/2000 seq=21354
Quote:

2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle
Quote:

packet
Quote:

for [1] ts=2241760 dur=1600/1600/2000 seq=21355
Quote:

2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle
Quote:

packet
Quote:

for [1] ts=2241760 dur=1760/1760/2000 seq=21356
Quote:

2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle
Quote:

packet
Quote:

for [1] ts=2241760 dur=1920/1920/2000 seq=21357
Quote:

2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send end
Quote:

packet for
Quote:

[1] ts=2241760 dur=2080/2080/2000 seq=21358
Quote:

2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send end
Quote:

packet for
Quote:

[1] ts=2241760 dur=2080/2080/2000 seq=21359
Quote:

2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send end
Quote:

packet for
Quote:

[1] ts=2241760 dur=2080/2080/2000 seq=21360
Quote:

But both A and B couldn't hear me.
Quote:

Btw, after I had send dtmf "1" manually from my phone. B started to
Quote:

hear me.
Quote:

There was this record in log:
Quote:

2009-10-18 03:47:55 [DEBUG] switch_rtp.c:1767 switch_rtp_dequeue_dtmf
Quote:

() RTP
Quote:

RECV DTMF 1:2240
Quote:

Does anybody know, what had I done wrong?
Quote:

___
Quote:

Thanks, Nikita
Quote:
Quote:

-----Original Message-----
Quote:
Quote:

From: freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)
Quote:
Quote:

[mailto:freeswitch-
Quote:
Quote:

users-bounces@lists.freeswitch.org] On Behalf Of Rupa Schomaker
Quote:
Quote:

Sent: Thursday, October 15, 2009 4:04 PM
Quote:
Quote:

To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Quote:
Quote:

Subject: Re: [Freeswitch-users] conference call
Quote:
Quote:

The wiki has a pretty good explanation of how eavesdrop works.
Quote:
Quote:

Enabling a talk path to A or B or both A and B requires dtmf.
Quote:
Quote:

So, if C hits the 1 button on the phone they can talk to the UUID you
Quote:
Quote:

bound the eavesdrop to. 2 talks to the other party. 3 talks to
Quote:
Quote:

both
Quote:
Quote:

parties.
Quote:
Quote:

http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_eavesdrop
Quote:
Quote:

Adding more api calls to control eavesdrop via event socket should be
Quote:
Quote:

possible, though I haven't looked at the code to see what it would
Quote:
Quote:

take...
Quote:
Quote:

On Thu, Oct 15, 2009 at 3:16 AM, Nikita Belov <nbelov@abisoft.spb.ru (nbelov@abisoft.spb.ru)>
Quote:
Quote:

wrote:
Quote:
Quote:
Quote:

Thanks for answer.
Quote:
Quote:
Quote:

As I've understood eavesdrop allows C to hear A and B, but A and B
Quote:
Quote:
Quote:

will
Quote:
Quote:

not
Quote:
Quote:
Quote:

hear C. But in my case B SHOULD hear C. In my case A - client, B -
Quote:
Quote:
Quote:

agent
Quote:
Quote:
Quote:

worked with client and C - coach/supervisor for B. Can I make such
Quote:
Quote:
Quote:

conference in FS using eavesdrop or other API command?
Quote:
Quote:
Quote:

___
Quote:
Quote:
Quote:

Thanks, Nikita
Quote:
Quote:
Quote:

________________________________
Quote:
Quote:
Quote:

From: freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)
Quote:
Quote:
Quote:

[mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf
Quote:
Quote:
Quote:

Of Joao
Quote:
Quote:
Quote:

Mesquita
Quote:
Quote:
Quote:

Sent: Wednesday, October 14, 2009 7:38 PM
Quote:
Quote:
Quote:

To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Quote:
Quote:
Quote:

Subject: Re: [Freeswitch-users] conference call
Quote:
Quote:
Quote:

Look at eavesdrop on the wiki.
Quote:
Quote:
Quote:

JM
Quote:
Quote:
Quote:

2009/10/14 Nikita Belov <nbelov@abisoft.spb.ru (nbelov@abisoft.spb.ru)>
Quote:
Quote:
Quote:

HI all,
Quote:
Quote:
Quote:

I want to configure FS to make special conference call between three
Quote:
Quote:

users
Quote:
Quote:
Quote:

(A, B, C). In this conference C will hear A and B, but A will
Quote:
Quote:
Quote:

hear only
Quote:
Quote:

B.
Quote:
Quote:
Quote:

Can I make it using FS API commands? Does anybody know which
Quote:
Quote:
Quote:

approach is
Quote:
Quote:
Quote:

better to use?
Quote:
Quote:
Quote:

___
Quote:
Quote:
Quote:

Thanks, Nikita
Quote:
Quote:
Quote:

_______________________________________________
Quote:
Quote:
Quote:

FreeSWITCH-users mailing list
Quote:
Quote:
Quote:

FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
Quote:
Quote:
Quote:

http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
Quote:
Quote:
Quote:

UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-
Quote:
Quote:
Quote:

users
Quote:
Quote:
Quote:

http://www.freeswitch.org
Quote:
Quote:
Quote:

_______________________________________________
Quote:
Quote:
Quote:

FreeSWITCH-users mailing list
Quote:
Quote:
Quote:

FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
Quote:
Quote:
Quote:

http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
Quote:
Quote:
Quote:

UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-
Quote:
Quote:
Quote:

users
Quote:
Quote:
Quote:

http://www.freeswitch.org
Quote:
Quote:

--
Quote:
Quote:

-Rupa
Quote:
Quote:

_______________________________________________
Quote:
Quote:

FreeSWITCH-users mailing list
Quote:
Quote:

FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
Quote:
Quote:

http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
Quote:
Quote:

UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-
Quote:
Quote:

users
Quote:
Quote:

http://www.freeswitch.org
Quote:

_______________________________________________
Quote:

FreeSWITCH-users mailing list
Quote:

FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
Quote:

http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
Quote:

UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-
Quote:

users
Quote:

http://www.freeswitch.org



_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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




_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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
brian at freeswitch.org
Guest





PostPosted: Mon Oct 19, 2009 12:08 pm    Post subject: [Freeswitch-users] uuid_send_dtmf fails (was: conference cal Reply with quote

Please review this:

http://wiki.freeswitch.org/wiki/Mod_event_socket#sendmsg

SendMsg <uuid>
call-command: execute
execute-app-name: <one of the applications>
execute-app-arg: <application data>



/b

On Oct 19, 2009, at 11:42 AM, Nikita Belov wrote:

Quote:
And what event name to use for sendevent command? Sorry for
importunity.
sendevent ???
Unique-ID: b9d6a35c-ee0c-4203-8d65-ed816e0a9c19
eavesdrop-command: 1



_______________________________________________
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
nbelov at abisoft.spb.ru
Guest





PostPosted: Mon Oct 19, 2009 12:44 pm    Post subject: [Freeswitch-users] uuid_send_dtmf fails (was: conference cal Reply with quote

Yeah. I'm using it for starting eavesdrop:
SendMsg cced4b9a-b6de-4be1-8c12-3d18cc6e8454
call-command: execute
execute-app-name: eavesdrop
execute-app-arg: 723f3dbb-b87b-4cd4-98fc-698eed7f2bdb

But we are discussing how to switch eavesdrop to allow "spy" to speak with
one of the sides. Do you know any application which can I use for this? Mike
said I should use sendevent command to control eavesdrop, but I still
confused how can I do it.

Quote:
-----Original Message-----
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-
users-bounces@lists.freeswitch.org] On Behalf Of Brian West
Sent: Monday, October 19, 2009 8:59 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] uuid_send_dtmf fails (was: conference
call)

Please review this:

http://wiki.freeswitch.org/wiki/Mod_event_socket#sendmsg

SendMsg <uuid>
call-command: execute
execute-app-name: <one of the applications>
execute-app-arg: <application data>



/b

On Oct 19, 2009, at 11:42 AM, Nikita Belov wrote:

Quote:
And what event name to use for sendevent command? Sorry for
importunity.
sendevent ???
Unique-ID: b9d6a35c-ee0c-4203-8d65-ed816e0a9c19
eavesdrop-command: 1



_______________________________________________
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



_______________________________________________
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
dujinfang at gmail.com
Guest





PostPosted: Mon Oct 19, 2009 7:49 pm    Post subject: [Freeswitch-users] uuid_send_dtmf fails (was: conference cal Reply with quote

not sure about this, but did you try send dtmf to uuid   723f3dbb-b87b-4cd4-98fc-698eed7f2bdb other than cced4b9a-b6de-4be1-8c12-
Quote:
3d18cc6e8454 ?



2009/10/20 Nikita Belov <nbelov@abisoft.spb.ru (nbelov@abisoft.spb.ru)>
Quote:
Yeah. I'm using it for starting eavesdrop:
SendMsg cced4b9a-b6de-4be1-8c12-3d18cc6e8454
call-command: execute
execute-app-name: eavesdrop
execute-app-arg: 723f3dbb-b87b-4cd4-98fc-698eed7f2bdb

But we are discussing how to switch eavesdrop to allow "spy" to speak with
one of the sides. Do you know any application which can I use for this? Mike
said I should use sendevent command to control eavesdrop, but I still
confused how can I do it.

Quote:
-----Original Message-----
From: freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org) [mailto:freeswitch- ([email]freeswitch-[/email])

Quote:
users-bounces@lists.freeswitch.org (users-bounces@lists.freeswitch.org)] On Behalf Of Brian West
Sent: Monday, October 19, 2009 8:59 PM
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Subject: Re: [Freeswitch-users] uuid_send_dtmf fails (was: conference
call)



Quote:
Please review this:

http://wiki.freeswitch.org/wiki/Mod_event_socket#sendmsg

SendMsg <uuid>
call-command: execute
execute-app-name: <one of the applications>
execute-app-arg: <application data>



/b

On Oct 19, 2009, at 11:42 AM, Nikita Belov wrote:

Quote:
And what event name to use for sendevent command? Sorry for
importunity.
sendevent ???
Unique-ID: b9d6a35c-ee0c-4203-8d65-ed816e0a9c19
eavesdrop-command: 1



_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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



_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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
brian at freeswitch.org
Guest





PostPosted: Mon Oct 19, 2009 8:03 pm    Post subject: [Freeswitch-users] uuid_send_dtmf fails (was: conference cal Reply with quote

OK what makes you think it failed? The fact you don't hear it?

/b

On Oct 19, 2009, at 7:41 PM, Seven Du wrote:
Quote:
not sure about this, but did you try send dtmf to uuid 723f3dbb-b87b-4cd4-98fc-698eed7f2bdb other than cced4b9a-b6de-4be1-8c12-
Quote:
3d18cc6e8454 ?

Back to top
nbelov at abisoft.spb.ru
Guest





PostPosted: Tue Oct 20, 2009 7:02 am    Post subject: [Freeswitch-users] uuid_send_dtmf fails (was: conference cal Reply with quote

Yeah. A call to B and C eavesdrops call. I send dtmf for C to talk with B, but B can’t hear C. Here, what I had done in details:

[root@centos4-4-vm ~]# telnet localhost 8021 Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
Content-Type: auth/request

auth ClueCon

Content-Type: command/reply
Reply-Text: +OK accepted

api originate user/1007@master.agent.starpoundtech.net &park()

Content-Type: api/response
Content-Length: 41

+OK bba3b45a-4cc1-48af-a15d-1052d5f11371

SendMsg bba3b45a-4cc1-48af-a15d-1052d5f11371
call-command: execute
execute-app-name: eavesdrop
execute-app-arg: cd99f999-9b47-457e-8439-1d366e015b8c

Content-Type: command/reply
Reply-Text: +OK

Here I had started to hear A and B. Here what I saw in FS log:
2009-10-18 03:22:47 [DEBUG] switch_core_session.c:706
switch_core_session_queue_private_event() Send signal sofia/internal/sip:1007@172.26.10.64:5060;fs_nat=yes [BREAK]
2009-10-18 03:22:47 [DEBUG] switch_ivr.c:540 switch_ivr_parse_event() sofia/internal/sip:1007@172.26.10.64:5060;fs_nat=yes Command Execute
eavesdrop(cd99f999-9b47-457e-8439-1d366e015b8c)
2009-10-18 03:22:47 [DEBUG] switch_core_media_bug.c:297
switch_core_media_bug_add() Attaching BUG to sofia/internal/1006@master.agent.starpoundtech.net
2009-10-18 03:22:47 [DEBUG] switch_core_io.c:234
switch_core_session_read_frame()
sofia/internal/1006@master.agent.starpoundtech.net receive message [TRANSCODING_NECESSARY]
2009-10-18 03:22:47 [DEBUG] switch_core_io.c:234
switch_core_session_read_frame()
sofia/internal/sip:1007@172.26.10.64:5060;fs_nat=yes receive message [TRANSCODING_NECESSARY]

Then I run command:
api uuid_send_dtmf bba3b45a-4cc1-48af-a15d-1052d5f11371 1

Content-Type: api/response
Content-Length: 14

-ERR no reply

Log:
2009-10-18 03:24:01 [DEBUG] switch_core_io.c:1190
switch_core_session_send_dtmf_string()
sofia/internal/sip:1007@172.26.10.64:5060;fs_nat=yes send dtmf
digit=1 ms=250 samples=2000
2009-10-18 03:24:01 [DEBUG] switch_rtp.c:1282 do_2833() Send start packet for [1] ts=2241760 dur=160/160/2000 seq=21346
2009-10-18 03:24:01 [DEBUG] switch_rtp.c:1221 do_2833() Send middle packet for [1] ts=2241760 dur=320/320/2000 seq=21347
2009-10-18 03:24:01 [DEBUG] switch_rtp.c:1221 do_2833() Send middle packet for [1] ts=2241760 dur=480/480/2000 seq=21348
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle packet for [1] ts=2241760 dur=640/640/2000 seq=21349
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle packet for [1] ts=2241760 dur=800/800/2000 seq=21350
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle packet for [1] ts=2241760 dur=960/960/2000 seq=21351
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle packet for [1] ts=2241760 dur=1120/1120/2000 seq=21352
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle packet for [1] ts=2241760 dur=1280/1280/2000 seq=21353
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle packet for [1] ts=2241760 dur=1440/1440/2000 seq=21354
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle packet for [1] ts=2241760 dur=1600/1600/2000 seq=21355
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle packet for [1] ts=2241760 dur=1760/1760/2000 seq=21356
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send middle packet for [1] ts=2241760 dur=1920/1920/2000 seq=21357
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send end packet for [1] ts=2241760 dur=2080/2080/2000 seq=21358
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send end packet for [1] ts=2241760 dur=2080/2080/2000 seq=21359
2009-10-18 03:24:02 [DEBUG] switch_rtp.c:1221 do_2833() Send end packet for [1] ts=2241760 dur=2080/2080/2000 seq=21360

But both A and B couldn't hear me.
Btw, after I had send dtmf "1" manually from my phone. B started to hear me.
There was this record in log:
2009-10-18 03:47:55 [DEBUG] switch_rtp.c:1767 switch_rtp_dequeue_dtmf() RTP RECV DTMF 1:2240





From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West
Sent: Tuesday, October 20, 2009 4:54 AM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] uuid_send_dtmf fails (was: conference call)


OK what makes you think it failed? The fact you don't hear it?


/b
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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

VoiceMeUp - Corporate & Wholesale VoIP Services