Fixed codec negotiation part 1.
git-svn-id: http://voip.null.ro/svn/yate@935 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
bd9f91c7dc
commit
4976b89970
|
@ -960,7 +960,7 @@ IAXEvent* IAXTransaction::processAuthReq(IAXEvent* event)
|
|||
return event;
|
||||
// Valid authmethod & challenge ?
|
||||
u_int32_t authmethod;
|
||||
bool bAuthMethod = event->getList().getNumeric(IAXInfoElement::AUTHMETHODS,authmethod) && authmethod == (u_int32_t)m_authmethod;
|
||||
bool bAuthMethod = event->getList().getNumeric(IAXInfoElement::AUTHMETHODS,authmethod) && (authmethod & m_authmethod);
|
||||
bool bChallenge = event->getList().getString(IAXInfoElement::CHALLENGE,m_challenge);
|
||||
IAXEvent* retEv;
|
||||
if (bAuthMethod && bChallenge) {
|
||||
|
|
Loading…
Reference in New Issue