Save() function of the "registrar" module always saves Contact and can
save real source to the "received" field of a location record.
lookup() function uses Contact to form R-URI and puts ip:port from the
received field to the $du.
If $du is present t_relay() uses it to forward a request to a correct
destination.
@Jason
I'm not using any NAT protocol (STUN, ICE, ...) at client. I'm using
the default Kamalio config file 3.3.5. If it is the NAT helping code
in Kamalio, it means that Kamalio is using 3. IP from IP packet ?
On Tue, Apr 2, 2013 at 1:19 PM, Jason Penton
<jason.penton(a)smilecoms.com <mailto:jason.penton@smilecoms.com>> wrote:
There is probably some NAT helping code in your Kamailio config
file. Either that or you are using one the NAT protocols,
(STUN,ICE,etc).
cheers
Jason
On Tue, Apr 2, 2013 at 2:39 AM, Khoa Pham <onmyway133(a)gmail.com
<mailto:onmyway133@gmail.com>> wrote:
@Jason
Thanks, but it strange. I only send 1 REGISTER to the server,
with the Contact field contains my local IP address. How can I
still receive incoming call ?
On Mon, Apr 1, 2013 at 8:10 PM, Jason Penton
<jason.penton(a)smilecoms.com
<mailto:jason.penton@smilecoms.com>> wrote:
2
--
This email has been sent using my phone. It may be brief,
to the point or contain typos.
--
On 1 Apr 2013 14:57, "Khoa Pham" <onmyway133(a)gmail.com
<mailto:onmyway133@gmail.com>> wrote:
Hi, when client send REGISTER message to Kamalio.
Kamailio will save that client's IP to database.
But what is this IP ? Is is 1,2 or 3 ?
1. The IP from Via field
2. The IP from Contact field
3. The IP from the IP packet
Many thanks
--
Khoa Pham
HCMC University of Science
Faculty of Information Technology
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) -
sr-users mailing list
sr-users(a)lists.sip-router.org
<mailto:sr-users@lists.sip-router.org>
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
This email is subject to the disclaimer of Smile Communications (PTY) Ltd.
athttp://www.smilecoms.com/disclaimer
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
mailing list
sr-users(a)lists.sip-router.org
<mailto:sr-users@lists.sip-router.org>
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Khoa Pham
HCMC University of Science
Faculty of Information Technology
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
mailing list
sr-users(a)lists.sip-router.org
<mailto:sr-users@lists.sip-router.org>
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Jason Penton
Senior Manager: Applications and Services
Smile Communications
Johannesburg, South Africa
Phone: +27 83 283 7000
This email is subject to the disclaimer of Smile Communications (PTY) Ltd.
athttp://www.smilecoms.com/disclaimer
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
list
sr-users(a)lists.sip-router.org <mailto:sr-users@lists.sip-router.org>
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Khoa Pham
HCMC University of Science
Faculty of Information Technology
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users