Subversion Repositories tpanel

Rev

Rev 144 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 144 Rev 406
Line 1675... Line 1675...
1675
 
1675
 
1676
void TSIPClient::call_on_dtmf_callback2(pjsua_call_id call_id, const pjsua_dtmf_info *info)
1676
void TSIPClient::call_on_dtmf_callback2(pjsua_call_id call_id, const pjsua_dtmf_info *info)
1677
{
1677
{
1678
    DECL_TRACER("TSIPClient::call_on_dtmf_callback2(pjsua_call_id call_id, const pjsua_dtmf_info *info)");
1678
    DECL_TRACER("TSIPClient::call_on_dtmf_callback2(pjsua_call_id call_id, const pjsua_dtmf_info *info)");
1679
 
1679
 
-
 
1680
    T_UNUSED(call_id);
-
 
1681
 
1680
    char duration[16];
1682
    char duration[16];
1681
    char method[16];
1683
    char method[16];
1682
 
1684
 
1683
    duration[0] = '\0';
1685
    duration[0] = '\0';
1684
 
1686
 
Line 1737... Line 1739...
1737
 
1739
 
1738
void TSIPClient::on_call_transfer_status(pjsua_call_id call_id, int status_code, const pj_str_t *status_text, pj_bool_t final, pj_bool_t *p_cont)
1740
void TSIPClient::on_call_transfer_status(pjsua_call_id call_id, int status_code, const pj_str_t *status_text, pj_bool_t final, pj_bool_t *p_cont)
1739
{
1741
{
1740
    DECL_TRACER("TSIPClient::on_call_transfer_status(pjsua_call_id call_id, int status_code, const pj_str_t *status_text, pj_bool_t final, pj_bool_t *p_cont)");
1742
    DECL_TRACER("TSIPClient::on_call_transfer_status(pjsua_call_id call_id, int status_code, const pj_str_t *status_text, pj_bool_t final, pj_bool_t *p_cont)");
1741
 
1743
 
-
 
1744
    T_UNUSED(final);
1742
    string dbgMsg;
1745
    string dbgMsg;
1743
 
1746
 
1744
    if (status_text->slen > 0)
1747
    if (status_text->slen > 0)
1745
        dbgMsg.assign(status_text->ptr, status_text->slen);
1748
        dbgMsg.assign(status_text->ptr, status_text->slen);
1746
 
1749
 
Line 1875... Line 1878...
1875
{
1878
{
1876
    DECL_TRACER("TSIPClient::on_pager2(pjsua_call_id call_id, const pj_str_t* from, const pj_str_t* to, const pj_str_t* contact, const pj_str_t* mime_type, const pj_str_t* body, pjsip_rx_data* rdata, pjsua_acc_id acc_id)");
1879
    DECL_TRACER("TSIPClient::on_pager2(pjsua_call_id call_id, const pj_str_t* from, const pj_str_t* to, const pj_str_t* contact, const pj_str_t* mime_type, const pj_str_t* body, pjsip_rx_data* rdata, pjsua_acc_id acc_id)");
1877
 
1880
 
1878
    PJ_UNUSED_ARG(contact);
1881
    PJ_UNUSED_ARG(contact);
1879
    PJ_UNUSED_ARG(rdata);
1882
    PJ_UNUSED_ARG(rdata);
-
 
1883
    PJ_UNUSED_ARG(call_id);
1880
 
1884
 
1881
    string sFrom(from->ptr, from->slen);
1885
    string sFrom(from->ptr, from->slen);
1882
    string sTo(to->ptr, to->slen);
1886
    string sTo(to->ptr, to->slen);
1883
    string mime(mime_type->ptr, mime_type->slen);
1887
    string mime(mime_type->ptr, mime_type->slen);
1884
    string bdy(body->ptr, body->slen);
1888
    string bdy(body->ptr, body->slen);
Line 1940... Line 1944...
1940
}
1944
}
1941
void TSIPClient::on_buddy_evsub_state(pjsua_buddy_id buddy_id, pjsip_evsub* sub, pjsip_event* event)
1945
void TSIPClient::on_buddy_evsub_state(pjsua_buddy_id buddy_id, pjsip_evsub* sub, pjsip_event* event)
1942
{
1946
{
1943
    DECL_TRACER("TSIPClient::on_buddy_evsub_state(pjsua_buddy_id buddy_id, pjsip_evsub* sub, pjsip_event* event)");
1947
    DECL_TRACER("TSIPClient::on_buddy_evsub_state(pjsua_buddy_id buddy_id, pjsip_evsub* sub, pjsip_event* event)");
1944
 
1948
 
-
 
1949
    T_UNUSED(buddy_id);
-
 
1950
    T_UNUSED(sub);
-
 
1951
 
1945
    char event_info[80];
1952
    char event_info[80];
1946
 
1953
 
1947
    if (event->type == PJSIP_EVENT_RX_MSG)
1954
    if (event->type == PJSIP_EVENT_RX_MSG)
1948
    {
1955
    {
1949
        pjsip_rx_data *rdata = event->body.tsx_state.src.rdata;
1956
        pjsip_rx_data *rdata = event->body.tsx_state.src.rdata;