diff --git a/src/telephonyevents.c b/src/telephonyevents.c index 3fda15f7..64186aa9 100644 --- a/src/telephonyevents.c +++ b/src/telephonyevents.c @@ -152,11 +152,13 @@ mblk_t *rtp_session_create_telephone_event_packet(RtpSession *session, int start * *@return 0 on success. **/ -int rtp_session_add_telephone_event( - BCTBX_UNUSED(RtpSession *session), mblk_t *packet, uint8_t event, int end, uint8_t volume, uint16_t duration) { - mblk_t *mp = packet; +int rtp_session_add_telephone_event(RtpSession *session, + mblk_t *packet, uint8_t event, int end, uint8_t volume, uint16_t duration) +{ + mblk_t *mp=packet; telephone_event_t *event_hdr; + (void)session; /* find the place where to add the new telephony event to the packet */ while (mp->b_cont != NULL) mp = mp->b_cont;