Commit 497f205c authored by Tristan Matthews's avatar Tristan Matthews
Browse files

Merge branch 'master' into sipregistration

parents 79365bd2 cee7c1aa
......@@ -125,7 +125,7 @@ void SIPTest::testSimpleOutgoingIpCall()
pthread_t thethread;
// command to be executed by the thread, user agent server waiting for a call
std::string command("sipp -sn uas -i -p 5062 -m 1 -bg");
std::string command("sipp -sn uas -i -p 5068 -m 1 -bg");
int rc = pthread_create(&thethread, NULL, sippThread, &command);
......@@ -134,7 +134,7 @@ void SIPTest::testSimpleOutgoingIpCall()
std::string testaccount("IP2IP");
std::string testcallid("callid1234");
std::string testcallnumber("sip:test@");
std::string testcallnumber("sip:test@");
......@@ -144,9 +144,6 @@ void SIPTest::testSimpleOutgoingIpCall()
// must sleep here until receiving 180 and 200 message from peer
// call list should be empty for outgoing calls, only used for incoming calls
CPPUNIT_ASSERT(Manager::instance().getCurrentCallId() == testcallid);
......@@ -184,9 +181,6 @@ void SIPTest::testSimpleIncomingIpCall()
CallMap::iterator iterCallId = siplink->callMap_.begin();
std::string testcallid = iterCallId->first;
// TODO: hmmm, should IP2IP call be stored in call list....
CPPUNIT_ASSERT(Manager::instance().getCallList().size() == 0);
// Answer this call
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment