[SR-Users] Best SIP reply for service activation

Henning Westerholt hw at skalatan.de
Tue Feb 9 13:38:30 CET 2021


Hello,

maybe I am missing something, but what about just using one of the standard reply codes for re-direction – 3xx?

Cheers,

Henning

--
Henning Westerholt – https://skalatan.de/blog/
Kamailio services – https://gilawa.com<https://gilawa.com/>

From: sr-users <sr-users-bounces at lists.kamailio.org> On Behalf Of Duarte Rocha
Sent: Tuesday, February 9, 2021 12:39 PM
To: Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org>
Subject: [SR-Users] Best SIP reply for service activation

Hello,

I'm currently developing a service on Kamailio where it's possible to configure redirections for a subscriber using a code.

In order to implement that client should send an INVITE with a specific code on the Request URI and the redirection is configured.

What should be the best way to answer this INVITE?
    A 200 OK will make the call answered and doesn't seem the best way.
    A negative reply (4/5/6xx) would work, but it seems strange to have the operation concluded with success and answering with a negative reply.
    I found "199 - Early Dialog Terminated" to be suitable, but the documentation suggests it should be used upstream.

Thanks in advance for any suggestion.

Cheers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20210209/e45c3800/attachment.htm>


More information about the sr-users mailing list