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_collect/pin_collect.py) for an example:

def onDtmf(self,key,duration):
  ...
  if key == 10:
    ...


Stefan


Best Regards,

*Gohar Ahmed***

VoIP Developer

_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems

Reply via email to