[OpenSIPS-Users] ACK did not Receive on Proxy and get in loop

Hamid Hashmi hamid2kviii at hotmail.com
Thu Sep 3 08:29:32 CEST 2015


Dear Bogdan and Sammy
200 OK received to Alice is as follows
SIP/2.0 200 OkVia: SIP/2.0/UDP 203.215.176.22:43912;received=203.215.176.22;branch=z9hG4bK-d87543-769673078-1--d87543-;rport=48008From: 923071000201<sip:923071000201 at sip.realm.com>;tag=450fb754To: <sip:00923071000202 at sip.realm.com>;tag=b1UXiUxCall-ID: ac263a229e15d211CSeq: 3 INVITEUser-Agent: LinphoneAndroid/2.5.0 (belle-sip/1.4.1)Supported: outboundAllow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO, UPDATEContact: <sip:923071000202 at proxy.com:1234>;+sip.instance="<urn:uuid:05d62157-0f77-46f8-9dee-5c37a646cbc6>"Content-Type: application/sdpContent-Length: 181
Record-route: <sip:proxy.com:1234;lr>Record-route: <sip:00923071000202 at sipuas.com:1234;lr;ftag=450fb754;did=1cd.ad2b02c7>
While Alice send ACK as Follows
ACK sip:923071000202 at proxy.com:1234 SIP/2.0To: <sip:00923071000202 at sip.realm.com>;tag=b1UXiUxFrom: 923071000201<sip:923071000201 at sip.realm.com>;tag=450fb754Via: SIP/2.0/UDP 203.215.176.22:43912;branch=z9hG4bK-d87543-546180712-1--d87543-;rportCall-ID: ac263a229e15d211CSeq: 3 ACK
Route: <sip:00923071000202 at sipuas.com:1234;lr;ftag=450fb754;did=1cd.ad2b02c7>Route: <sip:proxy.com:1234;lr>
Contact: <sip:923071000201 at 203.215.176.22:50056>Max-Forwards: 70Proxy-Authorization: Digest username="923071000201",realm="sip.realm.com",nonce="55e6f4533b45a508ef98ccd396274bf65ba99882",uri="sip:00923071000202 at sip.realm.com:1234",response="5eea832060c8218b4229a8623d26bf1d",cnonce="825a886fc914ef2a",nc=00000001,qop=auth,algorithm=MD5User-Agent: eyeBeam release 3007n stamp 17816Content-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 ?
RegardsHamid R. Hashmi 
Date: Wed, 2 Sep 2015 11:11:28 -0400
From: govoiper at gmail.com
To: users at lists.opensips.org
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" <hamid2kviii at hotmail.com> 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               |                |     .                .                .                .     .                .                .                .     .                .                .                .
     
RegardsHamid R. Hashmi 		 	   		  

_______________________________________________

Users mailing list

Users at lists.opensips.org

http://lists.opensips.org/cgi-bin/mailman/listinfo/users




_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150903/4d23446f/attachment-0001.htm>


More information about the Users mailing list