I'd like to change the outgoing CALLERID based on the FROM field of the SIP Header.For exemple : When my internal number 4000 make a call, the outgoing CALLERID will be +334 222 222 222And when my internal number 5000 make a call, the outgoing CALLERID will be +334 333 333 333

The FROM field contains my internal number.

I already know how to process the FROM field to obtain the number but I'm stuck after.Can I use an IF statement to do that ?