chan_sip: Fix type mismatch when the format is changed.