Added an explicit boolean redirect parameter to simplify detecting a redirection or diversion.
git-svn-id: http://voip.null.ro/svn/yate@2551 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
59261b3b58
commit
535a559422
|
@ -3206,6 +3206,7 @@ bool YateSIPConnection::process(SIPEvent* ev)
|
|||
// this is a redirect, it should provide a Contact and possibly a Diversion
|
||||
const MimeHeaderLine* hl = msg->getHeader("Contact");
|
||||
if (hl) {
|
||||
parameters().addParam("redirect",String::boolText(true));
|
||||
URI uri(*hl);
|
||||
parameters().addParam("called",uri.getUser());
|
||||
if (uri.getDescription())
|
||||
|
|
Loading…
Reference in New Issue