in my test sip proxy parallel forks the invite to two contacts and two
rtpengine-offers are made with these kind of call-id and via-branch
params:
"call-id": "f33a7e21c57edbf3", "via-branch":
"z9hG4bK79d6.d19587ffadd9f72bca61d9578eb12bd9.0"
"call-id": "f33a7e21c57edbf3", "via-branch":
"z9hG4bK79d6.d19587ffadd9f72bca61d9578eb12bd9.1",
then the via-branch .0 callee answers and rtpengine-answer is sent to
with this kind of call-id and via-branch params:
"call-id": "f33a7e21c57edbf3", "via-branch":
"z9hG4bK79d6.d19587ffadd9f72bca61d9578eb12bd9.0",
after that sip proxy deletes the other branch by sending
rtpengine-delete with this kind of params:
Nov 27 02:25:55 lohi rtpengine[3792]: [f33a7e21c57edbf3] Received command 'delete'
from 127.0.0.1:40700
Nov 27 02:25:55 lohi rtpengine[3792]: [f33a7e21c57edbf3] Dump for 'delete' from
127.0.0.1:40700: { "call-id": "f33a7e21c57edbf3",
"via-branch": "z9hG4bK79d6.d19587ffadd9f72bca61d9578eb12bd9.1",
"received-from": [ "IP4", "127.0.0.1" ],
"from-tag": "3322319973f3909e", "command":
"delete" }
and rtpengine responds:
Nov 27 02:25:55 lohi rtpengine[3792]: [f33a7e21c57edbf3] Response dump for
'delete' to 127.0.0.1:40700: { "created": 1448583951, "last
signal": 1448583955, "tags": { "3322319973f3909e": {
"tag": "3322319973f3909e", "created": 1448583951, "in
dialogue with": "0f6759297b8f1711", "medias": [ {
"index": 1, "type": "audio", "protocol":
"RTP/AVP", "streams": [ { "local port": 53864,
"endpoint": { "family": "IPv4", "address":
"192.98.102.10", "port": 10458 }, "advertised endpoint": {
"family": "IPv4", "address": "192.98.102.10",
"port": 10458 }, "last packet ...
Nov 27 02:25:55 lohi rtpengine[3792]: [f33a7e21c57edbf3] ... ": 1448583951,
"flags": [ "RTP", "filled" ], "stats": {
"packets": 0, "bytes": 0, "errors": 0 } }, { "local
port": 53865, "endpoint": { "family": "IPv4",
"address": "192.98.102.10", "port": 10459 },
"advertised endpoint": { "family": "IPv4",
"address": "192.98.102.10", "port": 10459 }, "last
packet": 1448583951, "flags": [ "RTCP", "filled" ],
"stats": { "packets": 0, "bytes": 0, "errors": 0 }
} ], "flags": [ "initialized", "send", "recv" ] }
] }, "0f6759297b8f1711": { "tag": "0f6759297b8f1711", ...
Nov 27 02:25:55 lohi rtpengine[3792]: [f33a7e21c57edbf3] ... "via-branch":
"z9hG4bK79d6.d19587ffadd9f72bca61d9578eb12bd9.0", "created":
1448583951, "in dialogue with": "3322319973f3909e",
"medias": [ { "index": 1, "type": "audio",
"protocol": "RTP/AVP", "streams": [ { "local
port": 53844, "endpoint": { "family": "IPv4",
"address": "10.0.2.15", "port": 10144 }, "advertised
endpoint": { "family": "IPv4", "address":
"10.0.2.15", "port": 10144 }, "last packet": 1448583951,
"flags": [ "RTP", "RTCP", "filled" ],
"stats": { "packets": 0, "bytes": 0, "errors": 0
...
Nov 27 02:25:55 lohi rtpengine[3792]: [f33a7e21c57edbf3] ... } }, { "local
port": 53845, "endpoint": { "family": "IPv6",
"address": "::", "port": 0 }, "advertised
endpoint": { "family": "IPv6", "address":
"::", "port": 0 }, "last packet": 1448583951,
"flags": [ "RTCP", "fallback RTCP", "filled" ],
"stats": { "packets": 0, "bytes": 0, "errors": 0 }
} ], "flags": [ "initialized", "send", "recv",
"rtcp-mux" ] } ] } }, "totals": { "RTP": {
"packets": 0, "bytes": 0, "errors": 0 }, "RTCP": {
"packets": 0, "bytes": 0, "errors": 0 } },
"result": "ok" }
which then results in deletion of the whole call, i.e., also the branch
that answered.
question: why does rtpengine not do what it is asked to do in rtpengine-delete, i,e.
delete
the offer corresponding to "call-id": "f33a7e21c57edbf3",
"via-branch":
"z9hG4bK79d6.d19587ffadd9f72bca61d9578eb12bd9.1"?
-- juha