RFC 2833 DTMF digit detection problem

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

 



Hello,

I am building a Python application based on pjsua library. One
functionality involves detecting dtmf digits. The caller goes through
a SIP trunk, and sends DTMF signals to the Python SIP user agent I am
creating. My understanding is that the SIP trunk uses RFC 2833 to send
RTP packets for DTMF digits. However, the on_dtmf_digit method I added
to my CallCallback class is never run.

def on_dtmf_digit(self, digits):
    print "DTMF received, digit=", digits

outputs nothing.

I made testings using pjsua command line tool to trace packets,
however nothing is traced when I send DTMF digits. Should'nt I notice
incoming RTP packets when hitting the telephone numbers?

Thank you for your help.

Eric

_______________________________________________
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