[Serusers] how to catch in-dialog INVITEs to NATed user?

Klaus Darilion klaus.mailinglists at pernau.at
Tue Mar 23 02:04:46 CET 2004


Hi!

I just came along a problem in the following scenario: user with public 
IP calls a NATed user. The first INVITE causes a lookup("location") 
which also sets the natflag (usually flag 6).

Then I check if flag 6 is set and will force the RTP proxy if it is set. 
  If the public client sends an in-dialog reINVITE, the reINVITE is 
processed by the loose_route block and there is no lookup("location") 
for those request. So, how can I find out that the request will be 
forwarded to a NATed user (to force the RTP proxy)?

regards,
Klaus





More information about the sr-users mailing list