[SR-Users] Best SIP reply for service activation

Duarte Rocha duarterocha91 at gmail.com
Tue Feb 9 12:39:19 CET 2021


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/5e56266e/attachment.htm>


More information about the sr-users mailing list