Open Jane-Fan opened 6 years ago
Please see the "Path" header in the below sip message. The aiosip does not use the "Path" header address to send back the reply message. Instead, it ignores it and uses the "Contact" header to send back its reply message.
SIP m:3076463 0000 02272--- PROXY TX --> To UDP(5):10.10.12.12:5060 REGISTER sip:10.10.12.12:5060 SIP/2.0 Via: SIP/2.0/UDP 10.10.11.36:6060;branch=z9hG4bK0414.c4367c67.0940F4DD2CA3E703E1E12A2701AAE2E71762437;vsrq=225B651DC43A735F13D070BC2D0CB9E2O3VyaWRlc3Q9c2lwOjEwLjEwLjEyLjEyO2lwZGVzdD0wQzB1 Via: SIP/2.0/UDP 10.10.11.37:5060;rport=5060;branch=z9hG4bK-vega1-0003-0000-007A-74A67EA9;received=10.10.11.37 From: sip:1234@10.10.12.12;tag=0000-0000-8F40F114 To: sip:1234@10.10.12.12 Call-ID: 0-00000000-0000-007A-63F34F78-00000063@4405E90B416D9FEBE CSeq: 762437 REGISTER Contact: sip:1234@10.10.11.37:5060 Expires: 600 User-Agent: VEGAARM/16.02.12.0xS001.2 Supported: replaces, timer, privacy, norefersub, pw-info-package Max-Forwards: 69 Content-Length: 0 Path: <sip:10.10.11.36:6060;lr;vxa=9BD9E6179C75EA35C3900FDCB09539ADFA01C3913BF8B44B01EA963BF8B44B;xstvs=0000-0000-8F40F114> Require: path
Please see the "Path" header in the below sip message. The aiosip does not use the "Path" header address to send back the reply message. Instead, it ignores it and uses the "Contact" header to send back its reply message.
SIP m:3076463 0000 02272--- PROXY TX --> To UDP(5):10.10.12.12:5060 REGISTER sip:10.10.12.12:5060 SIP/2.0 Via: SIP/2.0/UDP 10.10.11.36:6060;branch=z9hG4bK0414.c4367c67.0940F4DD2CA3E703E1E12A2701AAE2E71762437;vsrq=225B651DC43A735F13D070BC2D0CB9E2O3VyaWRlc3Q9c2lwOjEwLjEwLjEyLjEyO2lwZGVzdD0wQzB1 Via: SIP/2.0/UDP 10.10.11.37:5060;rport=5060;branch=z9hG4bK-vega1-0003-0000-007A-74A67EA9;received=10.10.11.37 From: sip:1234@10.10.12.12;tag=0000-0000-8F40F114 To: sip:1234@10.10.12.12 Call-ID: 0-00000000-0000-007A-63F34F78-00000063@4405E90B416D9FEBE CSeq: 762437 REGISTER Contact: sip:1234@10.10.11.37:5060 Expires: 600 User-Agent: VEGAARM/16.02.12.0xS001.2 Supported: replaces, timer, privacy, norefersub, pw-info-package Max-Forwards: 69 Content-Length: 0 Path: <sip:10.10.11.36:6060;lr;vxa=9BD9E6179C75EA35C3900FDCB09539ADFA01C3913BF8B44B01EA963BF8B44B;xstvs=0000-0000-8F40F114> Require: path