Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] DTMF

Goto page 1, 2  Next
 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
yudha2008 at gmail.com
Guest





PostPosted: Sat Nov 15, 2008 8:18 am    Post subject: [Freeswitch-users] DTMF Reply with quote

Hi,

In barging if we want to pass the DTMF signals. For example in barging
  • 2 to speak with the uuid
  • 1 to speak with the other half
  • 3 to engage a three way
  • 0 to restore eavesdrop.
  • * to next channel.
I want pass these DTMF signals through event socket api uuid_send_dtmf <uuid> <dtmf_data>

i did not know what is dtfm_data

if dtmf_data is these DTMF signals values

api uuid_send_dtmf b3df12bf-35c6-4a02-abaa-770c0d7bf358 2

output:

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

-ERR no reply


I want to know what is dtmf_data?

Any one correct me to solve my problem.

--
Warm Regards,
N.Baskar
Back to top
yudha2008 at gmail.com
Guest





PostPosted: Mon Nov 17, 2008 6:36 am    Post subject: [Freeswitch-users] DTMF Reply with quote

Hi,

I want to pass the DTMF digits through api command

i find the api command api uuid_send_dtmf <uuid> <dtmf_data>

I just want to know what is <dtmf_data> what is the value to pass in that parameter


Thanks in advance
--
Warm Regards,
N.Baskar
Back to top
brian at freeswitch.org
Guest





PostPosted: Mon Nov 17, 2008 6:42 am    Post subject: [Freeswitch-users] DTMF Reply with quote

<dtmf_data> == The digits you wish to pass.

Tip... try then ask Wink


/b

On Nov 17, 2008, at 5:33 AM, Baskar wrote:
Quote:
Hi,

I want to pass the DTMF digits through api command

i find the api command api uuid_send_dtmf <uuid> <dtmf_data>

I just want to know what is <dtmf_data> what is the value to pass in that parameter


Thanks in advance
--
Warm Regards,
N.Baskar
Back to top
brian at freeswitch.org
Guest





PostPosted: Mon Nov 17, 2008 6:49 am    Post subject: [Freeswitch-users] DTMF Reply with quote

On Nov 17, 2008, at 5:44 AM, Birgit Arkesteijn wrote:

Quote:
Why don't you try it on the console and see what you get?

You're right... and this is good advice... TRY then Ask Wink Things are
simple most of the time Wink

Quote:


