Via head in sip protocol?

#1
Hello,

I have one question about Via header in SIP protocol...

1. Via Header.
So let's say that my private IP address is 1.2.3.4 and public IP
address is 5.6.7.8..and say I am going to connect to some proxy SIP
server(somesipserver.com:5060)...

Via: SIP/2.0/??? a.b.c.d:x;branch=z9hG4bKwhatever2;rport

If I used TCP connection to connect the sip server then, is this going
to be SIP/2.0/TCP?
If I used UDP connection to connect the sip server then, is this going
to be SIP/2.0/UDP?

a.b.c.d : is this going to be my private IP address or public IP
address?

x -> what port am I supposed to specify? is this one that local port
number has been connected to the proxy server? Say my local port 12345 has
been connected to the remote proxy server..in this case, 12345 has to be
specified?

Thanks,

Who is online

Users browsing this forum: No registered users and 1 guest

Copyright 2004 - 2017, iNet Telecoms® Ltd. All rights reserved.