[OpenSIPS-Users] ACK request uri issue

Adrian Georgescu ag at ag-projects.com
Sat May 31 14:50:04 UTC 2025


You can use store_dlg_value() to save the values of parsed headers like Contact header $ct.fields(uri) and retrieve them later from $dlg_val variable

If you have configured a stateful proxy and have the dialog module loaded the dialogs should be matched automatically.


> On May 31, 2025, at 11:58, Volkan Oransoy <voransoy at gmail.com> wrote:
> 
> Hi Adrian
> 
> Thank you for your reply. I've had a look at the documentation. Can match_dialog function handle this case?
> 
> Thanks
> 
> On Sat, 31 May 2025 at 10:20, Adrian Georgescu <ag at ag-projects.com> wrote:
> You can save using the dialog module, the Contact uri from the 200 OK, then when the ACK comes in, you replace the $ru with the previously saved value.
> 
> > On May 31, 2025, at 10:07, Volkan Oransoy <voransoy at gmail.com> wrote:
> > 
> > Hi all
> > 
> > I am trying to integrate a 3rd party UAC with my Opensips box and have an issue. 
> > The UAC sends an INVITE with an initial request uri and my box replies with 200 OK. 
> > But the subsequent ACK sent by the UAC comes with the same request uri with the INVITE. My box expects the ACK request uri to be the Contact field of the 200 OK. So the ACK routing fails. 
> > How can I rectify this on my end?
> > 
> > Best
> > 
> > --
> > Volkan Oransoy
> > _______________________________________________
> > Users mailing list
> > Users at lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> 
> 
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> 
> 
> -- 
> Volkan Oransoy
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list