Changeset 1797 for pjproject/trunk


Ignore:
Timestamp:
Feb 14, 2008 3:50:46 PM (17 years ago)
Author:
bennylp
Message:

Ticket #477: DTMF digit callback error in Python

Location:
pjproject/trunk/pjsip-apps
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/build/pjsip_apps.dsw

    r1177 r1797  
    6464############################################################################### 
    6565 
     66Project: "libsrtp"="..\..\third_party\build\srtp\libsrtp.dsp" - Package Owner=<4> 
     67 
     68Package=<5> 
     69{{{ 
     70}}} 
     71 
     72Package=<4> 
     73{{{ 
     74}}} 
     75 
     76############################################################################### 
     77 
    6678Project: "pjlib"="..\..\pjlib\build\pjlib.dsp" - Package Owner=<4> 
    6779 
     
    276288    Project_Dep_Name libspeex 
    277289    End Project Dependency 
     290    Begin Project Dependency 
     291    Project_Dep_Name libsrtp 
     292    End Project Dependency 
    278293}}} 
    279294 
  • pjproject/trunk/pjsip-apps/src/py_pjsua/py_pjsua.c

    r1706 r1797  
    153153static void cb_on_dtmf_digit(pjsua_call_id call_id, int digit) 
    154154{ 
    155     if (PyCallable_Check(g_obj_callback->on_call_media_state)) 
     155    if (PyCallable_Check(g_obj_callback->on_dtmf_digit)) 
    156156    { 
    157157        char digit_str[10]; 
     
    162162 
    163163        PyObject_CallFunctionObjArgs( 
    164             g_obj_callback->on_call_media_state, 
     164            g_obj_callback->on_dtmf_digit, 
    165165            Py_BuildValue("i",call_id), 
    166166            PyString_FromString(digit_str), 
Note: See TracChangeset for help on using the changeset viewer.