The Philippine and Malaysian governments are in talks about how to deal with the deteriorating security situation in the southern Philippines.