Closed vdharashive closed 3 months ago
Refer Request-URI is composed base on contact address of invite packet in below case it is composed as
REFER sip:sender@example.com:5060;transport=tcp;gsid=42434343;asm=45
rather it should be composed as REFER sip:sender@example.com:5060;transport=tcp
remove non sip query parameters
INVITE sip:recipient@example.com SIP/2.0 Via: SIP/2.0/UDP example.com:5060 From: sip:sender@example.com;tag=1234 To: sip:recipient@example.com Call-ID: 98765@example.com CSeq: 1 INVITE Contact: sip:sender@example.com:5060;transport=tcp:gsid=42434343;asm=45" Content-Type: application/sdp Content-Length: [length]
v=0 o=user1 53655765 2353687637 IN IP4 example.com s=- c=IN IP4 192.0.2.1 t=0 0 m=audio 49172 RTP/AVP 0 a=rtpmap:0 PCMU/8000
REFER sip:sender@example.com:5060;transport=tcp:gsid=42434343;asm=45 SIP/2.0 Via: SIP/2.0/UDP example.com:5060 From: sip:sender@example.com;tag=5678 To: sip:recipient@example.com Call-ID: 98765@example.com CSeq: 2 REFER Contact: sip:sender@example.com:gsid=42434343;asm=45" Refer-To: sip:recipient@example.com Refer-Sub: sip:referee@example.com Content-Length: 0
not required
Refer Request-URI is composed base on contact address of invite packet in below case it is composed as
REFER sip:sender@example.com:5060;transport=tcp;gsid=42434343;asm=45
rather it should be composed as REFER sip:sender@example.com:5060;transport=tcp
remove non sip query parameters
INVITE sip:recipient@example.com SIP/2.0 Via: SIP/2.0/UDP example.com:5060 From: sip:sender@example.com;tag=1234 To: sip:recipient@example.com Call-ID: 98765@example.com CSeq: 1 INVITE Contact: sip:sender@example.com:5060;transport=tcp:gsid=42434343;asm=45" Content-Type: application/sdp Content-Length: [length]
v=0 o=user1 53655765 2353687637 IN IP4 example.com s=- c=IN IP4 192.0.2.1 t=0 0 m=audio 49172 RTP/AVP 0 a=rtpmap:0 PCMU/8000
REFER sip:sender@example.com:5060;transport=tcp:gsid=42434343;asm=45 SIP/2.0 Via: SIP/2.0/UDP example.com:5060 From: sip:sender@example.com;tag=5678 To: sip:recipient@example.com Call-ID: 98765@example.com CSeq: 2 REFER Contact: sip:sender@example.com:gsid=42434343;asm=45" Refer-To: sip:recipient@example.com Refer-Sub: sip:referee@example.com Content-Length: 0