Skip to content
Snippets Groups Projects
Commit 571d8e14 authored by Yun Liu's avatar Yun Liu
Browse files

nothing; tmp commit

parent e631e14a
No related branches found
No related tags found
No related merge requests found
......@@ -363,6 +363,7 @@ SIPVoIPLink::carryingDTMFdigits(const CallID& id, char code UNUSED)
SIPCall* call = getSIPCall(id);
if (call==0) { _debug("Call doesn't exist\n"); return false; }
Manager::instance().getUserAgent()->carryingDTMFdigits(call);
//int duration = Manager::instance().getConfigInt(SIGNALISATION, PULSE_LENGTH);
// TODO Add DTMF with pjsip - INFO method
......
......@@ -1188,6 +1188,11 @@ bool UserAgent::refuse(SIPCall* call)
return true;
}
bool UserAgent::carryingDTMFdigits(SIPCall* call)
{
return true;
}
bool UserAgent::transfer(SIPCall *call, const std::string& to)
{
pjsip_evsub *sub;
......
......@@ -134,6 +134,9 @@ public:
void onCallTransfered(pjsip_inv_session *inv, pjsip_rx_data *rdata);
bool makeOutgoingCall(const std::string& to, SIPCall* call, const AccountID& id);
bool carryingDTMFdigits(SIPCall* call);
pj_pool_t *getAppPool() {return _pool;}
static pj_bool_t mod_on_rx_request(pjsip_rx_data *rdata);
static pj_bool_t mod_on_rx_response(pjsip_rx_data *rdata UNUSED) {return PJ_SUCCESS;}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment