diff --git a/src/modules/path/doc/path_admin.xml b/src/modules/path/doc/path_admin.xml index 946dfdca62a..31b8a572d90 100644 --- a/src/modules/path/doc/path_admin.xml +++ b/src/modules/path/doc/path_admin.xml @@ -10,9 +10,9 @@ - + &adminguide; - +
Overview @@ -22,9 +22,9 @@ for evaluating this parameter in subsequent requests and to set the destination &uri; according to it.
- Path insertion for registrations + Path Insertion For Registrations - For registrations in a scenario like [UAC] -> [P1] -> [REG], + For registrations in a scenario like [UAC] -> [P1] -> [REG], the "path" module can be used at the intermediate proxy P1 to insert a Path header into the message before forwarding it to the registrar REG. Two functions can be used to achieve this: @@ -46,7 +46,7 @@ add_path_received(...) also add a Path header in the same form as above, but also adds a parameter indicating the received-&uri; - of the message, like + of the message, like Path: <sip:1.2.3.4;received=sip:2.3.4.5:1234;lr>. This is especially useful if the proxy does NAT detection and wants to pass the NAT'ed address to the registrar. @@ -58,7 +58,17 @@ + Note that some SIP registrars may check if header Supported includes 'path'. It + can be added in &kamailio;.cfg using append_hf() from textops module. + + Add Supported header + +... +append_hf("Supported: path\r\n"); +... + +
Outbound routing to NAT'ed UACs