[OpenSIPS-Users] is_request(), is_reply() functions in OpenSips

Callum Guy callum.guy at x-on.co.uk
Mon Feb 17 21:44:44 EST 2020


Hi,

All replies arrive at a separate route block, configurable during
processing of the parent request.

You can define many reply processing routes and allocate requests to these
at your discretion using t_on_reply("example_a"); or
t_on_reply("example_b"); etc

Docs are here:

https://www.opensips.org/Documentation/Script-Routes-3-0

It's all pretty straightforward once you've taken it for a spin!

Does that help?

Callum

On Mon, 17 Feb 2020 at 19:51, Grant Bagdasarian <grantbagdasarian at gmail.com>
wrote:

> Hello,
>
> My experience is mainly in Kamailio, and I was wondering how to check
> in OpenSips if a message is a request or response? Kamailio exposes
> the functions is_request() and is_reply(), but I couldn't find an
> equivalent in OpenSips.
>
> Thanks and regards,
>
> Grant
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>

-- 





*0333 332 0000  |  www.x-on.co.uk <http://www.x-on.co.uk>  |   ** 
<https://www.linkedin.com/company/x-on>   <https://www.facebook.com/XonTel> 
  <https://twitter.com/xonuk> *


X-on
is a trading name of Storacall 
Technology Ltd a limited company registered in
England and Wales.


Registered Office : Avaland House, 110 London Road, Apsley, Hemel 
Hempstead,
Herts, HP3 9SD. Company Registration No. 2578478.

The 
information in this e-mail is confidential and for use by the addressee(s)

only. If you are not the intended recipient, please notify X-on immediately 
on +44(0)333 332 0000 and delete the
message from your computer. If you are 
not a named addressee you must not use,
disclose, disseminate, distribute, 
copy, print or reply to this email. Views
or opinions expressed by an 
individual
within this email may not necessarily
reflect the views of X-on 
or its associated companies. Although X-on routinely
screens for viruses, 
addressees should scan this email and any attachments
for
viruses. X-on 
makes no representation or warranty as to the absence of viruses
in this 
email or any attachments.










-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20200217/15a13490/attachment.html>


More information about the Users mailing list