Commit 0f976b6a by amir

add some

parent bbc7fb1c
No preview for this file type
No preview for this file type
SUBSCRIPTIONS:
[Topics among entities]
MRG<==> MQTT BROKER:
Sub: mcx/+
Pub: mcx/+ ( for terminating : mcx/term/+ )
Client <==> MQTT BROKER:
Sub: mcx/clientId/+
Pub: mcx/orig/clientId/chat/termId
- MRG converts the published messages it receives to the rest
messages the CommLogic handles:
the answers from CommLogic are converted (if nessacery)
to mqtt messages to the MQTT BROKER.
e.g MRG converts terminating messages to the “mcx/term/”
form topic , this way, all terminating event will be handled
by the MRG and converted to terminating rest messages to the CommLogic
- IRI in chat should include the imdnMsgId at the last part
e.g: mcx/[public-id]/chat/imdnMsgId
REGISTER:
[Client >> MRG]
mcx/orig/97297705811/activity
{
"action":"create",
"source": "97297705811",
"dest": "97297705811",
"id": "mcx/97297705811/register/1414931344387", [IRI]
"type":"register",
"published": "2011-02-10T15:04:55Z",
"metaData": {
"Contact": "<sip:FEU804-2-475-0@172.16.1.249:5065;user=phone>",
"Expires": "60"
}
}
[MRG >> CommLogic]
POST /CommLogic/api/process/processSipRequest HTTP/1.1
{
"serverUri": "172.16.1.103:5076",
"incomingHostPort": "172.16.1.249:5065",
"method": "REGISTER",
"origIdentity": "97297705820",
"termIdentity": "97297705820",
"route": null,
"contentType": null,
"content": null,
"error": null,
"headersList": [{
"name": "Contact",
"value": "<sip:FEU804-2-475-0@[mqtt-broker-host:port];user=phone>"
}, {
"name": "Expires",
"value": "60"
}],
"destUriList": null,
"eAction": null,
"respCode": 0
}
[CommLogic > MRG]
{
"serverUri": null,
"incomingHostPort": null,
"method": null,
"origIdentity": null,
"termIdentity": null,
"route": null,
"headersList": [{
"name": "Expires",
"value": "36000",
"valid": true
}, {
"name": "Contact",
"value": "<sip:FEU804-2-475-0@[mqtt-broker-host:port];user=phone>",
"valid": true
}],
"contentType": null,
"content": null,
"error": null,
"destUriList": null,
"isParallel": false,
"seqTO": 0,
"activityKey": null,
"eAction": "E_SEND_RESP",
"respCode": 200
}
[MRG > Client]
mcx/97297705820/activity
{
"action":"update",
"source": "97297705811",
"dest": "97297705811",
"id": "mcx/97297705811/register/1414931344387", [IRI]
"type":"registerResp",
"published": "2011-02-10T15:04:55Z",
"metaData": {
"respCode": 200,
"Contact": "<sip:FEU804-2-475-0@[mqtt-broker-host:port];user=phone>",
"Expires": "36000"
}
}
CHAT:
[Client > MRG]
mcx/orig/97297705820/activity
{
"action":"create",
"source": "97297705820",
"dest": "97297705801",
"id": "mcx/97297705820/chat/1414931344387", [IRI]
"type":"chat",
"published": "2011-02-10T15:04:55Z",
"metaData": {
"contentType": "message/cpim",
"content": "From: sip:97297705820@62.90.108.70;tag=1463557181731\r\nTo: sip:97297705801@62.90.108.70\r\nNS: imdn <urn:ietf:params:imdn>\r\nimdn.Message-ID: 1463557181667\r\nDateTime: 2016-05-18T10:39:41+03:00\r\nimdn.Disposition-Notification: positive-delivery, negative-delivery, display\r\n\r\nContent-type: application/json\r\nContent-length: 240\r\n\r\n{\"f\":\"\",\"m\":\"go\",\"direction\":\"E_OUTGOING\",\"upId\":\"97297705801___1\",\"contactId\":\"Robert Fine\",\"networkConnection\":\"E_MCZ_APP\",\"cType\":\"E_TEXT\",\"cSize\":2,\"cFileLink\":\"\",\"cThumbLink\":\"\",\"imdnMsgId\":\"1463557181667\",\"deliveryStatus\":\"processed\"}",
}
}
[MRG > CommLogic]
POST /CommLogic/api/process/processSipRequest HTTP/1.1
{
"serverUri": "172.16.1.103:5076",
"incomingHostPort": "172.16.1.249:5065",
"method": "MESSAGE",
"origIdentity": "97297705820",
"termIdentity": "97297705801",
"route": null,
"contentType": "message/cpim",
"content": "From: sip:97297705820@62.90.108.70;tag=1463557181731\r\nTo: sip:97297705801@62.90.108.70\r\nNS: imdn <urn:ietf:params:imdn>\r\nimdn.Message-ID: 1463557181667\r\nDateTime: 2016-05-18T10:39:41+03:00\r\nimdn.Disposition-Notification: positive-delivery, negative-delivery, display\r\n\r\nContent-type: application/json\r\nContent-length: 240\r\n\r\n{\"f\":\"\",\"m\":\"go\",\"direction\":\"E_OUTGOING\",\"upId\":\"97297705801___1\",\"contactId\":\"Robert Fine\",\"networkConnection\":\"E_MCZ_APP\",\"cType\":\"E_TEXT\",\"cSize\":2,\"cFileLink\":\"\",\"cThumbLink\":\"\",\"imdnMsgId\":\"1463557181667\",\"deliveryStatus\":\"processed\"}",
"error": null,
"headersList": null,
"destUriList": null,
"eAction": null,
"respCode": 0
}
[CommLogic > MRG]
{
"serverUri": null,
"incomingHostPort": null,
"method": null,
"origIdentity": null,
"termIdentity": null,
"route": null,
"headersList": null,
"contentType": "message/cpim",
"content": "From: <sip:97297705820@62.90.108.70;tag=1463557181731>\r\nTo: <sip:97297705801@62.90.108.70>\r\nNS: imdn <urn:ietf:params:imdn>\r\nimdn.Message-ID: 1463557181667\r\nDateTime: 2016-05-18T10:39:41.507Z\r\nimdn.Disposition-Notification: positive-delivery, display\r\n\r\nContent-type: application/json; charset=utf-8\r\nContent-length: 393\r\n\r\n{\"contactPic\":null,\"contactName\":null,\"o\":null,\"f\":\"\",\"s\":\"0\",\"m\":\"go\",\"p\":null,\"upId\":\"97297705801___1\",\"contactId\":\"Robert Fine\",\"chatRoomId\":null,\"networkConnection\":\"E_MCZ_APP\",\"t\":null,\"ut\":null,\"ts\":\"1463557181507\",\"cType\":\"E_TEXT\",\"cSize\":\"2\",\"cFileLink\":\"\",\"cThumbLink\":\"\",\"imdnMsgId\":\"1463557181667\",\"deliveryStatus\":\"processed\",\"direction\":\"E_OUTGOING\",\"loc\":null,\"isSentPush\":false}",
"error": null,
"destUriList": [{
"sipUri": "sip:97297705801@172.16.1.103:5076",
"route": "sip:172.16.1.103:5076;lr",
"fromUri": null,
"headersList": null
}],
"isParallel": false,
"seqTO": 0,
"activityKey": null,
"eAction": "E_FORWARD",
"respCode": 0
}
[MRG > CommLogic]
POST /CommLogic/api/process/processSipRequest HTTP/1.1
{
"serverUri": "172.16.1.103:5076",
"incomingHostPort": "172.16.1.103:5076",
"method": "MESSAGE",
"origIdentity": "97297705820",
"termIdentity": "97297705801",
"route": null,
"contentType": "message/cpim",
"content": "From: <sip:97297705820@62.90.108.70;tag=1463557181731>\r\nTo: <sip:97297705801@62.90.108.70>\r\nNS: imdn <urn:ietf:params:imdn>\r\nimdn.Message-ID: 1463557181667\r\nDateTime: 2016-05-18T10:39:41.507Z\r\nimdn.Disposition-Notification: positive-delivery, display\r\n\r\nContent-type: application/json; charset=utf-8\r\nContent-length: 393\r\n\r\n{\"contactPic\":null,\"contactName\":null,\"o\":null,\"f\":\"\",\"s\":\"0\",\"m\":\"go\",\"p\":null,\"upId\":\"97297705801___1\",\"contactId\":\"Robert Fine\",\"chatRoomId\":null,\"networkConnection\":\"E_MCZ_APP\",\"t\":null,\"ut\":null,\"ts\":\"1463557181507\",\"cType\":\"E_TEXT\",\"cSize\":\"2\",\"cFileLink\":\"\",\"cThumbLink\":\"\",\"imdnMsgId\":\"1463557181667\",\"deliveryStatus\":\"processed\",\"direction\":\"E_OUTGOING\",\"loc\":null,\"isSentPush\":false}",
"error": null,
"headersList": null,
"destUriList": null,
"eAction": null,
"respCode": 0
}
[CommLogic > MRG]
{
"serverUri": null,
"incomingHostPort": null,
"method": null,
"origIdentity": null,
"termIdentity": null,
"route": null,
"headersList": null,
"contentType": "message/cpim",
"content": "From: <sip:97297705820@62.90.108.70;tag=1463557181731>\r\nTo: <sip:97297705801@62.90.108.70>\r\nNS: imdn <urn:ietf:params:imdn>\r\nimdn.Message-ID: 1463557181667\r\nDateTime: 2016-05-18T10:39:41.507Z\r\nimdn.Disposition-Notification: positive-delivery, display\r\n\r\nContent-type: application/json; charset=utf-8; charset=utf-8\r\nContent-length: 425\r\n\r\n{\"contactPic\":null,\"contactName\":\"Avi Junowicz\",\"o\":\"Avi Junowicz\",\"f\":\"97297705820\",\"s\":\"0\",\"m\":\"go\",\"p\":null,\"upId\":\"97297705820___1\",\"contactId\":\"Avi Junowicz\",\"chatRoomId\":null,\"networkConnection\":\"E_MCZ_APP\",\"t\":null,\"ut\":null,\"ts\":\"1463557181507\",\"cType\":\"E_TEXT\",\"cSize\":\"2\",\"cFileLink\":\"\",\"cThumbLink\":\"\",\"imdnMsgId\":\"1463557181667\",\"deliveryStatus\":\"processed\",\"direction\":\"E_INCOMING\",\"loc\":null,\"isSentPush\":false}",
"error": null,
"destUriList": [{
"sipUri": "sip:ts4fn1ou@[mqtt-broker-host:port]",
"route": null,
"fromUri": null,
"headersList": null
}],
"isParallel": false,
"seqTO": 0,
"activityKey": null,
"eAction": "E_B2B",
"respCode": 0
}
[MRG > Client]
mcx/term/97297705801/activity
{
"action":"create",
"source": "97297705820",
"dest": "97297705801",
"id": "mcx/97297705820/chat/1414931344387", [IRI]
"type":"chat",
"published": "2011-02-10T15:04:55Z",
"metaData": {
"contentType": "message/cpim",
"content": "From: <sip:97297705820@62.90.108.70;tag=1463557181731>\r\nTo: <sip:97297705801@62.90.108.70>\r\nNS: imdn <urn:ietf:params:imdn>\r\nimdn.Message-ID: 1463557181667\r\nDateTime: 2016-05-18T10:39:41.507Z\r\nimdn.Disposition-Notification: positive-delivery, display\r\n\r\nContent-type: application/json; charset=utf-8; charset=utf-8\r\nContent-length: 425\r\n\r\n{\"contactPic\":null,\"contactName\":\"Avi Junowicz\",\"o\":\"Avi Junowicz\",\"f\":\"97297705820\",\"s\":\"0\",\"m\":\"go\",\"p\":null,\"upId\":\"97297705820___1\",\"contactId\":\"Avi Junowicz\",\"chatRoomId\":null,\"networkConnection\":\"E_MCZ_APP\",\"t\":null,\"ut\":null,\"ts\":\"1463557181507\",\"cType\":\"E_TEXT\",\"cSize\":\"2\",\"cFileLink\":\"\",\"cThumbLink\":\"\",\"imdnMsgId\":\"1463557181667\",\"deliveryStatus\":\"processed\",\"direction\":\"E_INCOMING\",\"loc\":null,\"isSentPush\":false}"
}
}
Terminating side send ‘delivered’
[Client > MRG]
mcx/orig/97297705801/activity
{
"action": "update",
"source": "97297705801",
"dest": "97297705820",
"id": "mcx/97297705820/chat/1414931344387", [same IRI because it updates the same imdnMsgId]
"type":"chat",
"published": "2011-02-10T15:04:55Z",
"metaData": {
"contentType": "message/cpim",
"content": "From: sip:97297705801@62.90.108.70\r\nTo: sip:97297705820@62.90.108.70\r\nNS: imdn <urn:ietf:params:imdn>\r\nimdn.Message-ID: 1463557180734 \r\nDateTime: 2016-05-18T10:39:41.507Z\r\n\r\nContent-Disposition: notification\r\nContent-type: message/imdn+xml\r\nContent-length: 256\r\n\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<imdn xmlns=\"urn:ietf:params:xml:ns:imdn\">\r\n<message-id>1463557181667</message-id>\r\n<datetime>2016-05-18T10:39:41.507Z</datetime>\r\n<delivery-notification><status><delivered/></status></delivery-notification>\r\n</imdn>",
}
}
[MRG > CommLogic]
POST /CommLogic/api/process/processSipRequest HTTP/1.1
{
"serverUri": "172.16.1.103:5076",
"incomingHostPort": "q2m7dov4s94u.invalid",
"method": "MESSAGE",
"origIdentity": "97297705801",
"termIdentity": "97297705820",
"route": null,
"contentType": "message/cpim",
"content": "From: sip:97297705801@62.90.108.70\r\nTo: sip:97297705820@62.90.108.70\r\nNS: imdn <urn:ietf:params:imdn>\r\nimdn.Message-ID: 1463557180734 \r\nDateTime: 2016-05-18T10:39:41.507Z\r\n\r\nContent-Disposition: notification\r\nContent-type: message/imdn+xml\r\nContent-length: 256\r\n\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<imdn xmlns=\"urn:ietf:params:xml:ns:imdn\">\r\n<message-id>1463557181667</message-id>\r\n<datetime>2016-05-18T10:39:41.507Z</datetime>\r\n<delivery-notification><status><delivered/></status></delivery-notification>\r\n</imdn>",
"error": null,
"headersList": null,
"destUriList": null,
"eAction": null,
"respCode": 0
}
[CommLogic > MRG]
{
"serverUri": null,
"incomingHostPort": null,
"method": null,
"origIdentity": null,
"termIdentity": null,
"route": null,
"headersList": null,
"contentType": "message/cpim",
"content": "From: sip:97297705801@62.90.108.70\r\nTo: sip:97297705820@62.90.108.70\r\nNS: imdn <urn:ietf:params:imdn>\r\nimdn.Message-ID: 1463557180734 \r\nDateTime: 2016-05-18T10:39:41.507Z\r\n\r\nContent-Disposition: notification\r\nContent-type: message/imdn+xml\r\nContent-length: 256\r\n\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<imdn xmlns=\"urn:ietf:params:xml:ns:imdn\">\r\n<message-id>1463557181667</message-id>\r\n<datetime>2016-05-18T10:39:41.507Z</datetime>\r\n<delivery-notification><status><delivered/></status></delivery-notification>\r\n</imdn>",
"error": null,
"destUriList": [{
"sipUri": "sip:97297705820@172.16.1.103:5076",
"route": "sip:172.16.1.103:5076;lr",
"fromUri": null,
"headersList": null
}],
"isParallel": false,
"seqTO": 0,
"activityKey": null,
"eAction": "E_FORWARD",
"respCode": 0
}
[MRG > CommLogic]
POST /CommLogic/api/process/processSipRequest HTTP/1.1
{
"serverUri": "172.16.1.103:5076",
"incomingHostPort": "172.16.1.103:5076",
"method": "MESSAGE",
"origIdentity": "97297705801",
"termIdentity": "97297705820",
"route": null,
"contentType": "message/cpim",
"content": "From: sip:97297705801@62.90.108.70\r\nTo: sip:97297705820@62.90.108.70\r\nNS: imdn <urn:ietf:params:imdn>\r\nimdn.Message-ID: 1463557180734 \r\nDateTime: 2016-05-18T10:39:41.507Z\r\n\r\nContent-Disposition: notification\r\nContent-type: message/imdn+xml\r\nContent-length: 256\r\n\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<imdn xmlns=\"urn:ietf:params:xml:ns:imdn\">\r\n<message-id>1463557181667</message-id>\r\n<datetime>2016-05-18T10:39:41.507Z</datetime>\r\n<delivery-notification><status><delivered/></status></delivery-notification>\r\n</imdn>",
"error": null,
"headersList": null,
"destUriList": null,
"eAction": null,
"respCode": 0
}
[CommLogic > MRG]
{
"serverUri": null,
"incomingHostPort": null,
"method": null,
"origIdentity": null,
"termIdentity": null,
"route": null,
"headersList": null,
"contentType": "message/cpim",
"content": "From: sip:97297705801@62.90.108.70\r\nTo: sip:97297705820@62.90.108.70\r\nNS: imdn <urn:ietf:params:imdn>\r\nimdn.Message-ID: 1463557180734 \r\nDateTime: 2016-05-18T10:39:41.507Z\r\n\r\nContent-Disposition: notification\r\nContent-type: message/imdn+xml\r\nContent-length: 256\r\n\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<imdn xmlns=\"urn:ietf:params:xml:ns:imdn\">\r\n<message-id>1463557181667</message-id>\r\n<datetime>2016-05-18T10:39:41.507Z</datetime>\r\n<delivery-notification><status><delivered/></status></delivery-notification>\r\n</imdn>",
"error": null,
"destUriList": [{
"sipUri": "sip:FEU804-2-475-0@[mqtt-broker-host:port];user=phone",
"route": null,
"fromUri": null,
"headersList": null
}],
"isParallel": false,
"seqTO": 0,
"activityKey": null,
"eAction": "E_B2B",
"respCode": 0
}
[MRG > Client]
mcx/term/97297705820/activity
{
"action": "update",
"source": "97297705801",
"dest": "97297705820",
"id": "mcx/97297705820/chat/1414931344387",
"type":"chat",
"published": "2011-02-10T15:04:55Z",
"metaData": {
"contentType": "message/cpim",
"content": "From: sip:97297705801@62.90.108.70\r\nTo: sip:97297705820@62.90.108.70\r\nNS: imdn <urn:ietf:params:imdn>\r\nimdn.Message-ID: 1463557180734 \r\nDateTime: 2016-05-18T10:39:41.507Z\r\n\r\nContent-Disposition: notification\r\nContent-type: message/imdn+xml\r\nContent-length: 256\r\n\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<imdn xmlns=\"urn:ietf:params:xml:ns:imdn\">\r\n<message-id>1463557181667</message-id>\r\n<datetime>2016-05-18T10:39:41.507Z</datetime>\r\n<delivery-notification><status><delivered/></status></delivery-notification>\r\n</imdn>",
}
}
Terminating side send 'displayed'
[Client > MRG]
mcx/orig/97297705801/activity
{
"action": "update",
"source": "97297705801",
"dest": "97297705820",
"id": "mcx/97297705820/chat/1414931344387",
"type":"chat",
"published": "2011-02-10T15:04:55Z",
"metaData": {
"contentType": "message/cpim",
"content": "From: sip:97297705801@62.90.108.70\r\nTo: sip:97297705820@62.90.108.70\r\nNS: imdn <urn:ietf:params:imdn>\r\nimdn.Message-ID: 1463557185247 \r\nDateTime: 2016-05-18T10:39:41.507Z\r\n\r\nContent-Disposition: notification\r\nContent-type: message/imdn+xml\r\nContent-length: 254\r\n\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<imdn xmlns=\"urn:ietf:params:xml:ns:imdn\">\r\n<message-id>1463557181667</message-id>\r\n<datetime>2016-05-18T10:39:41.507Z</datetime>\r\n<display-notification><status><displayed/></status></display-notification>\r\n</imdn>",
}
}
[MRG > CommLogic]
POST /CommLogic/api/process/processSipRequest HTTP/1.1
{
"serverUri": "172.16.1.103:5076",
"incomingHostPort": "q2m7dov4s94u.invalid",
"method": "MESSAGE",
"origIdentity": "97297705801",
"termIdentity": "97297705820",
"route": null,
"contentType": "message/cpim",
"content": "From: sip:97297705801@62.90.108.70\r\nTo: sip:97297705820@62.90.108.70\r\nNS: imdn <urn:ietf:params:imdn>\r\nimdn.Message-ID: 1463557185247 \r\nDateTime: 2016-05-18T10:39:41.507Z\r\n\r\nContent-Disposition: notification\r\nContent-type: message/imdn+xml\r\nContent-length: 254\r\n\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<imdn xmlns=\"urn:ietf:params:xml:ns:imdn\">\r\n<message-id>1463557181667</message-id>\r\n<datetime>2016-05-18T10:39:41.507Z</datetime>\r\n<display-notification><status><displayed/></status></display-notification>\r\n</imdn>",
"error": null,
"headersList": null,
"destUriList": null,
"eAction": null,
"respCode": 0
}
[CommLogic > MRG]
{
"serverUri": null,
"incomingHostPort": null,
"method": null,
"origIdentity": null,
"termIdentity": null,
"route": null,
"headersList": null,
"contentType": "message/cpim",
"content": "From: sip:97297705801@62.90.108.70\r\nTo: sip:97297705820@62.90.108.70\r\nNS: imdn <urn:ietf:params:imdn>\r\nimdn.Message-ID: 1463557185247 \r\nDateTime: 2016-05-18T10:39:41.507Z\r\n\r\nContent-Disposition: notification\r\nContent-type: message/imdn+xml\r\nContent-length: 254\r\n\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<imdn xmlns=\"urn:ietf:params:xml:ns:imdn\">\r\n<message-id>1463557181667</message-id>\r\n<datetime>2016-05-18T10:39:41.507Z</datetime>\r\n<display-notification><status><displayed/></status></display-notification>\r\n</imdn>",
"error": null,
"destUriList": [{
"sipUri": "sip:97297705820@172.16.1.103:5076",
"route": "sip:172.16.1.103:5076;lr",
"fromUri": null,
"headersList": null
}],
"isParallel": false,
"seqTO": 0,
"activityKey": null,
"eAction": "E_FORWARD",
"respCode": 0
}
[MRG > CommLogic]
POST /CommLogic/api/process/processSipRequest HTTP/1.1
{
"serverUri": "172.16.1.103:5076",
"incomingHostPort": "172.16.1.103:5076",
"method": "MESSAGE",
"origIdentity": "97297705801",
"termIdentity": "97297705820",
"route": null,
"contentType": "message/cpim",
"content": "From: sip:97297705801@62.90.108.70\r\nTo: sip:97297705820@62.90.108.70\r\nNS: imdn <urn:ietf:params:imdn>\r\nimdn.Message-ID: 1463557185247 \r\nDateTime: 2016-05-18T10:39:41.507Z\r\n\r\nContent-Disposition: notification\r\nContent-type: message/imdn+xml\r\nContent-length: 254\r\n\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<imdn xmlns=\"urn:ietf:params:xml:ns:imdn\">\r\n<message-id>1463557181667</message-id>\r\n<datetime>2016-05-18T10:39:41.507Z</datetime>\r\n<display-notification><status><displayed/></status></display-notification>\r\n</imdn>",
"error": null,
"headersList": null,
"destUriList": null,
"eAction": null,
"respCode": 0
}
[CommLogic > MRG]
{
"serverUri": null,
"incomingHostPort": null,
"method": null,
"origIdentity": null,
"termIdentity": null,
"route": null,
"headersList": null,
"contentType": "message/cpim",
"content": "From: sip:97297705801@62.90.108.70\r\nTo: sip:97297705820@62.90.108.70\r\nNS: imdn <urn:ietf:params:imdn>\r\nimdn.Message-ID: 1463557185247 \r\nDateTime: 2016-05-18T10:39:41.507Z\r\n\r\nContent-Disposition: notification\r\nContent-type: message/imdn+xml\r\nContent-length: 254\r\n\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<imdn xmlns=\"urn:ietf:params:xml:ns:imdn\">\r\n<message-id>1463557181667</message-id>\r\n<datetime>2016-05-18T10:39:41.507Z</datetime>\r\n<display-notification><status><displayed/></status></display-notification>\r\n</imdn>",
"error": null,
"destUriList": [{
"sipUri": "sip:FEU804-2-475-0@172.16.1.249:5065;user=phone",
"route": null,
"fromUri": null,
"headersList": null
}],
"isParallel": false,
"seqTO": 0,
"activityKey": null,
"eAction": "E_B2B",
"respCode": 0
}
[MRG > Client]
mcx/term/97297705820/activity
{
"action": "update",
"source": "97297705801",
"dest": "97297705820",
"id": "mcx/97297705820/chat/1414931344387",
"type":"chat",
"published": "2011-02-10T15:04:55Z",
"metaData": {
"contentType": "message/cpim",
"content": "From: sip:97297705801@62.90.108.70\r\nTo: sip:97297705820@62.90.108.70\r\nNS: imdn <urn:ietf:params:imdn>\r\nimdn.Message-ID: 1463557185247 \r\nDateTime: 2016-05-18T10:39:41.507Z\r\n\r\nContent-Disposition: notification\r\nContent-type: message/imdn+xml\r\nContent-length: 254\r\n\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<imdn xmlns=\"urn:ietf:params:xml:ns:imdn\">\r\n<message-id>1463557181667</message-id>\r\n<datetime>2016-05-18T10:39:41.507Z</datetime>\r\n<display-notification><status><displayed/></status></display-notification>\r\n</imdn>",
}
}
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 sign in to comment