[SR-Users] How to distinguish 200 OK that have byed

张顺通 shuntongzhang at gmail.com
Wed Apr 20 08:37:33 CEST 2016


I want to distinguish the Retransmission 200 OK(INVITE), not the first  200
OK(INVITE) or every 200 OK(INVITE)

Every 200 OK will request port from rtpproxy, but The call is byed.
I don't want to request port any more, so to drop it.

2016-04-20 12:06 GMT+08:00 Alex Balashov <abalashov at evaristesys.com>:

> 1. Why would you want to drop it?
>
> ‎2. Any reply has a CSeq value matching the request to which it
> corresponds. So, $rm, method, and is_method() in an onreply_route can all
> be used to test for a BYE.
>
> --
> Alex Balashov | Principal | Evariste Systems LLC
> 1447 Peachtree Street NE, Suite 700
> Atlanta, GA 30309
> United States
>
> Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct)
> Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
>
> Sent from my BlackBerry.
>   Original Message
> From: 张顺通
> Sent: Wednesday, April 20, 2016 00:04
> To: Kamailio (SER) - Users Mailing List
> Reply To: Kamailio (SER) - Users Mailing List
> Subject: [SR-Users] How to distinguish 200 OK that have byed
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160420/97f396f8/attachment.html>


More information about the sr-users mailing list