Changeset 2351


Ignore:
Timestamp:
Oct 16, 2008 8:14:51 AM (16 years ago)
Author:
bennylp
Message:

Ticket #665: Wrong Contact URI generated when TLS transport is used

Location:
pjproject/trunk/pjsip
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h

    r2315 r2351  
    20052005 */ 
    20062006#ifndef PJSUA_SECURE_SCHEME 
    2007 #   define PJSUA_SECURE_SCHEME          "sips" 
     2007#   define PJSUA_SECURE_SCHEME          "sip" 
    20082008#endif 
    20092009 
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_acc.c

    r2325 r2351  
    368368 
    369369    /* Don't add transport parameter if it's UDP */ 
    370     if ((t->type & PJSIP_TRANSPORT_UDP) == 0) { 
     370    if (t->type!=PJSIP_TRANSPORT_UDP && t->type!=PJSIP_TRANSPORT_UDP6) { 
    371371        pj_ansi_snprintf(transport_param, sizeof(transport_param), 
    372372                         ";transport=%s", 
     
    16521652 
    16531653    /* Don't add transport parameter if it's UDP */ 
    1654     if ((tp_type & PJSIP_TRANSPORT_UDP) == 0) { 
     1654    if (tp_type!=PJSIP_TRANSPORT_UDP && tp_type!=PJSIP_TRANSPORT_UDP6) { 
    16551655        pj_ansi_snprintf(transport_param, sizeof(transport_param), 
    16561656                         ";transport=%s", 
     
    18021802 
    18031803    /* Don't add transport parameter if it's UDP */ 
    1804     if ((tp_type & PJSIP_TRANSPORT_UDP) == 0) { 
     1804    if (tp_type!=PJSIP_TRANSPORT_UDP && tp_type!=PJSIP_TRANSPORT_UDP6) { 
    18051805        pj_ansi_snprintf(transport_param, sizeof(transport_param), 
    18061806                         ";transport=%s", 
Note: See TracChangeset for help on using the changeset viewer.