Changeset 420


Ignore:
Timestamp:
Apr 28, 2006 5:49:41 PM (19 years ago)
Author:
bennylp
Message:

Added different error code when remote does not support RFC 2833

Location:
pjproject/trunk/pjmedia
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/include/pjmedia/errno.h

    r371 r420  
    316316 */ 
    317317#define PJMEDIA_RTP_EINDTMF         (PJMEDIA_ERRNO_START+106)    /* 220106 */ 
     318/** 
     319 * @hideinitializer 
     320 * Remote does not support RFC 2833 
     321 */ 
     322#define PJMEDIA_RTP_EREMNORFC2833   (PJMEDIA_ERRNO_START+107)    /* 220107 */ 
    318323 
    319324 
  • pjproject/trunk/pjmedia/src/pjmedia/errno.c

    r371 r420  
    9797    { PJMEDIA_EREMOTENODTMF,        "Remote does not support DTMF" }, 
    9898    { PJMEDIA_RTP_EINDTMF,          "Invalid DTMF digit" }, 
     99    { PJMEDIA_RTP_EREMNORFC2833,    "Remote does not support RFC 2833" }, 
    99100 
    100101    /* RTP session errors. */ 
  • pjproject/trunk/pjmedia/src/pjmedia/stream.c

    r411 r420  
    11361136    /* Check that remote can receive DTMF events. */ 
    11371137    if (stream->tx_event_pt < 0) { 
    1138         return PJMEDIA_RTP_EINDTMF; 
     1138        return PJMEDIA_RTP_EREMNORFC2833; 
    11391139    } 
    11401140     
Note: See TracChangeset for help on using the changeset viewer.