Module: kamailio
Branch: master
Commit: 8c441cd88f6198e87a951b5d6d2d4b3d2e0a3123
URL: 
https://github.com/kamailio/kamailio/commit/8c441cd88f6198e87a951b5d6d2d4b3d2e0a3123

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date: 2025-10-16T18:16:50+02:00

dialog: docs for dlg_refer_cid(...)

---

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

---

Diff:  
https://github.com/kamailio/kamailio/commit/8c441cd88f6198e87a951b5d6d2d4b3d2e0a3123.diff
Patch: 
https://github.com/kamailio/kamailio/commit/8c441cd88f6198e87a951b5d6d2d4b3d2e0a3123.patch

---

diff --git a/src/modules/dialog/doc/dialog_admin.xml 
b/src/modules/dialog/doc/dialog_admin.xml
index 2deb2ccbd27..57aca666f80 100644
--- a/src/modules/dialog/doc/dialog_admin.xml
+++ b/src/modules/dialog/doc/dialog_admin.xml
@@ -2077,6 +2077,7 @@ 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>
@@ -2122,6 +2123,45 @@ dlg_refer_did("246","468", "caller", 
"sip:[email protected]");
                </example>
        </section>
 
+       <section id="dialog.f.dlg_refer_cid">
+               <title>
+               <function moreinfo="none">dlg_refer_dcid(callid, side, 
address)</function>
+               </title>
+               <para>
+               Refer the 'side' of the first matching dialog by call-id to a 
new SIP 'address'.
+               </para>
+               <para>Meaning of the parameters is as follows:</para>
+               <itemizedlist>
+               <listitem>
+                       <para><emphasis>callid</emphasis> - call-id of the 
dialog
+                       </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_cid</function> usage</title>
+               <programlisting format="linespecific">
+...
+dlg_refer_cid("abcd-efgh-ijkl", "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