[OpenSIPS-Users] Convert 183 to 180?

David Villasmil david.villasmil.work at gmail.com
Wed Oct 9 05:42:01 EDT 2019


That’s exactly what it does. You might want to check for the absence of sdp
with

if(has_body("application/sdp"))


On Wed, 9 Oct 2019 at 10:03, solarmon <solarmon at one-n.co.uk> wrote:

> Hi,
>
> Had a quick look at the change_reply_status() function and I'm a bit
> unsure as it suitability for what I am wanting to do.
>
> Our setup has opensips sitting between our system and a SIP provider. The
> 183 is coming from SIP provider and I would like to convert this to 180
> before passing it on to our system.
>
> The documentation for change_reply_status() suggest it is used to
> "Intercept a SIP reply". I am not looking to change a 'reply' to the SIP
> provider, or to our system. I want to convert the 183 message from the SIP
> provider and pass it on as 180 to our system.
>
> Will this  change_reply_status() function allow us to do that?
>
> On Mon, 7 Oct 2019 at 14:23, solarmon <solarmon at one-n.co.uk> wrote:
>
>> Hi,
>>
>> Thanks. I forgot to say that I'm using openSIPS 2.4.x, but the same
>> function is available for it too:
>>
>>
>> https://opensips.org/html/docs/modules/2.4.x/sipmsgops.html#change_reply_status
>>
>>
>> Thanks for the tip!
>>
>>
>>
>> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Virus-free.
>> www.avg.com
>> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>> <#m_1222389664913481817_m_-6109930205533376420_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>
>> On Mon, 7 Oct 2019 at 14:00, Ben Newlin <Ben.Newlin at genesys.com> wrote:
>>
>>> I think you are looking for this:
>>> https://opensips.org/html/docs/modules/3.0.x/sipmsgops.html#change_reply_status
>>>
>>>
>>>
>>> Ben Newlin
>>>
>>>
>>>
>>> *From: *Users <users-bounces at lists.opensips.org> on behalf of solarmon <
>>> solarmon at one-n.co.uk>
>>> *Reply-To: *OpenSIPS users mailling list <users at lists.opensips.org>
>>> *Date: *Monday, October 7, 2019 at 5:15 AM
>>> *To: *OpenSIPS users mailling list <users at lists.opensips.org>
>>> *Subject: *[OpenSIPS-Users] Convert 183 to 180?
>>>
>>>
>>>
>>> Hi,
>>>
>>>
>>>
>>> Our system connected to openSIPS is not handling 183 (with and without
>>> SDP) very well and is non-trivial for us to try to change the behavior. If
>>> we receive an initial 183 without SDP, it does not processed a subsequent
>>> 183 with SDP.
>>>
>>>
>>>
>>> We would like to explore how 183 (with and without SDP) can be converted
>>> to 180 (with and without SDP) see if this can resolve our issues. Can this
>>> be achieved and are there any examples of how this could be done?
>>>
>>>
>>>
>>> Thank you in advance for any help.
>>>
>>>
>>>
>>> [image: Image removed by sender.]
>>> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>>>
>>> Virus-free. www.avg.com
>>> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>>>
>>>
>>> _______________________________________________
>>> 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
>
-- 
Regards,

David Villasmil
email: david.villasmil.work at gmail.com
phone: +34669448337
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20191009/47649970/attachment-0001.html>


More information about the Users mailing list