[OpenSIPS-Users] hairpin and outside of dialog detection
frank fox
franklyfox at outlook.com
Tue May 20 20:48:17 CEST 2014
Greetings:
I have a scenario as below:
Proxy-1 ---(A)---> Proxy-2
<----(B)------------
(A) := Initial Invite from proxy-1 to proxy-2
(B) := proxy-2 modifies the $rd and sends the initial Invite back to proxy-1
Question:
How can the proxy-1 knows that the coming Invite was originally sent by itself?
It seems the match_dialog() doesn't work for this situation:
dialog:: hash=3514:62628069"7"
state:: 2
user_flags:: 65536
timestart:: 0
timeout:: 0
callid:: a7ab8ff06766fabe1b4846712fba1051 at 10.242.65.162
from_uri:: sip:19905635611 at 10.242.65.162
to_uri:: sip:19905591214 at external-sip.vocalocity.com
caller_tag:: 14174341581400528279229
caller_contact:: sip:19905635611 at 10.242.65.162:5060
callee_cseq:: 0
caller_route_set::
caller_bind_addr:: udp:10.116.239.217:5060
callee_tag:: 16423468221400528279248
callee_contact::
caller_cseq:: 102
callee_route_set::
callee_bind_addr:: udp:10.116.239.217:5060
dialog:: hash=3514:62628069"8"
state:: 2
user_flags:: 65536
timestart:: 0
timeout:: 0
callid:: a7ab8ff06766fabe1b4846712fba1051 at 10.242.65.162
from_uri:: sip:19905635611 at 10.242.65.162
to_uri:: sip:19905591214 at external-sip.vocalocity.com
caller_tag:: 14174341581400528279229
caller_contact::
callee_cseq:: 0
caller_route_set::
caller_bind_addr:: udp:10.116.239.217:5060
callee_tag:: 16423468221400528279248
callee_contact::
caller_cseq:: 102
callee_route_set::
callee_bind_addr:: udp:10.116.239.217:5060
Regards,
Frank
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140520/9106835b/attachment.htm>
More information about the Users
mailing list