VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
nbelov at abisoft.spb.ru Guest
|
Posted: Fri Oct 16, 2009 11:06 am Post subject: [Freeswitch-users] uuid_send_dtmf fails (was: conference cal |
|
|
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.
--
-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
|
Posted: Mon Oct 19, 2009 8:29 am Post subject: [Freeswitch-users] uuid_send_dtmf fails (was: conference cal |
|
|
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.
--
-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
|
Posted: Mon Oct 19, 2009 10:28 am Post subject: [Freeswitch-users] uuid_send_dtmf fails (was: conference cal |
|
|
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.
--
-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
|
Posted: Mon Oct 19, 2009 10:57 am Post subject: [Freeswitch-users] uuid_send_dtmf fails (was: conference cal |
|
|
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: | [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: | 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: | 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: | 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: | 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: | 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: | 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: | 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: | 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: | 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: | 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: | 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: | 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: | 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: | 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: | 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: | [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: | [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: | [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: | There was this record in log:
|
Quote: | 2009-10-18 03:47:55 [DEBUG] switch_rtp.c:1767 switch_rtp_dequeue_dtmf
|
Quote: | Does anybody know, what had I done wrong?
|
Quote: | Quote: | -----Original Message-----
|
|
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: | 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: | 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: | 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: | hear C. But in my case B SHOULD hear C. In my case A - client, B -
|
|
|
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: | [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf
|
|
|
Quote: | Quote: | Quote: | Sent: Wednesday, October 14, 2009 7:38 PM
|
|
|
Quote: | Quote: | Quote: | Subject: Re: [Freeswitch-users] conference call
|
|
|
Quote: | Quote: | Quote: | Look at eavesdrop on the wiki.
|
|
|
Quote: | Quote: | Quote: | I want to configure FS to make special conference call between three
|
|
|
Quote: | Quote: | Quote: | (A, B, C). In this conference C will hear A and B, but A will
|
|
|
Quote: | Quote: | Quote: | Can I make it using FS API commands? Does anybody know which
|
|
|
Quote: | Quote: | Quote: | _______________________________________________
|
|
|
Quote: | Quote: | Quote: | FreeSWITCH-users mailing list
|
|
|
Quote: | Quote: | Quote: | UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-
|
|
|
Quote: | Quote: | Quote: | _______________________________________________
|
|
|
Quote: | Quote: | Quote: | FreeSWITCH-users mailing list
|
|
|
Quote: | Quote: | Quote: | UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-
|
|
|
Quote: | Quote: | _______________________________________________
|
|
Quote: | Quote: | FreeSWITCH-users mailing list
|
|
Quote: | Quote: | UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-
|
|
Quote: | _______________________________________________
|
Quote: | FreeSWITCH-users mailing list
|
Quote: | UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-
|
_______________________________________________
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
|
Posted: Mon Oct 19, 2009 11:51 am Post subject: [Freeswitch-users] uuid_send_dtmf fails (was: conference cal |
|
|
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: |
[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: |
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: |
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: |
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: |
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: |
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: |
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: |
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: |
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: |
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: |
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: |
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: |
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: |
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: |
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: |
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: |
[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: |
[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: |
[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: |
There was this record in log: | Quote: |
2009-10-18 03:47:55 [DEBUG] switch_rtp.c:1767 switch_rtp_dequeue_dtmf | Quote: |
Does anybody know, what had I done wrong? | Quote: | Quote: |
-----Original Message----- | | Quote: | Quote: |
[mailto:freeswitch- | | Quote: | Quote: |
Sent: Thursday, October 15, 2009 4:04 PM | | 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: |
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: | 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: |
hear C. But in my case B SHOULD hear C. In my case A - client, B - | | | 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: |
[mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf | | | Quote: | Quote: | Quote: |
Sent: Wednesday, October 14, 2009 7:38 PM | | | Quote: | Quote: | Quote: |
Subject: Re: [Freeswitch-users] conference call | | | Quote: | Quote: | Quote: |
Look at eavesdrop on the wiki. | | | Quote: | Quote: | Quote: |
I want to configure FS to make special conference call between three | | | Quote: | Quote: | Quote: |
(A, B, C). In this conference C will hear A and B, but A will | | | Quote: | Quote: | Quote: |
Can I make it using FS API commands? Does anybody know which | | | Quote: | Quote: | Quote: |
_______________________________________________ | | | Quote: | Quote: | Quote: |
FreeSWITCH-users mailing list | | | Quote: | Quote: | Quote: |
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- | | | Quote: | Quote: | Quote: |
_______________________________________________ | | | Quote: | Quote: | Quote: |
FreeSWITCH-users mailing list | | | Quote: | Quote: | Quote: |
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- | | | Quote: | Quote: |
_______________________________________________ | | Quote: | Quote: |
FreeSWITCH-users mailing list | | Quote: | Quote: |
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- | | Quote: |
_______________________________________________ | Quote: |
FreeSWITCH-users mailing list | Quote: |
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- |
_______________________________________________
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
|
|
Back to top |
|
|
nbelov at abisoft.spb.ru Guest
|
Posted: Mon Oct 19, 2009 12:44 pm Post subject: [Freeswitch-users] uuid_send_dtmf fails (was: conference cal |
|
|
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.
_______________________________________________
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
|
Posted: Mon Oct 19, 2009 7:49 pm Post subject: [Freeswitch-users] uuid_send_dtmf fails (was: conference cal |
|
|
not sure about this, but did you try send dtmf to uuid 723f3dbb-b87b-4cd4-98fc-698eed7f2bdb other than cced4b9a-b6de-4be1-8c12-
2009/10/20 Nikita Belov <nbelov@abisoft.spb.ru (nbelov@abisoft.spb.ru)>
|
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Mon Oct 19, 2009 8:03 pm Post subject: [Freeswitch-users] uuid_send_dtmf fails (was: conference cal |
|
|
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-
|
|
|
Back to top |
|
|
nbelov at abisoft.spb.ru Guest
|
Posted: Tue Oct 20, 2009 7:02 am Post subject: [Freeswitch-users] uuid_send_dtmf fails (was: conference cal |
|
|
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 |
|
|
|
|
|
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
|