Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] DTMF

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





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

Quote:
Is there any dtmf setting that needs to be changed in the eyebeam phone?



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





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

And also forgot to say one thing, I am using event socket.

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





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

I dont understand, can you please brief me?



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





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

you have to remember that just because you send DTMF to a phone via
RTP or SIP INFO the phone doesn't have to render them. The best way
to test this is with an ATA since it will render the tones most
likely. Many ip phones do NOT render the tones to the speaker.

/b

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

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?




_______________________________________________
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
brian at freeswitch.org
Guest





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

It worked by default on mine... I'm on the Mac version of eyeBeam.

/b

On Nov 20, 2008, at 9:03 AM, Gopala krishnan wrote:

Quote:
Is there any dtmf setting that needs to be changed in the eyebeam
phone?


_______________________________________________
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
brian at freeswitch.org
Guest





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

Doesn't matter.. the api call is the same via event socket or cli.
(as in they call the exact same code with NO differences)

/b

On Nov 20, 2008, at 9:07 AM, Gopala krishnan wrote:

Quote:
And also forgot to say one thing, I am using event socket.

--
Thank you with regards,
Gopal,

___________


_______________________________________________
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: Thu Nov 20, 2008 11:41 am    Post subject: [Freeswitch-users] DTMF Reply with quote

I’m not able to compile FS where I am, but the “-ERR no reply” response is due to the fact that the api returns no output string, this can be solved by adding a line: “stream->write_function(stream,”+OK\n”);” just after inserting the DTMF before the “goto done;”

I haven’t realized this because I use bgapi instead of api to execute it.

It should work, I use it exactly as you want to do successfully.

Bye.

Cesar Cepeda.

De: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] En nombre de Baskar
Enviado el: Thursday, November 20, 2008 4:27 AM
Para: freeswitch-users@lists.freeswitch.org
Asunto: Re: [Freeswitch-users] DTMF



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





PostPosted: Fri Nov 21, 2008 10:14 am    Post subject: [Freeswitch-users] DTMF Reply with quote

Hi cesar,

If i have added these line in mod_commands.c
"stream->write_function(stream,"+OK\n");" just after inserting the DTMF before the "goto done;"

When i compile by command make it get these error

Compiling mod_commands.c...
mod_commands.c: In function âunload_functionâ:
mod_commands.c:869: error: incompatible type for argument 3 of âswitch_loadable_module_unload_moduleâ
mod_commands.c:869: error: too few arguments to function âswitch_loadable_module_unload_moduleâ
mod_commands.c: In function âreload_functionâ:
mod_commands.c:891: error: incompatible type for argument 3 of âswitch_loadable_module_unload_moduleâ
mod_commands.c:891: error: too few arguments to function âswitch_loadable_module_unload_moduleâ
cc1: warnings being treated as errors
mod_commands.c: In function âtone_detect_session_functionâ:
mod_commands.c:1089: warning: passing argument 6 of âswitch_ivr_tone_detect_sessionâ makes integer from pointer without a cast
mod_commands.c:1089: error: too few arguments to function âswitch_ivr_tone_detect_sessionâ
mod_commands.c: In function âuuid_send_dtmf_functionâ:
mod_commands.c:2649: error: âstrâ undeclared (first use in this function)
mod_commands.c:2649: error: (Each undeclared identifier is reported only once
mod_commands.c:2649: error: for each function it appears in.)
mod_commands.c:2649: error: expected â)â before string constant
mod_commands.c:2649: error: too few arguments to function âstream->write_functionâ
make[5]: *** [mod_commands.o] Error 1
make[4]: *** [all] Error 1
make[3]: *** [mod_commands-all] Error 1
make[2]: *** [all-recursive] Error 1
Making all in build
+-------- FreeSWITCH Build Complete -----------+
+ FreeSWITCH has been successfully built. +
+ Install by running: +
+ +
+ make install +
+----------------------------------------------+
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


