phone number based SIP load balance

Hi guys,

I want to load balance SIP traffic based of client’s phone number.Fox example,if phone number is No.1111,then load balance to pool_1;If phone number is No.2222,then load balance to pool_2.How can I write the irule?Thanks.

help!!