BLOG | DOCUMENTATION | TRAC

Home --> Documentations --> PJSIP Reference

pj::CallSendDtmfParam Struct Reference

#include <call.hpp>

Public Member Functions

 CallSendDtmfParam ()
 
pjsua_call_send_dtmf_param toPj () const
 
void fromPj (const pjsua_call_send_dtmf_param &param)
 

Data Fields

pjsua_dtmf_method method
 
unsigned duration
 
string digits
 

Detailed Description

This structure contains parameters for Call::sendDtmf()

Constructor & Destructor Documentation

◆ CallSendDtmfParam()

pj::CallSendDtmfParam::CallSendDtmfParam ( )

Default constructor initialize with default value.

Member Function Documentation

◆ toPj()

pjsua_call_send_dtmf_param pj::CallSendDtmfParam::toPj ( ) const

Convert to pjsip.

◆ fromPj()

void pj::CallSendDtmfParam::fromPj ( const pjsua_call_send_dtmf_param param)

Convert from pjsip.

Field Documentation

◆ method

pjsua_dtmf_method pj::CallSendDtmfParam::method

The method used to send DTMF.

Default: PJSUA_DTMF_METHOD_RFC2833

◆ duration

unsigned pj::CallSendDtmfParam::duration

The signal duration used for the DTMF.

Default: PJSUA_CALL_SEND_DTMF_DURATION_DEFAULT

◆ digits

string pj::CallSendDtmfParam::digits

The DTMF digits to be sent.


The documentation for this struct was generated from the following file:

 


PJSIP Open Source, high performance, small footprint, and very very portable SIP stack
Copyright (C) 2006-2008 Teluu Inc.