Multiple "clid_format" patterns in FOP?


I would like to know if it’s possible to define multiple client id number formats in op_server.cfg (clid_format).

Here in Brazil landline numbers have 8 digits, while mobile numbers have 9 digits (and always start with a “9”): I would like to have both appearing as “(xx) xxxx-xxxx” or “(xx) xxxxx-xxxx” accordingly in Flash Operator Panel.

I don’t know if it’s possible to use scripts inside the FOP configuration files. I’m going to try a bit, but if any of you can help me before I screw something up I would appreciate a lot.

Thank you in advance!

FOP has their own forums which you may find to be more helpful. FOP is not a freepbx component.