hello
how to get call id from header? i'm trying to get from connection.alerting.info.sip.headers (which is "Associative array where each key in the array is the non-compact name...." by manual) and for example
connection.alerting.info.sip.headers.to contains TO
connection.alerting.info.sip.headers.contact contains CONTACT
but
connection.alerting.info.sip.headers.call-id - UNDEFINED.
here is part of log
2014.05.13 18:28:22:626 MSK | Info | SessionFile
{ext_collect_2.ccxml-53783-2014.05.13-18.28.22-1172[collectingEXT.vxml].116} <Session tracking> [BroadWorks VoiceXML Session] "N/A" : session.connection:
{
local_uri: "99999@corp.lukoil.com",
remote_uri: "53783@10.155.0.7",
protocol_name: "sip",
protocol_version: "2.0",
redirect: [
{
uri: "unknown",
pi: "unknown",
si: "unknown",
reason: "unknown"
}
],
aai: "unknown",
remote_originator: true,
sip: {
requesturi: {
user: "dialog",
host: "ms2.msk.lukoil.net",
ccxml: "file:///bw/install/vxml/ext_collect_2.ccxml"
},
media: {
0: {
type: "audio",
direction: "sendrecv"
}
},
headers: {
", via: "SIP/2.0/UDP 10.155.0.7;branch=z9hG4bKBroadWorks.sfkdmn-10.155.0.12V5060-0-989723843-1735555190-1399991302533-
", from: ""Andrey Lozovoy"<sip:53783@10.155.0.7;user=phone>;tag=1735555190-1399991302533-
", to: ""test3 sten"<sip:99999@corp.lukoil.com;ccxml=file:///bw/install/vxml/ext_collect_2.ccxml>
", call-id: "BW182822533130514527580825@10.155.0.7
", cseq: "989723843 INVITE
", contact: "<sip:10.155.0.7:5060>
", p-asserted-identity: ""Andrey Lozovoy"<sip:53783@10.155.0.7;user=phone>
", privacy: "none
", allow: "ACK,BYE,CANCEL,INFO,INVITE,OPTIONS,PRACK,REFER,NOTIFY
", accept: "application/media_control+xml,application/sdp,multipart/mixed
", supported: "
", max-forwards: "10
", content-type: "application/sdp
" content-length: "313
}
},
ccxml: {
sessionid: "",
dialogid: "",
connectionid: undefined,
conferenceid: undefined,
values: {
DialedNumber: "99999"
}
},
values: undefined
}
.......
2014.05.13 18:28:22:529 MSK | Warn | SessionFile
{ext_collect_2.ccxml-53783-2014.05.13-18.28.22-1172} <Application message> [CCXML Session Interpreter] "N/A" : Extension collect - Receiving call from 53783@10.155.0.7 to"test3 sten"<sip:99
CALL ID undefinedm;ccxml=file:///bw/install/vxml/ext_collect_2.ccxml>