Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
tutorials:alias-example [2011/04/22 20:27] 87.93.81.21 |
tutorials:alias-example [2011/04/22 21:09] 87.93.81.21 |
||
---|---|---|---|
Line 6: | Line 6: | ||
* Request-URI in requests to UAs behind NATs is always what UAs expect | * Request-URI in requests to UAs behind NATs is always what UAs expect | ||
- | * Re-use of tcp sessions between proxy and UAs (optional) | + | * Re-use of tcp/tls sessions between proxy and UAs |
In the example below only functions related to signaling are shown. | In the example below only functions related to signaling are shown. | ||
Line 50: | Line 50: | ||
===== Register Requests ===== | ===== Register Requests ===== | ||
- | Call fix_nated_register() on register requests, if registering | + | Call fix_nated_register() on register requests, if registering |
- | behind | + | behind |
< | < | ||
route [REGISTER_REQUESTS] { | route [REGISTER_REQUESTS] { | ||
... | ... | ||
- | if (isflagset(FROM_NATED) || (proto == TCP) || (proto == TLS)) { | + | if (isflagset(FROM_NATED) || (proto |
fix_nated_register(); | fix_nated_register(); | ||
if (isflagset(FROM_NATED)) { | if (isflagset(FROM_NATED)) { |