[Kamailio-Devel] PUA_BLA generates SUBSCRIBE to IP in REGISTER Contact regardless of the "received" parameter

Iñaki Baz Castillo ibc at aliax.net
Sat Oct 18 23:48:26 CEST 2008


Hi, I'm trying PUA_BLA with phones behind NAT.

When the REGISTER arrives I do ""fix_nated_register()" so the original 
Contact:
  Contact: <sip:user at 192.168.1.100:5060>
becomes:
  Contact: <sip:user at 192.168.1.100:5060;received=80.80.12.54:34567>


After that I do "bla_set_flag()" so PUA_BLA generates a SUBSCRIBE that should 
arrive to the UA, but PUA_BLA generates it:

  SUBSCRIBE sip:user at 192.168.1.100:5060

So this SUBSCRIBE will never arrive to the UAC since it's a private IP. The 
SUBSCRIBE should be sent to the "received" parameter (added before) but I 
don't know how to achieve it.

Thanks for any suggestion. 

-- 
Iñaki Baz Castillo



More information about the Devel mailing list