[OpenSIPS-Users] double sdp.

Jeff Pyle jeff at ugnd.org
Mon Oct 18 21:50:22 EST 2021


Johan,

To avoid problems like this, I call rtpengine_offer() in branch_route on
initial invites, and make sure to call rtpengine_delete() in any failure
route to remove any session from a failed offer that was never used.
Perhaps these will help in your situation as well.


- Jeff


On Mon, Oct 18, 2021 at 11:37 AM Johan De Clercq <Johan at democon.be> wrote:

> Hi,
>
> A and B are on the same proxy.
>
> A calls B,
>     (as I need transcoding I need to call rtpengine_offer here)
> B returns 183 with SDP.
>      (this implies calling rtpengine_answer in onreply_route)
>  B lets the call time out
> On the proxy I intercept the 480 returned by B
> and I change the INVITE so that it point to SEMS
>       (this ismplies calling rtpengine_offer again)
>
> Issue: when you call 2x rtpengine_offer, you end up with a double sdp
> body.
>
> So,
> how can I instruct opensips to overwrite the body instead of appending one
> ?
>
> wkr,
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20211018/f6c41905/attachment.html>


More information about the Users mailing list