« Back to TCL-API

TCL to send DTMF over FXS?

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hello Team,
 
First of all, hello to everyone here, hopefully this is the right community for this question http://developer.cisco.com/web/vgapi/forums
 
This is my first post to this community, and I would like to ask for support in a TCL Script I have been working on in order to send a DTMF tone over a particular FXS port, but without luck, since my TCL knowledge is limmited
 
The issue here is that we have a doorbell system connected to a UC540 FXS port (0/0/0), and to on-hook the fxs port the system requires to receive Digit 3 (697 and 1477 hz), which sometimes users who answer the call from the doorbell forget to press (3) in order to hand the call, leaving the fxs port in off-hook state for around 3 minutes.
 
I have been looking all around and I got the following from my searches
 
========== tcl.tcl
UC560#more flash:tcl.tcl
set digit3 3
leg senddigit leg_outgoing $digit3
=============
application
 service DTMF flash:/tcl.tcl
UC560#conf ter
Enter configuration commands, one per line.  End with CNTL/Z.
UC560(config)#dial-peer voice 3 pots
UC560(config-dial-peer)#destination-pattern 333
UC560(config-dial-peer)# service dtmf
 
please can someone in this great forum help me in this situation that I have?
 
Thanks you a lot
Heinz

Hi Heinz,
 
Assuming you are going to use Tcl API on Cisco voice gateway that running IOS. The 'tcl.tcl' script that you are trying to invoke won't work as it is not written as per norms. 
 
You can issue the following cmd to verify whether it is correct or not.
'sh call app voice <app name>' 
In your case it would be like 
'sh call app voice DTMF'
The state should be in registered state whereas in your case it would display as loaded. 
 
Please check out the following link to refer to the programming guide and sample scripts  
http://developer.cisco.com/web/vgapi/resources
 
Hope it would be  useful for creating your own script in a simple way!
 
Thanks,
Anusha

RE: TCL to send DTMF over FXS?
dtfm tcl
Answer
7/15/10 3:18 PM as a reply to HEINZ WAECHTER.
Hi Heinz,
Did you get your tcl script working. Would you be able to post it on this message board?
Many thanks
Michael

Hi Michael,



my tcl-script didn¿t work, sorry.



Until now I¿m waiting for the tcl-script of the CDN.



Regards



Heinz



Von: Cisco Developer Community Forums [mailto:cdicuser@developer.cisco.com]
Gesendet: Donnerstag, 15. Juli 2010 12:18
An: cdicuser@developer.cisco.com
Betreff: New Message from Michael Andrews in Voice Gateway API (VGAPI) - TCL-API: RE: TCL to send DTMF over FXS?



Michael Andrews has created a new message in the forum "TCL-API":
--------------------------------------------------------------
Hi Heinz,
Did you get your tcl script working. Would you be able to post it on this message board?
Many thanks
Michael
--
To respond to this post, please click the following link:
<http://developer.cisco.com/web/vgapi/forums/-/message_boards/message/2358201>
or simply reply to this email.

Hi Heinz,
Did you get your tcl script working. Would you be able to post it on this message board?
Many thanks
Michael


Hi Michael,
 
until today 2010 August 17 I did not receive a solution,sorry.
 
Regards
 
Heinz

Hi Heinz,
Did you get your tcl script working. Would you be able to post it on this message board?
Many thanks
Michael


Hi Michael,
 
until today 2010 August 17 I did not receive a solution,sorry.
 
Regards
 
Heinz