[Freeswitch-users] How to reject SIP messages based on user agent?

Lợi Đặng loi.dangthanh at gmail.com
Fri Feb 24 11:26:07 MSK 2017


Hi list, I have a list of user agent regex pattern. For example:
^Asterisk PBX
^Zoiper
^SipP$
The list will have more and more members by time.
All I want is to reject all the SIP messages (not only INVITE) that has
User-Agent header value match any of the pattern in the list. How can I do
that?

I know this can be achieved with a sip proxy placed before FreeSwitch, but
I don't want an additional SIP component for just that.

Any help would be appreciated.
rgds,
Loi Dang Thanh
Phone : +84. 1224.735.448
Email : loi.dangthanh at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170224/17bf8fc9/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list