Ignore:
Timestamp:
Sep 28, 2010 7:43:18 AM (11 years ago)
Author:
bennylp
Message:

Closed #1139 (Support for tel: URI in PJSUA-LIB):

  • added new PJSUA API: pjsua_verify_url() which can be used for tel: URI
  • modified and tested according to spec
  • added new PJSIP error code, PJSIP_ENOROUTESET, to indicate that route set is needed to send to tel: URI
  • added couple of unit tests (we can't cover the whole tel: URI scenario yet)
File:
1 edited

Legend:

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

    r3260 r3323  
    836836            pjsip_transport_get_flag_from_type(dest_info->type); 
    837837    } else { 
     838        /* Should have never reached here; app should have configured route 
     839         * set when sending to tel: URI 
    838840        pj_assert(!"Unsupported URI scheme!"); 
     841         */ 
    839842        PJ_TODO(SUPPORT_REQUEST_ADDR_RESOLUTION_FOR_TEL_URI); 
    840         return PJSIP_EINVALIDSCHEME; 
     843        return PJSIP_ENOROUTESET; 
    841844    } 
    842845 
Note: See TracChangeset for help on using the changeset viewer.