Hi Hamid,
There is something wrong with the contact in the 200 OK - as you see,
the 200 OK reply from proxy to Alice contains in the Contact header the
IP of the the proxy, while it should contain the IP address of BOB (the
issuer of that reply).
Because of that bogus Contact header, the whole in-dialog routing (for
the ACK) gets broken.
Best Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 03.09.2015 09:29, Hamid Hashmi wrote:
Dear Bogdan and Sammy
200 OK received to Alice is as follows
SIP/2.0 200 Ok
Via: SIP/2.0/UDP
203.215.176.22:43912;received=203.215.176.22;branch=z9hG4bK-d87543-769673078-1--d87543-;rport=48008
From: 923071000201<sip:[email protected]>;tag=450fb754
To: <sip:[email protected]>;tag=b1UXiUx
Call-ID: ac263a229e15d211
CSeq: 3 INVITE
User-Agent: LinphoneAndroid/2.5.0 (belle-sip/1.4.1)
Supported: outbound
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE,
SUBSCRIBE, INFO, UPDATE
Contact:
<sip:[email protected]:1234>;+sip.instance="<urn:uuid:05d62157-0f77-46f8-9dee-5c37a646cbc6>"
Content-Type: application/sdp
Content-Length: 181
*Record-route: <sip:proxy.com:1234;lr>*
*Record-route:
<sip:[email protected]:1234;lr;ftag=450fb754;did=1cd.ad2b02c7>*
While Alice send ACK as Follows
ACK sip:[email protected]:1234 SIP/2.0
To: <sip:[email protected]>;tag=b1UXiUx
From: 923071000201<sip:[email protected]>;tag=450fb754
Via: SIP/2.0/UDP
203.215.176.22:43912;branch=z9hG4bK-d87543-546180712-1--d87543-;rport
Call-ID: ac263a229e15d211
CSeq: 3 ACK
*Route:
<sip:[email protected]:1234;lr;ftag=450fb754;did=1cd.ad2b02c7>*
*Route: <sip:proxy.com:1234;lr>*
*
*
Contact: <sip:[email protected]:50056>
Max-Forwards: 70
Proxy-Authorization: Digest
username="923071000201",realm="sip.realm.com",nonce="55e6f4533b45a508ef98ccd396274bf65ba99882",uri="sip:[email protected]:1234",response="5eea832060c8218b4229a8623d26bf1d",cnonce="825a886fc914ef2a",nc=00000001,qop=auth,algorithm=MD5
User-Agent: eyeBeam release 3007n stamp 17816
Content-Length: 0
ACK must be sent to TOP most Record-route first but its going to
sceond Record-route first. Is it a correct behavior ?
Regards
Hamid R. Hashmi
------------------------------------------------------------------------
Date: Wed, 2 Sep 2015 11:11:28 -0400
From: [email protected]
To: [email protected]
Subject: Re: [OpenSIPS-Users] ACK did not Receive on Proxy and get in loop
I beleive you have to engage NAT corrections in reply route for 200OK.
I havent seen your SIP trace but if im Comtaact header the IP is of
UAS and it goes to the caller side ACK will get directly to that IP.
Just my guess. Need more info from you.
Regards,
Sammy
On Sep 2, 2015 10:24 AM, "Hamid Hashmi" <[email protected]
<mailto:[email protected]>> wrote:
ACK is not receiving on Proxy, It directly goes to UAS and get in
loop at Proxy before relayed to bob. Can you explain why ACK is
going directly to UAS while all other responses going to proxy?
Alice Proxy UAS Bob
| | | |
| INVITE | | |
|--------------->| INVITE | |
| 100 |--------------->| |
|<---------------| INVITE | |
| |<---------------| |
| | | |
| | INVITE |
| |-------------------------------->|
| | | |
| | 180 |
| |<--------------------------------|
| | | |
| | 180 | |
| |--------------->| |
| | | |
| | 180 | |
| 180 |<---------------| |
|<---------------| | |
| | 200 |
| |<--------------------------------|
| | | |
| | 200 | |
| |--------------->| |
| | | |
| | 200 | |
| |<---------------| |
| 200 | | |
|<---------------| | |
| | | |
| ACK | |
|-------------------------------->| |
| | ACK | |
| |<---------------| |
| | | |
| ACK | |
| | | |
| ACK | |
| | | |
| ACK | |
. . . .
. . . .
. . . .
Regards
Hamid R. Hashmi
_______________________________________________
Users mailing list
[email protected] <mailto:[email protected]>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________ Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users