Re: DTMF PJSIP Python

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Why does not the above code work ? When I make a call , it is not printing received which means it is not entering the on_dtmf_digits ()  

Pls help me out

On Thu, Jun 9, 2016 at 6:24 PM, Kaushik Turlapaty <turlapatykaushik95@xxxxxxxxx> wrote:
        if self.call.info().state == pj.CallState.CONFIRMED:
            print "call succesfully placed"
            time.sleep(3)
            self.call.dial_dtmf("1")


    def on_dtmf_digit(self, digits):
        #print "hello"
        #self.sHelper.dtmf_queue = self.sHelper.dtmf_queue + digits
        #self.sHelper.send_dtmf(digits)
        print "received"

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux