enhance SIP_PEER function to return additional items (bug #4816)