Re: out of dialog requests
Henning Westerholt via sr-users <[email protected]>
| Newsgroups | gmane.comp.voip.ser |
|---|---|
| Message-ID | <AS8PR07MB8103AC0F32D605330D9961C9BFEAA@AS8PR07MB8103.eurprd07.prod.outlook.com> |
Hello, have you considered using the dialog module function for that? https://kamailio.org/docs/modules/6.0.x/modules/dialog.html#dialog.f.dlg_refer Cheers, Henning -- Henning Westerholt – https://skalatan.de/blog/ Kamailio services – https://gilawa.com<https://gilawa.com/> From: Robert Boardman via sr-users <[email protected]> Sent: Montag, 13. Oktober 2025 15:23 To: Kamailio (SER) - Users Mailing List <[email protected]> Cc: Robert Boardman <[email protected]> Subject: [SR-Users] out of dialog requests Hi, I'm trying to send a refer from a rtpengine dtmf event, its mostly working but the uac_req_send always seems to append new tags for the from /to even though I specify the origionals in the . The far end uses the tags and the callid to match the dialogs so these need to be in the refer. Example # REFER to callee xlog("L_INFO", "Sending REFER using from uri $var(to_uri)\n"); $uac_req(method)="REFER"; $uac_req(ruri)="sip:"+$var(to_uriU)+"@"+$var(SourceIP); $uac_req(furi)=$var(from_uri)+";tag="+$var(fromTAG); $uac_req(turi)=$var(to_uri)+";tag="+$var(toTAG); $uac_req(callid)=$var(callid); $uac_req(hdrs)="Refer-To:" + $var(conf_uri2) + "\r\nReferred-By: " + $var(to_uri) + "\r\nContent-Length: 0\r\n\r\n"; uac_req_send(); Is this possible? Thanks for your help Regards Rob Robert Boardman Solution Architect Tel: 03330147908<tel:03330147908> Email: [email protected]<mailto:[email protected]> [cid:[email protected]] [cid:[email protected]] [cid:[email protected]] [cid:[email protected]] 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] To unsubscribe send an email to [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender!
image001.jpg
(image/jpeg, 59.3 KB) - not displayed
image002.jpg
(image/jpeg, 14.2 KB) - not displayed
image003.jpg
(image/jpeg, 19 KB) - not displayed
image004.png
(image/png, 18 KB) - not displayed