(Please anyone correct me if I'm wrong.)

Cheers, Birgit


_______________________________________________
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
birgit at westhawk.co.uk
Guest





PostPosted: Mon Nov 17, 2008 6:52 am    Post subject: [Freeswitch-users] DTMF Reply with quote

Hi Baskar,

I assume the dtmf_data is a string of one or more dtmf digits. So for
example:
"1" or "*123#"

Why don't you try it on the console and see what you get?

(Please anyone correct me if I'm wrong.)

Cheers, Birgit

On 17/11/08 11:33, Baskar wrote:
Quote:
Hi,

I want to pass the DTMF digits through api command

i find the api command *api uuid_send_dtmf* <*uuid*> <dtmf_data>

I just want to know what is <dtmf_data> what is the value to pass in
that parameter


Thanks in advance
--
Warm Regards,
N.Baskar

--
-- Birgit Arkesteijn, birgit@westhawk.co.uk,
-- Westhawk Ltd, Albion Wharf, 19 Albion Street, Manchester M1 5LN, UK
-- Company no: 1769350
-- Registered Office:
-- 15 London Road, Stockton Heath, Warrington WA4 6SJ. UK.
-- tel.: +44 (0)161 237 0660
-- <URL: http://www.westhawk.co.uk>

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





PostPosted: Mon Nov 17, 2008 7:07 am    Post subject: [Freeswitch-users] DTMF Reply with quote

Hi,

i have tried it before itself first i pass one digit

api uuid_send_dtmf c08f77be-fbed-44c3-a2a7-8650d88b0e33 2

output:

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

-ERR no reply

Then i passed all the values in the barging

api uuid_send_dtmf baf82956-111d-4cd8-9568-47010ac8bd20 2130*

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

-ERR no reply

Here i get only the beep sound for each values and error message as a output

Thanks for the reply and correct me where i am work

Thanks in advance.
--
Warm Regards,
N.Baskar
Back to top
yudha2008 at gmail.com
Guest





PostPosted: Tue Nov 18, 2008 12:21 am    Post subject: [Freeswitch-users] DTMF Reply with quote

Hi Brain,

I am working on DTMF signals during eavesdrop and in CONFERENCE

DTMF signal is not working through even socket api command

I tried in conference also when we manually done in softphone it work . when i press the # button it hangup and * for mute etc. it works fine but when i pass these through event socket it does not work why?????

if i pass the DTMF digits in api command it receive a beep sound but the process is not done.

i tried i n conference the output is :

api conference 3001 dtmf 15 #

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

OK sent # to 15

15 is member id
# is to hangup
but it does not get hangup through api command

In barging also same problem


api uuid_send_dtmf f7666a65-5fc4-4199-bb6c-95a5e22d4515 "3210*"

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

-ERR no reply

I get the beep sound and there is no process done

what should be done please guide me.

Thanks in advance.


--
Warm Regards,
N.Baskar
Back to top
msc at freeswitch.org
Guest





PostPosted: Tue Nov 18, 2008 12:48 am    Post subject: [Freeswitch-users] DTMF Reply with quote

On Nov 17, 2008, at 9:18 PM, Baskar <yudha2008@gmail.com (yudha2008@gmail.com)> wrote:



Quote:
Hi Brain,


Hey, the guy is smart but his name ain't Brain!
Quote:


I am working on DTMF signals during eavesdrop and in CONFERENCE

DTMF signal is not working through even socket api command

I tried in conference also when we manually done in softphone it work . when i press the # button it hangup and * for mute etc. it works fine but when i pass these through event socket it does not work why?????

if i pass the DTMF digits in api command it receive a beep sound but the process is not done.

i tried i n conference the output is :

api conference 3001 dtmf 15 #

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

OK sent # to 15

15 is member id
# is to hangup
but it does not get hangup through api command

In barging also same problem


api uuid_send_dtmf f7666a65-5fc4-4199-bb6c-95a5e22d4515 "3210*"

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

-ERR no reply

I get the beep sound and there is no process done

what should be done please guide me.

Thanks in advance.


--
Warm Regards,
N.Baskar


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





PostPosted: Tue Nov 18, 2008 6:20 am    Post subject: [Freeswitch-users] DTMF Reply with quote

Hi,

I am working on Dtmf signal on barging

I have added these line to default.xml

Quote:
<extension name="global" continue="true"> <condition> <action application="info"/>
<action application="db" data="insert/spymap/${caller_id_number}/${uuid}"/> <action application="db" data="insert/last_dial/${caller_id_number}/${destination_number}"/>
<action application="db" data="insert/last_dial/global/${uuid}"/> </condition> </extension> <extension name="eavesdrop"> <condition field="destination_number" expression="^88(.*)$|^\*0(.*)$"> <action application="answer"/> <action application="eavesdrop" data="${db(select/spymap/$1)}"/>
</condition> </extension>
i eavesdrop on extension 1003 by dialing 881003

1003 is connected to mobile no

but when i dial 881003 it get hangup

i have attached the full default.xml separately.barging is not working through default.xml

And another thing DTMF signal is not working through even socket api command

I tried in conference also when we manually done in softphone it work . when i press the # button it hangup and * for mute etc. it works fine but when i pass these through event socket it does not work why?????

if i pass the DTMF digits in api command it receive a beep sound but the process is not done.

i tried i n conference the output is :

api conference 3001 dtmf 15 #

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

OK sent # to 15

15 is member id
# is to hangup
but it does not get hangup through api command

In barging also same problem


api uuid_send_dtmf f7666a65-5fc4-4199-bb6c- 95a5e22d4515 "3210*"

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

-ERR no reply


I get the beep sound and there is no process done

what should be done please guide me.

--
Warm Regards,
N.Baskar
Back to top
brian at freeswitch.org
Guest





PostPosted: Tue Nov 18, 2008 8:16 am    Post subject: [Freeswitch-users] DTMF Reply with quote

These aren't inserting 1003 as the caller_id_number are they?

/b

On Nov 18, 2008, at 5:19 AM, Baskar wrote:

Quote:

<action application="db" data="insert/spymap/$
{caller_id_number}/${uuid}"/>
<action application="db" data="insert/last_dial/$
{caller_id_number}/${destination_number}"/>

<action application="db" data="insert/last_dial/global/$
{uuid}"/>


_______________________________________________
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
cesar at auronix.com
Guest





PostPosted: Tue Nov 18, 2008 11:12 am    Post subject: [Freeswitch-users] DTMF Reply with quote

Hi Baskar,

I’m not sure why you get the “-ERR no reply” answer since that answer is never given by the function itself.

Nevertheless the uuid_send_dtmf function sends the dtmf_data TO the uuid you enter, for what you want to achieve you need to “simulate” that the channel that is eavesdropping presses the dtmf digits, instead of receiving them.

I’ve just uploaded a patch to jira MODAPP-168 which modifies uuid_send_dtmf function to receive a third parameter, so that the new syntax is “uuid_send_dtmf <uuid> <dtmf_data> [to|from|both]” that allows you to decide if the dtmf data is sent “to” or “from” the uuid channel.

For example to achieve a three-party call after eavesdropping you would need to call:

uuid_send_dtmf <eavesdropping_uuid> 3 from

Bye.

Cesar Cepeda.

De: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] En nombre de Baskar
Enviado el: Monday, November 17, 2008 5:59 AM
Para: freeswitch-users@lists.freeswitch.org
Asunto: Re: [Freeswitch-users] DTMF



Hi,

i have tried it before itself first i pass one digit

api uuid_send_dtmf c08f77be-fbed-44c3-a2a7-8650d88b0e33 2

output:

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

-ERR no reply

Then i passed all the values in the barging

api uuid_send_dtmf baf82956-111d-4cd8-9568-47010ac8bd20 2130*

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

-ERR no reply

Here i get only the beep sound for each values and error message as a output

Thanks for the reply and correct me where i am work

Thanks in advance.
--
Warm Regards,
N.Baskar
Back to top
yudha2008 at gmail.com
Guest





PostPosted: Thu Nov 20, 2008 5:29 am    Post subject: [Freeswitch-users] DTMF Reply with quote

Hi,

I have added the line in mod_commands.c file and compiled the file by make and make install

After that i have tested the barging. i get the same error

api originate sofia/internal/1000%9841799874@172.20.176.254 (9841799874@172.20.176.254))

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

