Module: kamailio Branch: master Commit: bbf51ef65ecee0b6c8e30abb3738da3436b85692 URL: https://github.com/kamailio/kamailio/commit/bbf51ef65ecee0b6c8e30abb3738da34...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2017-02-09T11:32:45+01:00
path: note in docs that some registrars check for supported header
---
Modified: src/modules/path/doc/path_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/bbf51ef65ecee0b6c8e30abb3738da34... Patch: https://github.com/kamailio/kamailio/commit/bbf51ef65ecee0b6c8e30abb3738da34...
---
diff --git a/src/modules/path/doc/path_admin.xml b/src/modules/path/doc/path_admin.xml index 946dfdc..31b8a57 100644 --- a/src/modules/path/doc/path_admin.xml +++ b/src/modules/path/doc/path_admin.xml @@ -10,9 +10,9 @@ <!-- Module User's Guide -->
<chapter> - + <title>&adminguide;</title> - + <section> <title>Overview</title> <para> @@ -22,9 +22,9 @@ for evaluating this parameter in subsequent requests and to set the destination &uri; according to it. </para> <section> - <title>Path insertion for registrations</title> + <title>Path Insertion For Registrations</title> <para> - For registrations in a scenario like <quote>[UAC] -> [P1] -> [REG]</quote>, + For registrations in a scenario like <quote>[UAC] -> [P1] -> [REG]</quote>, 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 @@ <para> <emphasis>add_path_received(...)</emphasis> 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 <quote>Path: <sip:1.2.3.4;received=sip:2.3.4.5:1234;lr></quote>. 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 @@ </itemizedlist> </para> <para> + 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. </para> + <example> + <title>Add Supported header</title> + <programlisting format="linespecific"> +... +append_hf("Supported: path\r\n"); +... +</programlisting> + </example> </section> <section> <title>Outbound routing to NAT'ed UACs</title>