Re: using dlg_refer

Robert Boardman via sr-users <[email protected]>
Newsgroups gmane.comp.voip.ser
Message-ID <DU0PR10MB70967980466CD76FFD4EEB7BA5E0A@DU0PR10MB7096.EURPRD10.PROD.OUTLOOK.COM>
Thanks Ranesh,
It was because I didn't have dlg_manage() in the correct place, its all working now.

Regards
Rob


Robert Boardman
Solution Architect
________________________________
From: Rajneesh Soni <[email protected]>
Sent: Thursday, September 25, 2025 17:58
To: Kamailio (SER) - Users Mailing List <[email protected]>
Cc: Robert Boardman <[email protected]>
Subject: Re: [SR-Users] using dlg_refer

Hi,

1. Can you enable debug logs for dialog module and check what it says.
2. some UAC do not support sip-refer, can you check the sip message flow if client is receiving the sip-refer request.

Regards
Rajneesh


On Thu, Sep 25, 2025 at 9:22 PM Robert Boardman via sr-users <[email protected]<mailto:[email protected]>> wrote:
Hi All,

I'm trying to use dlg_refer to separate to legs of a call and send them to another device,

I think I have setup the system correctly, everything seems to look ok but the call to dlg_refer doesn't do anything , it doesnt even show in the journal that it is failing, just nothing happens

Here is the code:
    #### REFER caller leg
    if ($dlg_var(caller_contact) != $null) {
        xlog("L_INFO", "Sending dlg_refer to caller: $var(conf_uri)\n");
        #dlg_refer("caller", "$var(conf_uri)");
        xlog("L_INFO", ">>> Attempting dlg_refer to caller: $dlg_var(caller_contact)\n");
        if (!dlg_refer("caller", "$var(conf_uri)")) {
            xlog("L_ERR", "dlg_refer to caller FAILED\n");
        } else {
            xlog("L_INFO", "dlg_refer to caller triggered\n");
        }
    }

The dialog state is 4 before the refer is initiated and can be seen from the kamcmd dlg.list.
The caller end point allows REFER

I've ran out of ideas as to where to look, any pointers would be a fantastic help
I'm using Kamailio V5.8.6

Thanks
Rob
Robert Boardman
Solution Architect
Tel:
03330147908<tel:03330147908>
Email:
[email protected]<mailto:[email protected]>
[cid:ii_19981cd3559211e16ff1]
[cid:ii_19981cd355975e903762]
[cid:ii_19981cd3559710ca5313]
[cid:ii_19981cd355997b38bb44]
This is an email from Gamma Telecom Ltd, trading as “Gamma”. The contents of this email are confidential to the ordinary user of the email address to which it was addressed. This email is not intended to create any legal relationship. No one else may place any reliance upon it, or copy or forward all or any of it in any form (unless otherwise notified). If you receive this email in error, please accept our apologies, we would be obliged if you would telephone our postmaster on +44 (0) 808 178 9652 or email [email protected]<mailto:[email protected]>

Gamma Telecom Limited, a company incorporated in England and Wales, with limited liability, with registered number 04340834, and whose registered office is at The Scalpel, 18th Floor, 52 Lime Street, London EC3M 7AF and whose principal place of business is at Kings House, Kings Road West, Newbury, Berkshire, RG14 5BY.
​​​​
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected]<mailto:[email protected]>
To unsubscribe send an email to [email protected]<mailto:[email protected]>
Important: keep the mailing list in the recipients, do not reply only to the sender!

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- [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!
image053708.jpg (image/jpeg, 59.3 KB) - not displayed
image082255.jpg (image/jpeg, 14.2 KB) - not displayed
image595455.jpg (image/jpeg, 19 KB) - not displayed
image434432.png (image/png, 18 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.