Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] dptools "read" command doesn't


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
killarny at gmail.com
Guest





PostPosted: Sun Sep 14, 2008 10:28 am    Post subject: [Freeswitch-users] dptools "read" command doesn't Reply with quote

Ahh, so this application only works within a dialplan?

Killarny

On Sat, Sep 13, 2008 at 11:40 PM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:
Quote:
If you're using event socket you have really no reason to use the read application. The way you invoked it would collect 0 to 4 digits into the variable 'digits'.

/b




On Sep 12, 2008, at 4:27 PM, Luke Graybill wrote:



Quote:

I am having a hard time getting this command to work properly. Here is the c output from my test session, where I dial in to ext 500 with my sip client (Ekiga):

----
listening on localhost:8084
IPv4Address(TCP, '127.0.0.1', 36685): Connected
Quote:
Quote:
'connect'
Caller: Killarny -
Quote:
Quote:
'myevents'
result was: Events Enabled
Quote:
Quote:
'sendmsg\ncall-command: execute\nexecute-app-name: answer'
OK
Quote:
Quote:
'sendmsg\ncall-command: execute\nexecute-app-name: read\nexecute-app-arg: 0 4 conference/8000/conf-pin.wav digits 10000 #'
OK
DTMF: 1
DTMF: 2
DTMF: 3
DTMF: 4
DTMF: 5
DTMF: 6
DTMF: 7
DTMF: 8
DTMF: 9
DTMF: 0
DTMF: *
DTMF: #
IPv4Address(TCP, '127.0.0.1', 36685): Connection was closed cleanly.
----

I couldn't figure out how to get read to function without passing a wav file (I plan to use TTS for the voice prompts, and I don't need a wav file to play here) so I just plugged in a random wav that comes with freeswitch for testing.

As you can see, freeswitch reports that the command executed properly, illustrated by the OK (which was a reply-text: +OK) but the read application doesn't seem to be functioning beyond playing the given wav file (and truncating the first half of it as well). Pressing digits in the sip client results in DTMF events being sent to the socket. Note that the DTMF events stop at # because I manually shut down the connection, not because of anything that freeswitch does.

Am I doing something wrong here? I feel like I'm following the available documentation given at http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_read but I am having no luck. Is the read application basically a dead command, and should I be instead just using DTMF event output?

Any help that can be provided would be appreciated, thanks.

Killarny



_______________________________________________
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


Brian West
sip:brian@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
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