You can do this under telephony-service that will affect globally or on the ephone templete that can be apply to iphone. and also You can enable phones to provide hook-flash using the following command that enable flash softkey.
config t
telephony-service
fxo hook-flash
create cnf