And another thing through default.xml barging is working fine and dtmf values also work fine
But through api command 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 81725d6b-c22f-4fb9-9e68-3e97eb1a3d4e
api originate sofia/internal/1002%172.20.176.31 &eavesdrop(81725d6b-c22f-4fb9-9e68-3e97eb1a3d4e)

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

+OK 1d0edac2-b548-4b02-80c3-46d7a1175845
api uuid_send_dtmf 1d0edac2-b548-4b02-80c3-46d7a1175845 2 to

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

api uuid_send_dtmf 1d0edac2-b548-4b02-80c3-46d7a1175845 1 both

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

-ERR no reply

api uuid_send_dtmf 1d0edac2-b548-4b02-80c3-46d7a1175845 1 from

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

-ERR no reply

Correct me where i am wrong.

Thanks for the reply.
--
Warm Regards,
N.Baskar
Back to top
mike at jerris.com
Guest





PostPosted: Fri Nov 21, 2008 10:36 am    Post subject: [Freeswitch-users] DTMF Reply with quote

those errors are not caused by that change, either you updated only parts of the code (that module maybe) and didn't update the rest of FreeSWITCH or you have a merge conflict or other change in that file.

Mike

On Nov 21, 2008, at 9:59 AM, Baskar wrote:
Quote:
Hi cesar,

If i have added these line in mod_commands.c
"stream->write_function(stream,"+OK\n");" just after inserting the DTMF before the "goto done;"

When i compile by command make it get these error

Compiling mod_commands.c...
mod_commands.c: In function âunload_functionâ:
mod_commands.c:869: error: incompatible type for argument 3 of âswitch_loadable_module_unload_moduleâ
mod_commands.c:869: error: too few arguments to function âswitch_loadable_module_unload_moduleâ
mod_commands.c: In function âreload_functionâ:
mod_commands.c:891: error: incompatible type for argument 3 of âswitch_loadable_module_unload_moduleâ
mod_commands.c:891: error: too few arguments to function âswitch_loadable_module_unload_moduleâ
cc1: warnings being treated as errors
mod_commands.c: In function âtone_detect_session_functionâ:
mod_commands.c:1089: warning: passing argument 6 of âswitch_ivr_tone_detect_sessionâ makes integer from pointer without a cast
mod_commands.c:1089: error: too few arguments to function âswitch_ivr_tone_detect_sessionâ
mod_commands.c: In function âuuid_send_dtmf_functionâ:
mod_commands.c:2649: error: âstrâ undeclared (first use in this function)
mod_commands.c:2649: error: (Each undeclared identifier is reported only once
mod_commands.c:2649: error: for each function it appears in.)
mod_commands.c:2649: error: expected â)â before string constant
mod_commands.c:2649: error: too few arguments to function âstream->write_functionâ
make[5]: *** [mod_commands.o] Error 1
make[4]: *** [all] Error 1
make[3]: *** [mod_commands-all] Error 1
make[2]: *** [all-recursive] Error 1
Making all in build
+-------- FreeSWITCH Build Complete -----------+
+ FreeSWITCH has been successfully built. +
+ Install by running: +
+ +
+ make install +
+----------------------------------------------+
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Back to top
yudha2008 at gmail.com
Guest





PostPosted: Sat Nov 22, 2008 1:24 am    Post subject: [Freeswitch-users] DTMF Reply with quote

Hi,

I have attached the mod_commands.c file. Can any one correct me where i am wrong.

Please help to resolve the problem.

Thanks for the reply in advance.

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





PostPosted: Mon Nov 24, 2008 8:01 am    Post subject: [Freeswitch-users] DTMF Reply with quote

Hi,

The send dtmf is working. thanks



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





PostPosted: Tue Nov 25, 2008 1:29 am    Post subject: [Freeswitch-users] DTMF Reply with quote

Hi,

Thanks for the support from Brian West, Michael S Collins,Birgit Arkesteijn, Cesar Cepeda, Michael Jerris, Gopala krishnan.

DTMF is working fine in barging and Conference.

--
Warm Regards,
N.Baskar
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 Previous  1, 2
Page 2 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