Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#1154 closed enhancement (fixed)

Run-time option to disable telephone-event in outgoing SDP offer (thanks Marcus Froeschl for the suggestion)

Reported by: bennylp Owned by: nanang
Priority: minor Milestone: release-1.8.10
Component: pjmedia Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description

It has been reported that some operators in Japan have trouble processing this feature, hence a run-time setting to enable/disable this is needed.

Change History (2)

comment:1 Changed 13 years ago by bennylp

  • Resolution set to fixed
  • Status changed from new to closed

(In [3360]) Fixed #1154 (Run-time option to disable telephone-event in outgoing SDP offer (thanks Marcus Froeschl for the suggestion))

comment:2 Changed 13 years ago by bennylp

Below is a sample code to disable telephone-event from the offer. Execute this code once before establishing calls.

#include <pjmedia/endpoint.h>

int val;

val = PJ_FALSE;
pjmedia_endpt_set_flag(pjsua_get_pjmedia_endpt(),
		       PJMEDIA_ENDPT_HAS_TELEPHONE_EVENT_FLAG,
		       &val);
Note: See TracTickets for help on using tickets.