Hey thanks, its great. I'll try this tomorrow. Great help. Its in DSM though, I liked python-ivr more than this. Anyways Great great help. This is going to be something for the community.
-----Original Message----- From: Stefan Sayer [mailto:[email protected]] Sent: Friday, July 08, 2011 7:00 PM To: Gohar Ahmed Cc: [email protected] Subject: Re: [Sems] Stop DTMF input on pressing # Hello, I added a small DSM example how to do that: http://git.sip-router.org/cgi-bin/gitweb.cgi?p=sems;a=tree;f=doc/dsm/example s/b2b_connect_extension I think it shows how to do that in DSM and is sufficiently simple. Of course, it could be even simpler, but I wanted to have e.g. a hint when no key is pressed for a while, something said when the user takes too long, and retry if connecting fails etc. Stefan o Gohar Ahmed on 07/06/2011 07:04 AM: > Hey thanks, I am looking at this example. Really nice. I am thinking of > posting simpler instructions to understand SEMS on my blog as well. That'll > be kind of SEMS cookbook. Help from interested guys is welcome. > > Regards, > Gohar > > -----Original Message----- > From: Stefan Sayer [mailto:[email protected]] > Sent: Tuesday, July 05, 2011 9:15 PM > To: Gohar Ahmed > Cc: [email protected] > Subject: Re: [Sems] Stop DTMF input on pressing # > > Hi Ahmed, > > o Gohar Ahmed on 07/05/2011 12:56 PM: >> Hello List, >> >> It's a very basic question , I want to terminate DTMF input when user >> presses #. I'm trying this via IVR module and sems-1.4.1. Can anyone >> give me couple of hints on putting the condition on input string ! > > see apps/pin_collect > (http://git.sip-router.org/cgi-bin/gitweb.cgi?p=sems;a=blob;f=apps/pin_colle > ct/pin_collect.py) > for an example: > > def onDtmf(self,key,duration): > ... > if key == 10: > ... > > > Stefan > >> >> Best Regards, >> >> *Gohar Ahmed*** >> >> VoIP Developer >> > > -- Stefan Sayer VoIP Services Consulting and Development Warschauer Str. 24 10243 Berlin tel:+491621366449 sip:[email protected] email/xmpp:[email protected] _______________________________________________ Sems mailing list [email protected] http://lists.iptel.org/mailman/listinfo/sems
