Ignore:
Timestamp:
Jul 23, 2006 2:38:49 PM (18 years ago)
Author:
bennylp
Message:

Added 64bit Linux target (x86_64), also fixed compilation warnings when compiling for this target

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip/sip_ua_layer.c

    r416 r624  
    540540            pj_mutex_unlock(mod_ua.mutex); 
    541541 
    542             PJ_LOG(5,(THIS_FILE,  
    543                       "Unable to find dialog for %s, answering with 481", 
    544                       pjsip_rx_data_get_info(rdata))); 
    545  
    546             pjsip_endpt_respond_stateless(mod_ua.endpt, rdata, 
    547                                           PJSIP_SC_CALL_TSX_DOES_NOT_EXIST,  
    548                                           NULL, NULL, NULL); 
     542            if (rdata->msg_info.msg->line.req.method.id != PJSIP_ACK_METHOD) { 
     543                PJ_LOG(5,(THIS_FILE,  
     544                          "Unable to find dialog for %s, answering with 481", 
     545                          pjsip_rx_data_get_info(rdata))); 
     546 
     547                pjsip_endpt_respond_stateless(mod_ua.endpt, rdata, 
     548                                              PJSIP_SC_CALL_TSX_DOES_NOT_EXIST,  
     549                                              NULL, NULL, NULL); 
     550            } else { 
     551                PJ_LOG(5,(THIS_FILE,  
     552                          "Unable to find dialog for %s", 
     553                          pjsip_rx_data_get_info(rdata))); 
     554            } 
    549555            return PJ_TRUE; 
    550556        } 
Note: See TracChangeset for help on using the changeset viewer.