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:: [email protected]
        from_uri:: sip:[email protected]
        to_uri:: sip:[email protected]
        caller_tag:: 14174341581400528279229
        caller_contact:: sip:[email protected]: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:: [email protected]
        from_uri:: sip:[email protected]
        to_uri:: sip:[email protected]
        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
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to