Skip to content
Snippets Groups Projects
Commit 01a8e53c authored by yanmorin's avatar yanmorin
Browse files

add fixes
parent 64cf13cd
Branches
Tags
No related merge requests found
...@@ -65,7 +65,7 @@ public: ...@@ -65,7 +65,7 @@ public:
bool argsAreValid = false; bool argsAreValid = false;
// Args are: account callid destination // Args are: account callid destination
// acc1000 c10345 sip:test@test.com // acc1000 c10345 sip:test@test.com
if (iter != _argList.end() && iter->find("acc")==0) { if (iter != _argList.end() && iter->length()!=0) {
_account = *iter; _account = *iter;
_argList.pop_front(); _argList.pop_front();
iter = _argList.begin(); iter = _argList.begin();
......
...@@ -46,6 +46,7 @@ RequestFactory::create(const std::string& requestLine) ...@@ -46,6 +46,7 @@ RequestFactory::create(const std::string& requestLine)
} catch (...) { } catch (...) {
// if the create return an exception // if the create return an exception
// we create a syntaxerror // we create a syntaxerror
return create("syntaxerror", sequenceId, tList);
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment