[OpenSIPS-Users] ACK/200 to wrong port

Marcio Veloso Antunes mveloso at tecnologiaip.com.br
Fri Jul 23 17:16:14 CEST 2010


Ok, 

  So in that case all Cisco ATA 186 Version 3.1.1 must use 5060 as it's own 
SIP port.

  Is there a knowlodge base which this kind of information could be stored ?

  Thanks for your help,

  Marcio
  

Em Sex 23 Jul 2010, às 02:33:14, Andrew Pogrebennyk escreveu:
> Marcio,
> 
> This looks like a bug in Cisco ATA186. Cisco A received 200 OK (packet
> no. 32):
> 
> Record-Route: <sip:200.198.184.198:5061;lr=on;ftag=3971837741>
> Contact: <sip:10231 at 187.13.212.160:5081;user=phone;transport=udp>
> 
> And sent ACK sip:10231 at 187.13.212.160 SIP/2.0
> Route: <sip:200.198.184.198:5061;lr=on;ftag=3971837741>
> 
> But it must put remote target URI learned from Contact to Request-URI:
> ACK sip:10231 at 187.13.212.160:5081
> 
> According to RFC 3261:
> 
>     The UAC uses the remote target and route set to build the Request-URI
>     and Route header field of the request.
> 
>     If the route set is empty, the UAC MUST place the remote target URI
>     into the Request-URI.  The UAC MUST NOT add a Route header field to
>     the request.
> 
>     If the route set is not empty, and the first URI in the route set
>     contains the lr parameter (see Section 19.1.1), the UAC MUST place
>     the remote target URI into the Request-URI and MUST include a Route
>     header field containing the route set values in order, including all
>     parameters.
> 
> Hope this helps..
> 
> On 23.07.2010 08:25, Marcio Veloso Antunes wrote:
> > Hi all,
> > 
> >   I am two days working over a mistery on an ACK from a 200 that was
> >   missing.
> >   
> >   I was using 2 cisco ATA 186 both behind NAT, and both on other ports
> >   than
> > 
> > 5060 (one on 5080 and other on 5081).
> > 
> >   When calling eachother the ACK was sent from cisco A to OpenSIPS
> >   (1.6.2)
> > 
> > which processed the ACK and then forwarded to Cisco B.
> > 
> >   The problem is on debug Opensips showed that it forwarded but cisco B
> >   never
> > 
> > received.
> > 
> >   Today i found what was going on. OpenSips was sending to CISCO_B:5060
> >   and
> > 
> > not CISCO_B:5080 as expected.
> > 
> >   I am sending a pdf with every packet of this dialog. If you wish, i can
> >   send
> > 
> > my config script too.
> > 
> >   Thanks in advance,

-- 
Marcio Veloso Antunes
Tecnologia IP Ltda
+55.21.3005.3004 ext. 106
+55.11.3588.0802 ext. 106
+55.21.8539.2949 (mobile)



More information about the Users mailing list