[OpenSIPS-Users] Method Name from 200OK
Bogdan-Andrei Iancu
bogdan at opensips.org
Fri Jun 17 10:58:22 CEST 2016
Hi Rahul,
Even if it is a reply, use $rm - it will extract the method from the
cseq hdr if reply.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 16.06.2016 19:24, Gupta, Rahul wrote:
>
> Nevermind, I can just use is_method(). If there is another easy way to
> get the method name directly in a variable then please share.
>
> Thanks
>
> Rahul Gupta
>
> *From:* users-bounces at lists.opensips.org
> [mailto:users-bounces at lists.opensips.org] *On Behalf Of *Gupta, Rahul
> *Sent:* Thursday, June 16, 2016 11:55 AM
> *To:* users at lists.opensips.org
> *Subject:* [OpenSIPS-Users] Method Name from 200OK
>
> Hi, I am using opensips as stateless proxy. What can I use to find a
> Reply (200 OK) is from which Request Method in onreply_route ? I just
> need Method Name of the reply ?
>
> Thanks
>
> Rahul Gupta
>
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> DISCLAIMER: This e-mail may contain information that is confidential,
> privileged or otherwise protected from disclosure. If you are not an
> intended recipient of this e-mail, do not duplicate or redistribute it
> by any means. Please delete it and any attachments and notify the
> sender that you have received it in error. Unintended recipients are
> prohibited from taking action on the basis of information in this
> e-mail.E-mail messages may contain computer viruses or other defects,
> may not be accurately replicated on other systems, or may be
> intercepted, deleted or interfered with without the knowledge of the
> sender or the intended recipient. If you are not comfortable with the
> risks associated with e-mail messages, you may decide not to use
> e-mail to communicate with IPC. IPC reserves the right, to the extent
> and under circumstances permitted by applicable law, to retain,
> monitor and intercept e-mail messages to and from its systems.
>
>
>
> _______________________________________________
> 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/20160617/13ac47e5/attachment-0001.htm>
More information about the Users
mailing list