aiosip icon indicating copy to clipboard operation
aiosip copied to clipboard

Path header is not used for routing

Open Jane-Fan opened this issue 7 years ago • 0 comments

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:[email protected];tag=0000-0000-8F40F114 To: sip:[email protected] Call-ID: 0-00000000-0000-007A-63F34F78-00000063@4405E90B416D9FEBE CSeq: 762437 REGISTER Contact: sip:[email protected]: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

Jane-Fan avatar Mar 05 '18 17:03 Jane-Fan