11/24/2020 0 Comments Sip Alg Test
A NAT router with a built-in SIP ALG can re-write information within the SIP messages (SIP headers and SDP body) making signaling and audio traffic between the client behind NAT and the SIP endpoint possible.While ALG could help in solving NAT related problems, the fact is that most of the routers ALG implementations are wrong and break SIP.
However, ruby-readline is required interactive mode to work. Its also written in Ruby and requires daemons gem installed. The address can be set with -i (IP to bind) and -p (port to bind). Sat Jun 13 22:29:58 2009 INFO: Use -i IP to set the listening IP. Sat Jun 13 22:29:58 2009 INFO: Use -p PORT to set the listening port. Sat Jun 13 22:29:58 2009 INFO: Bind address: 99.98.130.199:5060. DEBUG: Sending SipAlgDetectorClient::InviteRequest to the server. ![]() INFO: There are differences between sent request and received mirrored request. Received by server: Via: SIP2.0UDP 66.111.222.111:5060;branchz9hG4bKe7a074d2e0e180b508243c764c661a7e. Sent from this host: ovpujzk2x 21066632 3068032 IN IP4 192.168.1.102. Received by server: ovpujzk2x 21066632 3068032 IN IP4 66.111.222.111. ![]() INFO: No differences between sent request and received mirrored request. INFO: It seems that your router is not performing ALG for SIP TCP. It behaves as a proxy (inserts a new Via header, decreases Max-Forwards) and also replaces the private IP with the router public IP (Contact header and SDP).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2020
Categories |