Module: kamailio
Branch: master
Commit: 9775f8c8ab14ef46844f9da00cacb6935cdd0c21
URL: 
https://github.com/kamailio/kamailio/commit/9775f8c8ab14ef46844f9da00cacb6935cdd0c21

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date: 2025-10-14T12:20:36+02:00

dialog: docs for dlg_refer_did(...)

---

Modified: src/modules/dialog/doc/dialog_admin.xml

---

Diff:  
https://github.com/kamailio/kamailio/commit/9775f8c8ab14ef46844f9da00cacb6935cdd0c21.diff
Patch: 
https://github.com/kamailio/kamailio/commit/9775f8c8ab14ef46844f9da00cacb6935cdd0c21.patch

---

diff --git a/src/modules/dialog/doc/dialog_admin.xml 
b/src/modules/dialog/doc/dialog_admin.xml
index 9951b35daaf..2deb2ccbd27 100644
--- a/src/modules/dialog/doc/dialog_admin.xml
+++ b/src/modules/dialog/doc/dialog_admin.xml
@@ -2077,6 +2077,51 @@ dlg_refer("caller", "sip:[email protected]");
                </example>
        </section>
 
+       <section id="dialog.f.dlg_refer_did">
+               <title>
+               <function moreinfo="none">dlg_refer_did(h_entry, h_id, side, 
address)</function>
+               </title>
+               <para>
+               Refer the 'side' of the identified dialog to a new SIP 
'address'.
+               </para>
+               <para>Meaning of the parameters is as follows:</para>
+               <itemizedlist>
+               <listitem>
+                       <para><emphasis>h_entry</emphasis> - hash entry of the 
dialog in the
+                       internal dialog table
+                       </para>
+               </listitem>
+               <listitem>
+                       <para><emphasis>h_id</emphasis> - hash id of the dialog 
on the hash
+                       entry
+                       </para>
+               </listitem>
+               <listitem>
+                       <para><emphasis>side</emphasis> - which side of the 
dialog to REFER. It can be:
+                               'caller' or 'callee'.
+                       </para>
+               </listitem>
+               <listitem>
+                       <para><emphasis>address</emphasis> - SIP address to 
refer to.
+                       </para>
+               </listitem>
+               </itemizedlist>
+               <para>
+               The parameters can contain variables.
+               </para>
+               <para>
+               This function can be used from ANY_ROUTE.
+               </para>
+               <example>
+               <title><function>dlg_refer_did</function> usage</title>
+               <programlisting format="linespecific">
+...
+dlg_refer_did("246","468", "caller", "sip:[email protected]");
+...
+</programlisting>
+               </example>
+       </section>
+
        <section id="dialog.f.dlg_manage">
                <title>
                <function moreinfo="none">dlg_manage()</function>

_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to