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@10.242.65.162
        from_uri:: sip:19905635611@10.242.65.162
        to_uri:: sip:19905591...@external-sip.vocalocity.com
        caller_tag:: 14174341581400528279229
        caller_contact:: sip:19905635611@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@10.242.65.162
        from_uri:: sip:19905635611@10.242.65.162
        to_uri:: sip:19905591...@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
                                          
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to