something like :
1.3. Exported Functions
1.3.1. search(re)
Searches for the re in the message.
Meaning of the parameters is as follows:
re - Regular expression.
Example 1-1. search usage
...
if ( search("[Ss][Ee][Rr]" ) { /*....*/ };
...
you then search after the client you wanna block.
- Atle
* Jimmy Montano <jmontano(a)gmail.com> [041012 00:05]:
Any ideas on how to block some user agents to register
and make calls
through my sip server?
I think is a task for the textops module but have no clue on how to
parse user-agent string
many thanks
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers