[Serusers] List of authorized UAs, how?

Andres andres at telesip.net
Wed May 4 00:51:39 CEST 2005



Enrique Vadillo wrote:

>Hi all,
>
>I'd like to know if there's some way i can have a list of authorized UAs i am 
>willing to deal with -rejecting all others- using SER.
>  
>
You can use the textops module to search for user agent.  For example

        if (search("User-Agent: Cisco ATA.*")) {
                        sl_send_reply("403", "");
                        break;
        }

>I have noticed that there are some broken UAs like X-Pro v2 and surely some 
>others, that don't even send the BYE and there's no way i can have reliable
>accounting with those UAs.
>
>If anyone has found a way to do this, or has some patch, please lemme know.
>
>Thanks in advance!
>
>Enrique Vadillo.
>
>_______________________________________________
>Serusers mailing list
>serusers at lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
>
>
>  
>

-- 
Andres
Network Admin
http://www.telesip.net





More information about the sr-users mailing list