Add connection_id to notification data when handling sip subscribe methods.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4583 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
19a798ce51
commit
93a23a29a6
|
@ -204,6 +204,9 @@ bool YSipSubscribeHandler::received(Message &msg)
|
|||
appendEsc(data,"host",msg.getValue("ip_host"));
|
||||
appendEsc(data,"port",msg.getValue("ip_port"));
|
||||
appendEsc(data,"uri",notifyTo);
|
||||
const String& conn = msg["connection_id"];
|
||||
if (conn)
|
||||
appendEsc(data,"connection_id",conn);
|
||||
String from = msg.getValue("sip_to");
|
||||
if (-1 == from.find("tag="))
|
||||
from << ";tag=" << msg.getValue("xsip_dlgtag");
|
||||
|
|
Loading…
Reference in New Issue