+OK e4591865-a652-4f47-a5f0-d3cb01116441
api originate sofia/internal/1002%172.20.176.31 &eavesdrop(e4591865-a652-4f47-a5f0-d3cb01116441)

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

+OK 738003e0-e90c-4816-9375-1a239b8d82a2
api uuid_send_dtmf 738003e0-e90c-4816-9375-1a239b8d82a2 3 to

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

-ERR no reply
api uuid_send_dtmf 738003e0-e90c-4816-9375-1a239b8d82a2 3 from

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

-ERR no reply
api uuid_send_dtmf 738003e0-e90c-4816-9375-1a239b8d82a2 3 both

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

-ERR no reply

i Have attached the mod_commands.c file in this mail.

can to correct me where i am wrong

--
Warm Regards,
N.Baskar
Back to top
saigop at gmail.com
Guest





PostPosted: Thu Nov 20, 2008 9:33 am    Post subject: [Freeswitch-users] DTMF Reply with quote

Hi,

I was trying this dtmf stuff for me also its not working. whenever i used to send the dtmf you know i get a beep. whats wrong?



--
Thank you with regards,
Gopal,
Back to top
saigop at gmail.com
Guest





PostPosted: Thu Nov 20, 2008 9:56 am    Post subject: [Freeswitch-users] DTMF Reply with quote

Hi,

I am using the event socket in freeswitch with audiocodes, and the client as a softphone.



--
Thank you with regards,
Gopal,
Back to top
brian at freeswitch.org
Guest





PostPosted: Thu Nov 20, 2008 10:00 am    Post subject: [Freeswitch-users] DTMF Reply with quote

Your phone must not be rendering them. I just tested this and its
working fine. X-Lite/eyeBeam

/b

On Nov 20, 2008, at 8:55 AM, Gopala krishnan wrote:

Quote:
Hi,

I am using the event socket in freeswitch with audiocodes, and the
client as a softphone.


_______________________________________________
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
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 
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