From 571d8e1404c0573273902545a27ae81145eab804 Mon Sep 17 00:00:00 2001
From: Yun Liu <yun@yun.(none)>
Date: Fri, 10 Oct 2008 11:13:01 -0400
Subject: [PATCH] nothing; tmp commit

---
 src/sipvoiplink.cpp | 1 +
 src/useragent.cpp   | 5 +++++
 src/useragent.h     | 3 +++
 3 files changed, 9 insertions(+)

diff --git a/src/sipvoiplink.cpp b/src/sipvoiplink.cpp
index b440845dc6..fcf568fcf9 100644
--- a/src/sipvoiplink.cpp
+++ b/src/sipvoiplink.cpp
@@ -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
diff --git a/src/useragent.cpp b/src/useragent.cpp
index 86c024bdf4..b703186c54 100644
--- a/src/useragent.cpp
+++ b/src/useragent.cpp
@@ -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;
diff --git a/src/useragent.h b/src/useragent.h
index 1c92cf1cf9..a1bb0b02cb 100644
--- a/src/useragent.h
+++ b/src/useragent.h
@@ -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;}
-- 
GitLab