[SR-Users] [kamailio/kamailio] SIP Preconditions Settings?

Luis Joel Borrego Soto luisjoelborrego at gmail.com
Wed Oct 6 16:32:40 CEST 2021


Hi Herning,

I didn't found any parameter related to SIP preconditions in that module.

But checking in the Kamailio, in the code we can see that there are some
sentences trying to check "sip precondition" in the module xcap_server.c.

How can we ignore it ?

[image: image.png]

Br,

Joel Borregoo

On Mon, Oct 4, 2021 at 12:17 PM Henning Westerholt <hw at skalatan.de> wrote:

> Hello,
>
>
>
> Kamailio does not handle media on its own (besides rtpengine and other
> services).
>
>
>
> If you want to modify the SDP inside your processed SIP messages, the
> “sdpops” module is one good option.
>
>
>
> Cheers,
>
>
>
> Henning
>
>
>
> --
>
> Henning Westerholt – https://skalatan.de/blog/
>
> Kamailio services – https://gilawa.com
>
>
>
> *From:* sr-users <sr-users-bounces at lists.kamailio.org> *On Behalf Of *Luis
> Joel Borrego Soto
> *Sent:* Friday, October 1, 2021 3:06 PM
> *To:* sr-users at lists.kamailio.org
> *Subject:* [SR-Users] [kamailio/kamailio] SIP Preconditions Settings?
>
>
>
> Hi Team,
>
> According with the RFC3312 (https://datatracker.ietf.org/doc/html/rfc3312)
>
> The SDP parameters are the following
>
> We define the following media level SDP attributes:
>
>   current-status     =  "a=curr:" precondition-type
>
>                         SP status-type SP direction-tag
>
>   desired-status     =  "a=des:" precondition-type
>
>                         SP strength-tag SP status-type
>
>                         SP direction-tag
>
>   confirm-status     =  "a=conf:" precondition-type
>
>                         SP status-type SP direction-tag
>
>   **precondition-type  =  "qos" | token
>
>   strength-tag       =  ("mandatory" | "optional" | "none"
>
>                      =  | "failure" | "unknown")**
>
>   status-type        =  ("e2e" | "local" | "remote")
>
>   direction-tag      =  ("none" | "send" | "recv" | "sendrecv")
>
> Which one should be the equivalent in the Kamailio?, is the a specific
> module?
>
> Br,
>
> Joel Borrego (joel.borrego)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20211006/9a3e3a6b/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 267890 bytes
Desc: not available
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20211006/9a3e3a6b/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xcap_server.c
Type: application/octet-stream
Size: 38695 bytes
Desc: not available
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20211006/9a3e3a6b/attachment.obj>


More information about the sr-users mailing list