Looks like sipping does not work with TCP transport. I looked at the code it
expects the
client waits on UDP port.
code snippet from nathelper.c
if (curi.proto != PROTO_UDP && curi.proto != PROTO_NONE)
continue;
I would like it to use TCP transport and send
Finally, I figured what is going on. The client is the culprit. I am using
pjsip library
which by default is configured to rewrite the Contact Header when it
detects a change
in IP address in response. It is basically Unregistering the Private address
contact and Registering the public IP contact
I looked at the source code. Updating cflags seems straight forward. I even
did upgrade of
the kamailio to latest. The behavior is the same with the upgraded -the
cflags in userlocation are not getting updated. Also, the received column is
not being set either.
Domain:: location table=512 records=
Hi,
I am hitting bit of a wall here.
- I am setting bflags for NAT, and SIPPING before save("location") however,
when I do "kamctl ul show", the Cflag is 0.
I also checked see if the bflags are set or not in the register routine -
they are being set.
What am I missing?
snippets of the config