[OpenSIPS-Users] receive port during call process

Denis Putyato denis7979 at mail.ru
Tue Dec 21 11:48:22 CET 2010


 

Hello!

 

I have a such problem.

 

Opensips using 2 ports 

One – 5068 for client which must register  on Opensips

Second – 5060 for all other clients.

 

1)      Client А registering on Opensips (socket: udp:2.2.2.2:5068). Client A is behind NAT.

2)      Client А receives incoming call (via lookup() function).

3)      Call has such way

Cisco (source port 11111 sends  INVITE to port 5060 of Opensips) – Opensips (receives INVITE from Cisco to port 5060 and sends the INVITE to client from source port 5068 to some client`s port) – Client A. 

Everything work fine until client А answers. Then Client A sends to Opensips (port 5068) 200 OK, Opensips retransmit it to Cisco (from port 5060 to 11111), Cisco sends to Opensips ACK (from port 11111 to 5060) AND Opensips retransmit this ACK to client`s port FROM PORT 5060, BUT NOT 5068. This ACK didn`t reach client A because of NAT.

 

Thank you for any help.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20101221/abd9aa40/attachment.htm>


More information about the Users mailing list