<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><br>Greetings:<br><br>I have a scenario as below:<br><pre>Proxy-1 ---(A)---> Proxy-2
<----(B)------------</pre><br>(A) := Initial Invite from proxy-1 to proxy-2<br>(B) := proxy-2 modifies the $rd and sends the initial Invite back to proxy-1<br><br>Question:<br>How can the proxy-1 knows that the coming Invite was originally sent by itself?<br><br>It seems the match_dialog() doesn't work for this situation:<br><br>dialog:: hash=3514:62628069"7"<br> state:: 2<br> user_flags:: 65536<br> timestart:: 0<br> timeout:: 0<br> callid:: a7ab8ff06766fabe1b4846712fba1051@10.242.65.162<br> from_uri:: sip:19905635611@10.242.65.162<br> to_uri:: sip:19905591214@external-sip.vocalocity.com<br> caller_tag:: 14174341581400528279229<br> caller_contact:: sip:19905635611@10.242.65.162:5060<br> callee_cseq:: 0<br> caller_route_set::<br> caller_bind_addr:: udp:10.116.239.217:5060<br> callee_tag:: 16423468221400528279248<br> callee_contact::<br> caller_cseq:: 102<br> callee_route_set::<br> callee_bind_addr:: udp:10.116.239.217:5060<br><br><br>dialog:: hash=3514:62628069"8"<br> state:: 2<br> user_flags:: 65536<br> timestart:: 0<br> timeout:: 0<br> callid:: a7ab8ff06766fabe1b4846712fba1051@10.242.65.162<br> from_uri:: sip:19905635611@10.242.65.162<br> to_uri:: sip:19905591214@external-sip.vocalocity.com<br> caller_tag:: 14174341581400528279229<br> caller_contact::<br> callee_cseq:: 0<br> caller_route_set::<br> caller_bind_addr:: udp:10.116.239.217:5060<br> callee_tag:: 16423468221400528279248<br> callee_contact::<br> caller_cseq:: 102<br> callee_route_set::<br> callee_bind_addr:: udp:10.116.239.217:5060<br><br><br>Regards,<br>Frank<br>                                            </div></body>
</html>