I think i have found the source of the problem; my request come from the caller is as follow:

Via: SIP/2.0/TCP 192.168.0.179:33857;branch=z9hG4bK.KpHCWZWuW;rport
From: sip:edi-1@mydomain.com;tag=jS9zm-Q~G
To: sip:edi-2001@mydomain.com
CSeq: 20 INVITE
Call-ID: TAggUqcveg
Max-Forwards: 70
Route: sip:195.206.195.78:5062;transport=tcp;lr
Supported: replaces, outbound
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO, UPDATE
Content-Type: application/sdp
Content-Length: 258
Contact: sip:edi-1@218.118.243.20:54126;transport=tcp;+sip.instance="urn:uuid:dc62b3bd-0e31-41c1-a688-3f9b3cbbd170"
User-Agent: LinphoneAndroid/3.2.7 (belle-sip/1.6.1)

in my script; i make a call to:

if (remove_hf("Contact")) {
append_hf("Contact: sip:$tU@10.42.0.11:5060;transport=TCP\r\n", "Call-ID");
}

so, i think it replaces badly the header "Contact"

Record-Route: sip:10.42.0.11;transport=tcp;lr=on;ftag=jS9zm-Q~G;nat=yes
Via: SIP/2.0/TCP 195.206.195.78:5062;branch=z9hG4bK1d4.1ff4886829747640d9da5b5cc1ea0713.0;i=3
Via: SIP/2.0/TCP 192.168.0.179:33857;received=218.118.243.20;branch=z9hG4bK.KpHCWZWuW;rport=54126
From: sip:edi-1@mydomain.com;tag=jS9zm-Q~G
To: sip:edi-2001@mydomain.com
CSeq: 20 INVITE
Call-ID: TAggUqcveg
Contact: sip:edi-2001@10.42.0.11:5060;transport=TCP
Max-Forwards: 69
Supported: replaces, outbound
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO, UPDATE
Content-Type: application/sdp
Content-Length: 334
sip:edi-1@218.118.243.20:54126;transport=tcpUser-Agent: LinphoneAndroid/3.2.7 (belle-sip/1.6.1)
Path: sip:195.206.195.78:5062;transport=tcp;lr;received=sip:218.118.243.20:54126%3Btransport%3Dtcp

can you advice Please?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.