[SR-Users] Presence data to users behind NAT

Olli Attila olli.attila at oatel.net
Sat Mar 21 11:29:47 CET 2015


Hello,

Im running kamailio 4.2.3 and I'm trying to build a system where I could 
have the following features: SIP proxy, RTP proxy, Presence & XCAP 
service for IM messaging.

I have a problem with the Presence service with users that are located 
behind nat. When Kamailio sends presence info to a watcher with sip 
NOTIFY message, the destaination ip for the pacage seems to be an 
un-routable (=private) ip, and so the watcher never receives the NOTIFY 
message making the watchers sip client unaware of the other users presence.

Any suggestions how to make Kamailio handle the watchers behind nat so 
that the NOTIFY messages will get delivered succesfully?

I tried the scenario with a client with public ip and the presence works 
fine.

my kamailio.cfg:
http://tny.cz/7d85773c

-- Olli



More information about the sr-users mailing list